Logo Lanfrica

ashetuasefa80-netizen/plant-disease-detection

Domain:

agriculture

Record type:

software
Creator:
ash
Host:
Plant Disease Detection System - Madda Walabu University # 🌿 Plant Disease Detection System **Madda Walabu University β€” College of Computing** **Department of Computer Science** **Course:** Artificial Intelligence Project **Author:** Morketa Negash (Ugrr/51983/15) **Instructor:** Shume. B --- ## πŸ“‹ Project Overview An end-to-end AI system that detects plant diseases from leaf images using a **Convolutional Neural Network (CNN)** trained on 16,000 images from the PlantVillage dataset. The model is deployed via a **Streamlit** web interface that provides instant diagnosis, confidence scores, and treatment recommendations. **Supported Crops:** Apple Β· Corn Β· Potato Β· Tomato **Total Disease Classes:** 21 (including healthy classes) --- ## πŸ—‚οΈ Project Structure ``` Plant disease detection system/ β”‚ β”œβ”€β”€ app.py ← Main Streamlit web application β”œβ”€β”€ requirements.txt ← Python dependencies β”œβ”€β”€ setup.bat ← One-click setup script (Windows) β”œβ”€β”€ run_app.bat ← Launch the web app β”œβ”€β”€ run_training.bat ← Start model training β”‚ β”œβ”€β”€ model/ β”‚ β”œβ”€β”€ train_model.py ← CNN training script (Chapter 4.4) β”‚ β”œβ”€β”€ predictor.py ← Inference / prediction module β”‚ β”œβ”€β”€ disease_info.py ← Disease database + treatment advice β”‚ β”œβ”€β”€ plant_disease_cnn.h5 ← Saved model (created after training) β”‚ └── class_names.json ← Class index map (created after training) β”‚ β”œβ”€β”€ utils/ β”‚ β”œβ”€β”€ download_dataset.py ← Kaggle dataset downloader β”‚ β”œβ”€β”€ evaluate_model.py ← Metrics + confusion matrix (Table 4.1) β”‚ └── demo_mode.py ← Simulated predictions for UI testing β”‚ └── dataset/ ← PlantVillage images (you add this) β”œβ”€β”€ Apple___Apple_scab/ β”œβ”€β”€ Apple___healthy/ β”œβ”€β”€ Tomato___Late_blight/ └── ... ``` --- ## πŸš€ Quick Start (Windows) ### Step 1 β€” Install & Setup Double-click **`setup.bat`** or run in CMD: ```cmd setup.bat ``` This creates a virtual environment and installs all dependencies …