Plant Disease Prediction
Overview:
The Plant Disease Prediction System is a Machine Learning and Computer Vision-based application that helps identify plant diseases by analyzing images of leaves.
Using techniques like image classification and deep learning (CNN models), the system detects whether a plant is healthy or affected by a particular disease and provides the name, cause, and possible remedies.
This project aims to assist farmers, researchers, and agricultural experts in detecting diseases early, preventing crop loss, and improving yield quality through AI-driven diagnosis.
Objectives:
-
To automate the process of detecting and classifying plant diseases from leaf images.
-
To use Machine Learning and Deep Learning models for accurate disease prediction.
-
To provide disease details and treatment suggestions to users in real time.
-
To demonstrate how AI can enhance precision agriculture and reduce manual efforts.
Key Features:
-
Leaf Image Detection: Upload a photo of a plant leaf to detect if it’s healthy or diseased.
-
AI-Powered Disease Classification: Identifies diseases like Leaf Spot, Rust, Blight, Mildew, etc. using CNN models.
-
Real-Time Detection (optional): Supports live camera scanning for instant results.
-
Remedy Suggestions: Displays information about the detected disease and its preventive measures.
-
Dataset Training: Uses large labeled image datasets for training the AI model.
-
Accuracy Metrics: Displays model performance (precision, recall, accuracy).
-
Search by Crop Type: Allows users to select crop category (tomato, rice, maize, etc.) before analysis.
-
Web or Mobile Interface: Simple and responsive UI for farmers and agricultural officers.
-
Admin Dashboard: Manage dataset, monitor predictions, and update remedy information.
-
Offline Mode (optional): Can work on devices without internet by using TensorFlow Lite.
Tech Stack:
-
Frontend: HTML, CSS, Bootstrap, JavaScript
-
Backend: Python (Flask/Django) / Node.js / PHP
-
Machine Learning / Deep Learning:
-
Frameworks: TensorFlow, Keras, PyTorch, OpenCV, NumPy, scikit-learn
-
Model: Convolutional Neural Network (CNN) for image classification
-
Algorithms: Transfer Learning (MobileNet, VGG16, ResNet50)
-
-
Database: MySQL / MongoDB
-
Dataset:
-
Public datasets like PlantVillage or Kaggle Plant Disease Dataset
-
Workflow:
-
Data Collection:
-
Collect a large dataset of healthy and diseased plant leaf images.
-
-
Data Preprocessing:
-
Resize, normalize, and augment images for better model generalization.
-
-
Model Training:
-
Train a CNN model on preprocessed data to classify diseases.
-
-
Prediction Phase:
-
User uploads a leaf image → Model analyzes it → Predicts disease type and probability.
-
-
Result & Recommendation:
-
Displays diagnosis report and remedies for treatment or prevention.
-