AgroVision-AI
# πΏ AgroVision AI
### Intelligent Plant Disease Detection System
AgroVision is an AI-powered plant disease detection platform that helps farmers, students, and researchers instantly identify plant diseases using image analysis.
---
## π Features
- πΈ Upload or capture plant leaf images
- π€ AI-powered disease detection using deep learning (MobileNetV2)
- π Confidence score + severity prediction
- π Detailed treatment, cause & prevention suggestions
- π Multi-language support (EN / HI / MR)
- β‘ Fast & responsive UI
---
## π§ Supported Plants
### π Eggplant
- Healthy
- Insect Pest
- Leaf Spot
- Mosaic Virus
- Small Leaf
- White Mold
- Wilt
### π Grapes
- Black Rot
- ESCA
- Healthy
- Leaf Blight
### π Orange
- Citrus Canker
- Nutrient Deficiency
- Healthy
### π₯ Potato
- Early Blight
- Late Blight
- Healthy
### π
Tomato
- Early Blight
- Late Blight
- Leaf Mold
- Healthy
---
## ποΈ Tech Stack
### Frontend
- HTML5
- Tailwind CSS
- JavaScript
### Backend
- FastAPI (Python)
### AI / ML
- TensorFlow
- MobileNetV2 (Transfer Learning)
---
## βοΈ Project Structure
AgroVisionAI/
β
βββ agrovision-frontend/ # Frontend UI
βββ dataset/ # (Not included in repo)
βββ agrovision_model.h5 # Trained model (optional)
βββ disease_info.json # Disease details
βββ main.py # FastAPI backend
βββ train_model.py # Model training script
βββ .gitignore
βββ README.md
---
## π§ͺ How to Run
### 1οΈβ£ Clone Repository
```bash
git clone
github.com
cd AgroVision-AI
### 2οΈβ£ Setup Python Environment
python -m venv agrovision_env
agrovision_env\Scripts\activate
pip install -r requirements.txt
###3οΈβ£ Run Backend (FastAPI)
uvicorn main:app --reload
π Backend runs at:
127.0.0.1
4οΈβ£ Run Frontend
cd agrovision-frontend
npx live-server
π‘ API Endpoint
POST /predict
Request:
Image file (form-data)
Response:
{
"prediction": {
"disease": "Eggplant Insect Pest",
"confidence": 0.87,
"severity": "Moderate"
},
"details": {
"cause": "...",
"treatme β¦