Logo Lanfrica

rufilboss/AI-Crop-Doctor

Domain:

agriculture

Record type:

softwaretools
Creator:
ruf
Host:
AI Crop Doctor for African Farmers # 🌾 AI Crop Doctor AI-powered crop disease detection web application for Nigerian farmers. Detect diseases in Maize, Cassava, and Tomatoes with instant results and treatment recommendations in multiple local languages. ## ✨ Features - πŸ” **AI-Powered Detection**: Advanced machine learning models for accurate disease identification - πŸ“Έ **Image Upload & Camera**: Upload images or take photos directly from your device - 🌍 **Multi-Language Support**: Available in English, Hausa, Yoruba, Igbo, and Pidgin English - πŸ’Š **Treatment Recommendations**: Get expert treatment and prevention advice - πŸ“Š **Detection History**: Track your past detections - 🎨 **Beautiful UI**: Modern, responsive design with smooth animations - πŸ“± **Mobile-First**: Optimized for mobile devices ## πŸš€ Quick Start ### Prerequisites - Python 3.8+ - Node.js 18+ - npm or yarn ### Backend Setup 1. Navigate to the backend directory: ```bash cd backend ``` 2. Create a virtual environment: ```bash python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate ``` 3. Install dependencies: ```bash pip install -r requirements.txt ``` 4. Create necessary directories: ```bash mkdir -p models data ``` 5. Run the backend server: ```bash python main.py ``` The API will be available at `localhost` ### Frontend Setup 1. Navigate to the frontend directory: ```bash cd frontend ``` 2. Install dependencies: ```bash npm install ``` 3. Start the development server: ```bash npm run dev ``` The frontend will be available at `localhost` ## πŸ“ Project Structure ``` AI-Crop-Doctor/ β”œβ”€β”€ backend/ β”‚ β”œβ”€β”€ api/ β”‚ β”‚ └── routes/ # API endpoints β”‚ β”œβ”€β”€ models/ # ML model wrappers β”‚ β”œβ”€β”€ services/ # Business logic β”‚ β”œβ”€β”€ schemas/ # Pydantic models β”‚ β”œβ”€β”€ utils/ # Utilities β”‚ └── main.py # FastAPI app β”œβ”€β”€ frontend/ β”‚ β”œβ”€β”€ src/ β”‚ β”‚ β”œβ”€β”€ pages/ # React pages β”‚ β”‚ β”œβ”€β”€ components/ # Re …