arpit0891 / Plant-Disease-Detection-Web-application

AI web application that detects diseases in plants using FastAi /resnet34 and other deep learning models.
https://spj.sciencemag.org/plantphenomics/2019/9237136/
75 stars 30 forks source link
hacktoberfest hacktoberfest-accepted

About The Plant Disease Detection Web Application

This web application leverages AI to identify diseases in plants, utilizing the FastAI library built atop Facebook's deep learning platform, PyTorch. It employs an open-access dataset repository for training and validation purposes.

Automated plant disease detection eases the substantial workload entailed in monitoring large agricultural expanses. The application is designed to identify symptoms at an early stage when they manifest on plant foliage.

Motivation

The initiative for this project was drawn from the "PlanVillage" dataset, encompassing an open-access image repository aimed at advancing mobile disease diagnostic solutions for plants. The dataset aggregates 54,309 images across 14 crop species, including but not limited to Apple, Blueberry, and Tomato. It's a rich resource illustrating 17 fungal diseases, 4 bacterial diseases, 2 mold (oomycete) diseases, 2 viral diseases, and 1 mite-induced disease. Additionally, images of healthy leaves from 12 crop species are included to provide a comprehensive view.

Technical Insights

For a deeper dive into the study, visit How Convolutional Neural Networks Diagnose Plant Disease.

Server Set-Up (For Training)

git clone https://github.com/arpit0891/Plant-Disease-Detection-Web-application.git
cd ./Plant-Disease-Detection-Web-application/'Web application'
sudo pip install -r requirements.txt
sudo docker build -t pdd .
sudo docker images --filter reference=pdd
sudo docker run -t -i -p 8080:8080 pdd

MOCK

PDD

Dataset Description:

Name No of Classes Class Names
Apple 04 'Apple_Apple_scab','Apple_Blackrot','AppleCedar_applerust' 'Applehealthy'
Blueberry 01 'Blueberry___healthy'
Cherry 02 'Cherry_(including_sour)_Powderymildew', 'Cherry(including_sour)_healthy'
Corn 04 'Corn_Cercospora_leafspot', 'CornCommon_rust','Corn_Northern_LeafBlight','Cornhealthy'
Grape 04 'Grape_Black_rot','Grape__Esca(Black_Measles)','Leafblight(Isariopsis_LeafSpot)','Grapehealthy'
Orange 01 'Orange__Haunglongbing(Citrus_greening)'
Peach 02 'Peach_Bacterialspot','Peachhealthy'
Pepper 02 'Pepper,_bell_Bacterial_spot','Pepper,bellhealthy'
Potato 03 'Potato_Earlyblight','PotatoLate_blight','Potato___healthy'
Raspberry 01 'Raspberry___healthy'
Soyabean 01 'Soybean___healthy'
Squash 01 'Squash___Powdery_mildew'
Strawberry 02 'Strawberry_Leafscorch','Strawberryhealthy'
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'