git# Crop Disease Detection System
A web-based crop disease detection system that analyzes plant images to identify diseases and provide information about treatment and prevention.
- Upload or capture plant images for disease detection
- Real-time image analysis with disease identification
- Detailed information on detected diseases with treatment recommendations
- Browse common plant diseases library
- Responsive design for mobile and desktop use
- Python/Flask backend
- HTML, CSS, JavaScript for the frontend
- Bootstrap for responsive design
- Pillow and NumPy for image processing
- Clone the repository:
git clone https://github.com/nitish9592/crop-disease-detection.git
cd crop-disease-detection
- Install the required dependencies:
pip install -r requirements.txt
- Run the application:
python main.py
- Open your browser and navigate to
http://localhost:5000
- Upload a plant image using the file uploader or capture one using your device camera
- The system will analyze the image and identify any diseases
- Review the analysis results with highlighted affected areas
- Get information about the detected disease and treatment recommendations
- Browse the disease library to learn about common plant diseases
app.py
: Main Flask application with routesdisease_detector.py
: Contains functions for plant disease detectionmain.py
: Entry point for the applicationtemplates/
: HTML templates for the web interfacestatic/
: Static assets (CSS, JavaScript, images)
MIT License