This is a potato leaf image classifier that analyzes an image of a potato leaf and verifies if it has blight on its leaf.
Link to the training process => https://colab.research.google.com/drive/1CLsvJmSL7myUr1yaUEafFixt90dUlr9V?usp=sharing
When you input the image, the model will return three possible labels:
- (0) Healthy: Healthy leaf
- (1) Early Blight: Early blight
- (2) Late Blight: Late blight
- Upload the potato leaf image you want to classify in the appropriate section.
- The model will analyze the image and return the corresponding label.
Send your image below to scan and return the result.
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/potato-leaf-classifier.git cd potato-leaf-classifier
-
Create and activate a virtual environment (optional, but recommended):
python -m venv env source env/bin/activate # For Windows: env\Scripts\activate
-
Install the dependencies:
pip install -r requirements.txt
-
Run the application:
streamlit run app.py
- Python 3.7 or higher
- Streamlit
- Matplotlib
- Numpy
- Pandas
potato-leaf-classifier/
│
├── app.py # Main Streamlit application file
├── requirements.txt # Project dependencies list
├── README.md # Project documentation
└── models/ # Directory containing the trained model (if applicable)
Streamlit: https://potatoclassifier.streamlit.app/