Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imskr/plant_disease_detection
Plant Disease Detector Web Application
https://github.com/imskr/plant_disease_detection
cnn computervision deeplearning fastai machinelearning machinelearning-python plantclassification plantdisease plantdiseasedetection pytorch
Last synced: 13 days ago
JSON representation
Plant Disease Detector Web Application
- Host: GitHub
- URL: https://github.com/imskr/plant_disease_detection
- Owner: imskr
- License: gpl-3.0
- Created: 2019-08-10T19:57:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-14T21:32:53.000Z (over 1 year ago)
- Last Synced: 2024-05-02T03:05:55.172Z (7 months ago)
- Topics: cnn, computervision, deeplearning, fastai, machinelearning, machinelearning-python, plantclassification, plantdisease, plantdiseasedetection, pytorch
- Language: Jupyter Notebook
- Homepage:
- Size: 87.7 MB
- Stars: 268
- Watchers: 11
- Forks: 148
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
## Plant Disease Detector
Created by
Shubham Kumar
and
other contributors
## My Article in [TowardsDataScience](https://t.co/iVmRCeUiDI?amp=1)
Models are trained on the preprocessed dataset which can be downloaded [here](https://drive.google.com/open?id=0B_voCy5O5sXMTFByemhpZllYREU).
## Local Set-Up
### Local:
- It is recommended to set up the project inside a virtual environment to keep the dependencies separated.
* [Python](https://realpython.com/python-virtual-environments-a-primer/#why-the-need-for-virtual-environments)
* [Conda](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html)
- 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 to explore and test.### Docker:
*Make Sure the Docker is installed in your local Machine. [Click Here](https://docs.docker.com/install/) to know that how to install Docker*.
- **Mac:**
```bash
$ 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:**
```PowerShell or Command Prompt
$ 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:**
```Terminal
$ 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*](./deployment_guide/gcp_deployment.md)
- **AWS Elastic BeanStalk:**
The complete guideline to deploy the *Plant Disease Detection App* can be found [*here*](./deployment_guide/aws_deployment.md)## Server Set-Up (For Training)
- **Google Cloud Platform (Intermediate)** - The complete tutorial can be found [*here*](https://course.fast.ai/start_gcp.html)- **Gradient (Easy)** - The complete tutorial can be found [*here*](https://course.fast.ai/start_gradient.html)
- **AWS EC2 (Advance)** - The complete tutorial can be found [*here*](https://course.fast.ai/start_aws.html)
## 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](https://github.com/imskr/Plant_Disease_Detection/blob/master/CONTRIBUTING.md) file.
## Citation
When using any part of this repo, please cite: [Plant Village Paper](https://arxiv.org/abs/1511.08060).