Git Product home page Git Product logo

imskr / plant_disease_detection Goto Github PK

View Code? Open in Web Editor NEW
271.0 11.0 150.0 89.76 MB

Plant Disease Detector Web Application

License: GNU General Public License v3.0

Dockerfile 0.01% HTML 0.07% Python 0.10% JavaScript 0.04% CSS 0.11% Jupyter Notebook 99.68%
deeplearning fastai pytorch plantdisease plantclassification plantdiseasedetection cnn machinelearning-python machinelearning computervision

plant_disease_detection's Introduction

Plant Disease Detector



Created by Shubham Kumar and other contributors



My Article in TowardsDataScience

Models are trained on the preprocessed dataset which can be downloaded here.

Local Set-Up

Local:

  • It is recommended to set up the project inside a virtual environment to keep the dependencies separated.
  • Activate your virtual environment.
  • Install dependencies by running pip install -r requirements.txt.
  • Start up the server by running python app/server.py serve.
  • Visit http://localhost:8080/ to explore and test.

Docker:

Make Sure the Docker is installed in your local Machine. Click Here to know that how to install Docker.

  • Mac:

    $ git clone https://github.com/imskr/Plant_Disease_Detection.git
    $ cd Plant_Disease_Detection
    $ docker build -t fastai-v3 .
    $ docker run --rm -it -p 8080:8080 fastai-v3

    Go to http://localhost:8080/ to test your app.

  • Windows:

    $ git clone https://github.com/imskr/Plant_Disease_Detection.git
    $ cd Plant_Disease_Detection
    $ docker build -t fastai-v3 .
    $ docker run --rm -it -p 8080:8080 fastai-v3

    Go to http://localhost:8080/ to test your app.

    Note: Windows 10 Pro required.

  • Linux:

    $ git clone https://github.com/imskr/Plant_Disease_Detection.git
    $ cd Plant_Disease_Detection
    $ docker build -t fastai-v3 .
    $ docker run --rm -it -p 8080:8080 fastai-v3
    

    Note: If this doesn't work use --no-cache flag in the build command.

    Go to http://localhost:8080/ to test your app.

Deployment

  • Google Cloud Platform:

    The complete guideline to deploy the Plant Disease Detection App can be found here

  • AWS Elastic BeanStalk:

    The complete guideline to deploy the Plant Disease Detection App can be found here

Server Set-Up (For Training)

  • Google Cloud Platform (Intermediate) - The complete tutorial can be found here

  • Gradient (Easy) - The complete tutorial can be found here

  • AWS EC2 (Advance) - The complete tutorial can be found here

Dataset Description:

Name No of Classes Class Names
Apple 04 'Apple___Apple_scab','Apple___Black_rot','Apple___Cedar_apple_rust' 'Apple___healthy'
Blueberry 01 'Blueberry___healthy'
Cherry 02 'Cherry_(including_sour)Powdery_mildew', 'Cherry(including_sour)_healthy'
Corn 04 'Corn___Cercospora_leaf_spot', 'Corn___Common_rust','Corn___Northern_Leaf_Blight','Corn___healthy'
Grape 04 'Grape___Black_rot','Grape___Esca_(Black_Measles)','Leaf_blight_(Isariopsis_Leaf_Spot)','Grape___healthy'
Orange 01 'Orange___Haunglongbing_(Citrus_greening)'
Peach 02 'Peach___Bacterial_spot','Peach___healthy'
Pepper 02 'Pepper,_bell___Bacterial_spot','Pepper,_bell___healthy'
Potato 03 'Potato___Early_blight','Potato___Late_blight','Potato___healthy'
Raspberry 01 'Raspberry___healthy'
Soyabean 01 'Soybean___healthy'
Squash 01 'Squash___Powdery_mildew'
Strawberry 02 'Strawberry___Leaf_scorch','Strawberry___healthy'
Tomato 10 Tomato: 'Bacterial_spot','Early_blight', 'Late_blight', 'Leaf_Mold', 'Septoria_leaf_spot', 'Spider_mites','Target_Spot', 'Yellow_Leaf_Curl_Virus', 'Mosaic_virus', 'Healthy'

Before making your valuable contribution to this project do check CONTRIBUTING.md file.

Citation

When using any part of this repo, please cite: Plant Village Paper.


Buy Me A Coffee

plant_disease_detection's People

Contributors

aditi1709 avatar agnes-sharan avatar aman-codes avatar arpit0891 avatar chttrjeankr avatar darkmatter18 avatar frozengirl-spd avatar harshmehta2468 avatar imskr avatar ishaan28malik avatar jmuskaan72 avatar mansi145 avatar nikita-sukhwal avatar pa7ri avatar shebinjoseph avatar shibam17 avatar shivam1423 avatar syedareehaquasar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plant_disease_detection's Issues

Design a logo for this app

Is your feature request related to a problem? Please describe.
We need a cool logo for this web application.

This issue is open for everyone, We will select the best one.

Submit the google drive or dropbox link here.

Automatically assign code owners review

Is your feature request related to a problem? Please describe.
Code reviews should automatically assign to PR landed on the codebase.

Describe the solution you'd like
Use CODEOWNERS refer here

Update Readme

Readme can be updated with details of mentors,admins,slack channels and details of gssoc. Please assign me this issue.

Add Deployment on AWS Elasticbeans

Is your feature request related to a problem? Please describe.
Add procedure to deploy this app on AWS elasticbeans in deployment_directory.

Add ISSUE_TEMPLATE

@imskr I am a GSSOC participant and I would like to add an issue template folder with pull request template and a new issue template.
pull request

PR template not working as expected

Describe the bug
The PR template doesn't automatically show when raising a PR.

To Reproduce
Steps to reproduce the behaviour:

  1. Try raising a PR.
  2. The PR description box is blank.

Expected behavior
The PR template should fill up the PR description box when raising a PR.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Ubuntu 18.04.4 LTS
  • Browser: Google Chrome
  • Version: 80.0.3987.149 (Official Build) (64-bit)

Additional context
The path for the PR template should be
.github/pull_request_template.md
instead of
.github/ISSUE_TEMPLATE/pull_request_template.md
for the PR template to work correctly.

update readme

  • create and update ignored file for project
  • create virtual environment for it

How to Run the app folder on terminal

Since I'm new to coding. Could you please tell me how to Run the app folder on terminal so that I can also create the web application for the given model. This is for my research project

Add CODE_OF_CONDUCT.md

Is your feature request related to a problem? Please describe.
No CODE_OF_CONDUCT.md file is present.

Describe the solution you'd like
@imskr As a GSSOC participant I would like to add a CODE_OF_CONDUCT.md file in this project. Using this as a reference.

Additional context

Screenshots

code of conduct1
code of conduct2

Add "fork me on github" to the frontend

Is your feature request related to a problem? Please describe.
We need "Fork me on Github" badge in the corner of web app.

Describe the solution you'd like
Use this and choose the second color.

Update README.MD and Create CONTRIBUTING.md

Is your feature request related to a problem? Please describe.
The README.md file should contain more description about the project and the techstack used.
A separate CONTRIBUTING.md file should be created.

Describe the solution you'd like
I would like to add CONTRIBUTING.md file to include the following mentioned features

  • How to clone the repository
  • Adding reference to the original repository
  • Updating local copy of repository
  • Creating a new branch
  • Pushing commits
  • If possible we can also include some pictures in it for a better look
  • It should also include the link to the pull request template, bug report and feature request template
  • Update README.md to include the link of CONTRIBUTING.md
    @imskr I am a GSSOC participant and I would like to work on it. Please assign me this issue.

PR template link is broken

PR template link is broken.

Steps to reproduce the behavior:

  1. Go to '.github/ISSUE_TEMPLATE'
  2. The pull request template is not found there.
  3. In contributing.md, the link doesn't work out.
  4. See error

Screenshots:
1
2

Desktop (please complete the following information):

  • OS: Windows
  • Browser: chrome

Path is not defined

When ever i tried to run it comes to the error as follows

NameError: name 'Path' is not defined

Update Project Link in README

Problem:
The project website link is down.

Suggestion:
The website link should be working and updated in README file.

Fix layout issue

Describe the bug
Currently, Text, Heading are not properly aligned.

  • Problems:
    • Changing browser size doesn't change the layout
    • Clicking Analyze doesn't display the result (Fixed in #79)

Screenshots
Screenshot from 2020-04-10 00-54-41

Desktop (please complete the following information):

  • OS:Ubuntu 19.10
  • Browser chrome

Add Directory name "deployment_guide"

Add the directory in the root folder and write the gcp_deployment.md GUIDE. In this add complete step by step process to deploy this web app on GCP.
Continuing #6
This is part-2 for issue #6

Make UI more cool using HTML/CSS

Propose the UI with descriptive images here! Multiple Participants can take this. Best UI will get selected. Provide Final picture of your UI mentioning Final

VillagePlant dataset

Great work !!!

  • How many images per classe do you have ?
  • How did you have access to the village plant dataset ?

Best Regards.
Kleyson Rios.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.