Crop Disease Detector is a deep learning computer vision system built to help farmers and agricultural workers identify plant diseases instantly — just by photographing a leaf. The model can classify 38 distinct disease conditions across 14 common crop types, from apple scab to tomato mosaic virus.
The model is trained on the PlantVillage dataset containing over 87,000 leaf images using MobileNetV2 Transfer Learning — a lightweight but powerful CNN architecture pre-trained on ImageNet. Fine-tuning was performed with data augmentation (random flips, rotation, zoom) to improve generalization on real-world images.
The final model achieves ~97% validation accuracy and is deployed as an interactive web app via Gradio on Hugging Face Spaces — making it freely accessible to anyone with a browser, no setup required.
The system follows a standard deep learning pipeline — data preparation, model training with transfer learning, evaluation, and deployment.
The model is trained to identify 38 classes including both diseased and healthy conditions: