A Deep Learning-based web application to detect and classify plant leaf diseases, promoting sustainable agriculture.
This project uses a Convolutional Neural Network (CNN) to identify plant diseases from leaf images. The model predicts the type of disease, helping farmers and agricultural experts take timely action.
- TensorFlow/Keras: To build and train the CNN model for plant disease classification.
- OpenCV: For image preprocessing (resizing, color conversion, and normalization).
- Streamlit: To create an interactive web application for disease detection.
- NumPy: For numerical operations and array manipulations.
β
Identify diseases in plants from uploaded images.
β
Supports multiple plants such as Apple, Corn, Potato, and Tomato.
β
Provides real-time, accurate disease classification.
β
User-friendly interface built with Streamlit.
- Input layer expects images of size 128x128x3.
- The model predicts the disease class using a Softmax activation.
- Trained on a diverse dataset of plant leaf images for improved accuracy.
Clone the repository:
git clone https://github.com/Or4cle404/Plant-Disease-Detection.git
cd plant-disease-detection
- Go to the "Disease Recognition" section of the app.
- Upload an image of a plant leaf.
- Click the "Predict" button.
- View the disease classification and suggested actions.
The model supports a wide range of plant diseases, including:
- Apple___Apple_scab
- Corn_(maize)___Common_rust
- Potato___Early_blight
- Tomato___Late_blight
- And many more!
Special thanks to open-source datasets and libraries that made this project possible!
β¨ Let's build a healthier, more sustainable future for agriculture! β¨