- 📖Overview
- 🧰Tech Stack
- 🌟Features
- 📊Dataset
- ⚙️Installation
- 🗂️Project Structure
- 📈Results
- 🤝Contributing
- 📝Licence
- 📬Contact
- 🧠Stay Curious!
This project involves training a deep learning model to detect and classify diseases in plant leaves using a well-organized training and testing dataset. The aim is to help farmers and agricultural experts diagnose plant diseases at an early stage — simply by analyzing images of leaves.
The model is built using a Convolutional Neural Network (CNN), a powerful architecture ideal for image classification tasks. It learns from thousands of labeled images of both healthy and diseased leaves and accurately identifies the type of disease in new, unseen images.
With proper training and tuning, the model achieves an accuracy of 92%, demonstrating its ability to generalize well across various types of plant diseases.
- Programming Language: Python
- Libraries & Frameworks:
- NumPy, Pandas - for data manipulation and numerical computations
- TensorFlow - for buliding and training deep leaning models
- Matplotlib - for visulaizing data and model performance
- Streamlit – for creating a user-friendly web interface
- OpenCV (cv2) - for image preprocessing and augmentation
- Utilities: os, glob - for file handling and directory operations
- 🌱 Multi-class Plant Disease Detection – Supports classification across multiple crop diseases.
- 🔍 High Accuracy – Achieves robust performance using CNN-based architecture.
- 🧠 Deep Learning Powered – Built using TensorFlow and trained on real plant disease datasets.
- 🧪 Notebook for Training & Testing – Easily reproducible Jupyter notebook for model development.
- 🛠️ Customizable & Extendable – Easily train on new classes or fine-tune with your dataset.
-
Dataset Name: PlantVillage Dataset
-
Source: PlantVillage on Kaggle
-
License: Open access (for research/non-commercial use)
-
Number of Classes: 38 plant disease categories
-
Image Size: 224x224 pixels
git clone https://github.com/<your-username>/Plant-Disease-Classification-Model.git
cd Plant-Disease-Classification-Model Plant-Disease-Classification-Model
├── frontend/
│ └── plant/ # Frontend files
├── CODE_OF_CONDUCT.md # Contributor behavior guidelines
├── CONTRIBUTING.md # How to contribute to the project
├── LICENSE # Project license
├── PlantDiseaseModel.ipynb # Jupyter Notebook
├── README.md # Project documentation
├── SECURITY.md # Security guidelines
├── plant_based.png
└── web.py # Web app backend The model was trained for 10 epochs and showed consistent improvement in both training and validation accuracy.
Final Training Accuracy: ~92%
Final Validation Accuracy: ~90%
Contributions are welcome! If you'd like to fix a bug,add a feature,improve documentation or raise an issue-our input makes the project better for everyone.
- Fork the repository
- Create a new branch
- Make your changes
- Commit and push your changes
- Create a pull request
Please refer to CONTRIBUTING.md for more details.
This project is licensed under the MIT License - see the LICENSE file for details.
Created with 💻 by @ShikhaMaurya212402
Feel free to reach out: 📧 [email protected] 🚀
Want to dig deeper? Explore the code, raise an issue, or suggest a feature. Your ideas matter!
✨ Pro Tip: Every expert was once a beginner. Keep going — you've got this! 🚀
⬆️ Back to Top • ❤️Show some love • ⭐Star the Repo