https://github.com/lahi-ru/pepper_leaf_disease_detector
A deep learning-based system for detecting diseases in pepper leaves using image processing and CNNs. Trained on healthy and diseased leaf images, this model accurately classifies leaves and can be deployed as a web application.
https://github.com/lahi-ru/pepper_leaf_disease_detector
cnn computer-vision deep-learning image-processing
Last synced: about 1 year ago
JSON representation
A deep learning-based system for detecting diseases in pepper leaves using image processing and CNNs. Trained on healthy and diseased leaf images, this model accurately classifies leaves and can be deployed as a web application.
- Host: GitHub
- URL: https://github.com/lahi-ru/pepper_leaf_disease_detector
- Owner: LAHI-RU
- License: mit
- Created: 2025-02-08T19:22:51.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-08T19:41:05.000Z (about 1 year ago)
- Last Synced: 2025-02-08T20:27:22.218Z (about 1 year ago)
- Topics: cnn, computer-vision, deep-learning, image-processing
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🌿 Pepper Leaf Disease Detection
A deep learning-based system for detecting diseases in pepper leaves using image processing.
## 📌 Features
- Uses **CNN (Convolutional Neural Networks)** for disease detection.
- Supports **multiple types of pepper leaf diseases**.
- Provides a **web-based interface** using **Streamlit**.
- Achieves **high accuracy** (~95% training, ~90% validation).
- Open-source under the **MIT License**.
## 📥 Dataset & Model Download
The dataset and trained model are too large to be stored in this repository.
🔹 **Dataset:** [Download from Google Kaggle](https://www.kaggle.com/datasets/udi17live/black-pepper-leaf-blight-and-yellow-mottle-virus/data)
🔹 **Pre-trained Model:** [Download from Google Drive](YOUR_MODEL_LINK)
Once downloaded, place them in the respective folders:
```
/dataset/ (for images)
/models/ (for trained models)
```
---
## 🚀 Installation
### **1️⃣ Install Dependencies**
Run the following command to install all required dependencies:
```bash
pip install -r requirements.txt
```
---
## 🏋️♂️ Training the Model
To train the model on your dataset, run:
```bash
python train.py
```
---
## 📊 Testing the Model
To predict disease from a sample leaf image:
```bash
python predict.py --image sample_leaf.jpg
```
---
## 🎨 Web App Deployment
To run the Streamlit web application:
```bash
streamlit run app.py
```
---
## 🤖 Model Performance
- **Training Accuracy:** ~95%
- **Validation Accuracy:** ~90%
- **Optimizer:** Adam Optimizer
---
## 📜 License
This project is open-source under the **MIT License**.
---
## 🌐 Links
- 🔗 **GitHub Repository :** [Your Repository Link](https://github.com/LAHI-RU/Pepper_Leaf_Disease_Detector)
- 🎯 **Web App :** [Not Yet](YOUR_DEPLOYMENT_LINK)
---
## 👨💻 Author
Developed by **W G Lahiru Dhananjaya Bandara** 🚀