An open API service indexing awesome lists of open source software.

https://github.com/sayedgamal99/plant-disease-classifier


https://github.com/sayedgamal99/plant-disease-classifier

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# ๐ŸŒฟ Plant Disease Classifier


Project Logo


License
Python
PyTorch
Streamlit


A deep learning-based web application that diagnoses diseases in plant leaves using convolutional neural networks (CNNs).

![Plant Disease Classifier Demo](https://your-repo-url/images/demo.gif)

## ๐Ÿš€ Live Demo

The application is currently deployed and available at:
[https://plant-disease-classifier-cnn.streamlit.app/](https://plant-disease-classifier-cnn.streamlit.app/)

## Video Demonstration



## โœจ Features

- **Instant Disease Detection**: Upload an image of a plant leaf and get immediate diagnosis results
- **Comprehensive Diagnosis**: Provides detailed information on detected diseases, including causes, treatments, and prevention
- **User-Friendly Interface**: Clean, intuitive UI with image previews and visualization of results
- **Multiple Plant Support**: Currently supports tomatoes, potatoes, and bell peppers
- **High Accuracy**: 96.5% accuracy on test datasets
- **Example Images**: Try the application with pre-loaded example images

## ๐Ÿงช Supported Plant Diseases

The model can currently identify the following plants and diseases:

- **Tomato**:
- Healthy
- Bacterial Spot
- Early Blight
- Late Blight
- Leaf Mold
- Septoria Leaf Spot
- Spider Mites
- Target Spot
- Yellow Leaf Curl Virus
- Mosaic Virus

- **Potato**:
- Healthy
- Early Blight
- Late Blight

- **Bell Pepper**:
- Healthy
- Bacterial Spot

## ๐Ÿ”ง Model Architecture

The application uses a custom CNN architecture with the following components:

- 5 convolutional blocks with batch normalization and ReLU activation
- Global Average Pooling
- Fully connected layers with dropout for regularization
- Trained on the PlantVillage dataset with data augmentation techniques
- Achieves 96.5% accuracy on the test set