This project classifies plant leaf images into 15 distinct categories using a deep learning model built on MobileNetV2. The dataset is taken from the PlantVillage collection.
- Uses Transfer Learning with MobileNetV2
- Data Augmentation for better generalization
- Early Stopping, Model Checkpointing & Learning Rate Scheduling
- Achieves over 93% validation accuracy
15 classes including bacterial spot, early/late blight, mold, viruses, and healthy leaves across pepper, potato, and tomato.
- Base: MobileNetV2 (frozen)
- Custom Dense layers: 1024 β 768 β 512 β Softmax(15)
- Epochs: 25
- Accuracy: ~95% (training), ~93% (validation)
Check the full code in main.ipynb
.
TensorFlow NumPy OpenCV Matplotlib