Plant-Disease-Classifier

🌿 Plant Disease Classifier

Project Logo

License Python PyTorch Streamlit Accuracy

AI-Powered Plant Disease Detection System
A production-ready deep learning web application that diagnoses diseases in plant leaves using advanced convolutional neural networks (CNNs).

Plant Disease Classifier Demo

πŸŽ₯ Video Demonstration

✨ Features

πŸ§ͺ Supported Plant Diseases

The model can accurately identify the following plants and diseases:

πŸ… Tomato

πŸ₯” Potato

🌢️ Bell Pepper

πŸ”§ Model Architecture

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

πŸ“ˆ Performance Metrics

πŸ› οΈ Technology Stack

Backend & AI

Frontend & Deployment

Development & Production

πŸš€ Quick Start

Prerequisites

Installation

  1. Clone the repository
    git clone https://github.com/Subrata3841/Plant-Disease-Classifier.git
    cd Plant-Disease-Classifier
    
  2. Install dependencies
    pip install -r requirements.txt
    
  3. Run the application
    streamlit run app.py
    
  4. Access the application
    • Open your browser and navigate to http://localhost:8501
    • Upload a plant leaf image or try the example images
    • Get instant AI-powered disease diagnosis

πŸ“ Project Structure

Plant-Disease-Classifier/
β”œβ”€β”€ app.py                          # Main Streamlit application
β”œβ”€β”€ plant_disease_classifier.py     # Core ML model and training logic
β”œβ”€β”€ notebook.ipynb                  # Jupyter notebook for experimentation
β”œβ”€β”€ requirements.txt                # Python dependencies
β”œβ”€β”€ README.md                       # Project documentation
β”œβ”€β”€ models/                         # Trained model files
β”‚   β”œβ”€β”€ best_model.pth             # PyTorch model weights
β”‚   β”œβ”€β”€ class_names.json           # Disease class mappings
β”‚   β”œβ”€β”€ inference_transform.pkl    # Image preprocessing pipeline
β”‚   β”œβ”€β”€ label_encoder.pkl          # Label encoding utilities
β”‚   β”œβ”€β”€ model_config.json          # Model configuration
β”‚   └── plant_disease_model.onnx   # ONNX optimized model
└── images/                         # Assets and examples
    β”œβ”€β”€ logo.png                   # Application logo
    └── examples/                  # Sample test images
        β”œβ”€β”€ tomato_healthy.jpg
        β”œβ”€β”€ Potato_Late_blight.jpeg
        └── Pepper_bell_Bacterial_spot.jpeg

πŸ‘₯ Development Team

Devansh Sengar
ML Engineer & Backend Developer
Udit Jain
AI Researcher & Model Architect
Subrata Mondal
ML Engineer & Backend Developer

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ“ž Support

For questions, issues, or suggestions:

πŸ™ Acknowledgments


🌿 Plant Disease Classifier - Protecting Agriculture with AI 🌿
Β© 2025 All Rights Reserved