An AI-powered Plant Disease Detection System built using Deep Learning and the PlantVillage Dataset.
The system detects plant diseases from uploaded leaf images and provides:
- Disease Prediction
- Confidence Score
- Symptoms
- Treatment Suggestions
- Prevention Methods
✅ 38 Plant Disease Classes
✅ MobileNetV2 Deep Learning Model
✅ Flask Backend API
✅ Interactive Frontend (HTML, CSS, JavaScript)
✅ Disease Confidence Visualization
✅ Dark Mode UI
✅ Drag & Drop Image Upload
✅ Real-time Disease Prediction
- Python
- TensorFlow / Keras
- MobileNetV2
- Flask
- HTML
- CSS
- JavaScript
PlantVillage Dataset
Contains 38 plant disease classes across multiple crops including:
- Apple
- Tomato
- Potato
- Corn
- Grape
- Strawberry
- Peach
- Pepper
- Squash
- Soybean
Transfer Learning using:
MobileNetV2
Architecture:
model = Sequential([
base_model,
GlobalAveragePooling2D(),
Dropout(0.3),
Dense(128, activation='relu'),
Dropout(0.3),
Dense(15, activation='softmax')
])
Clone repository:
git clone https://github.com/yourusername/PlantCare-AI.gitInstall dependencies:
pip install -r requirements.txtRun Flask server:
python app.pyOpen browser:
http://localhost:5000Example plant leaf images are included in the project for testing.
- Live camera detection
- Multi-language support
- Disease severity estimation
- Deployment on cloud
- Mobile app integration