Skip to content

JonatasMSS/Potato_Classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Potato Leaf Classifier

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

Classification

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

How to Use

  1. Upload the potato leaf image you want to classify in the appropriate section.
  2. The model will analyze the image and return the corresponding label.

Example

Send your image below to scan and return the result.

Installation

To run this project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/your-username/potato-leaf-classifier.git
    cd potato-leaf-classifier
  2. Create and activate a virtual environment (optional, but recommended):

    python -m venv env
    source env/bin/activate  # For Windows: env\Scripts\activate
  3. Install the dependencies:

    pip install -r requirements.txt
  4. Run the application:

    streamlit run app.py

Dependencies

  • Python 3.7 or higher
  • Streamlit
  • Matplotlib
  • Numpy
  • Pandas

Project Structure

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)

Links

Streamlit: https://potatoclassifier.streamlit.app/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages