🚀 An end-to-end intelligent agricultural platform combining Machine Learning, Generative AI, and real-world data to empower farmers with smart decision-making.
CropAI is a next-generation agricultural decision-support system designed to transform traditional farming into a data-driven, intelligent ecosystem.
It integrates:
- 🌍 Satellite Data (NDVI, soil moisture)
- 🌦️ Weather Intelligence (temperature, rainfall, humidity)
- 🧪 Soil Parameters (pH, nutrients)
- 🤖 Generative AI (Gemini + RAG)
- 📊 Machine Learning Models
- 🧠 Acts as a Teacher → Step-by-step farming guidance
- ⚖️ Works as a Decision Engine → Smart crop comparison
- 🏪 Functions as a Marketplace → Buy/Sell ecosystem
- 🚨 Operates as a Crisis Assistant → Emergency handling
- Crop Recommendation System → Suggests optimal crops
- Fertilizer Engine → Provides nutrient guidance
- Profit Prediction Module → ROI estimation
- Market Trend Analysis → Data-backed decisions
- AI Explainer (Teacher Mode) → Simplified step-by-step insights
- Decision Comparison Tool → Multi-factor crop ranking
- Inventory Management System → Track resources
- Equipment Recommendation System → Smart tool suggestions
- Nearby Services Finder → Locate shops & warehouses
- Smart Agri Marketplace → Buy & sell products
- Business Listing Module → Register agri businesses
- Agriculture Feed → Market prices & government schemes
- Crisis Management Companion → Flood, drought, pest guidance
| Layer | Technology |
|---|---|
| Frontend | HTML, CSS, JavaScript |
| Backend | Flask (Python) |
| AI Layer | Gemini API + RAG (ChromaDB) |
| ML Models | Scikit-learn / Custom Models |
| Database | SQLite / PostgreSQL |
| Data APIs | Weather + Satellite APIs |
# Clone the repository
git clone https://github.com/your-username/cropai.git
# Navigate to project folder
cd cropai
# Create virtual environment
python -m venv venv
# Activate environment
# Windows
venv\Scripts\activate
# Mac/Linux
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt