AI-Powered Plant Disease Detection System
PlantGuard AI is a web application that helps farmers and agricultural officers detect plant diseases using AI. Upload a leaf image and get instant disease diagnosis with treatment recommendations.
- React + TypeScript
- Vite
- Tailwind CSS
- shadcn/ui
- Python (FastAPI)
- TensorFlow/Keras for AI model
- SQLite database
- Node.js (v18+)
- Python (v3.9+)
# Clone the repository
git clone https://github.com/doffy074/Agro.git
# Navigate to project directory
cd Agro/plantwise-ai
# Install dependencies
npm install
# Start development server
npm run dev# Navigate to backend directory
cd backend
# Create virtual environment
python -m venv venv
# Activate virtual environment (Windows)
.\venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Start the backend server
uvicorn main:app --reload- 🌱 AI-powered plant disease detection
- 👨🌾 Farmer dashboard for uploading images and viewing predictions
- 👮 Officer dashboard for reviewing and validating predictions
- 🔐 Role-based authentication (Admin, Officer, Farmer)
- 📊 Statistics and analytics
Create a .env file in the root directory with the following:
VITE_API_URL=http://localhost:8000