FarmAiHelp is an AI-powered decision-support system designed to empower Indian farmers with actionable insights for crop planning.
Every farming season, farmers face a critical decision: which crop to plant. Choosing the wrong crop can lead to low yields, wasted resources, and financial losses. FarmAiHelp tackles this challenge by combining agricultural knowledge, market intelligence, and AI to recommend the most suitable crop for a farmer’s unique conditions.
By analyzing factors such as:
- 🌍 Land size
- 💧 Water availability
- 🌦️ Local weather patterns
- 📊 Current market prices
FarmAiHelp suggests the best crop to cultivate and provides an estimated return on investment (ROI), enabling farmers to maximize profit while using resources sustainably.
- ✅ Support Indian farmers with AI-driven, accessible tools.
- ✅ Optimize agricultural decision-making based on local conditions.
- ✅ Improve farmer incomes through better ROI forecasting.
- ✅ Promote sustainability by matching crop choices with water and climate realities.
- ✅ Bridge the technology gap with a user-friendly web-based platform.
- Introduction
- Project Goals
- Features
- System Architecture
- Tech Stack
- Installation
- Usage
- Configuration
- Example Workflow
- Future Enhancements
- Troubleshooting
- Contributors
- License
- 📊 AI-Powered Crop Recommendations – Personalized crop suggestions tailored to farmer inputs.
- 🌦️ Weather-Aware Planning – Accounts for seasonal climate and rainfall patterns.
- 💧 Resource Optimization – Matches crops with available water and land size.
- 💹 ROI Estimation – Provides projected financial outcomes for informed decision-making.
- 🌍 Localized Insights – Focused on Indian agriculture and market dynamics.
- 💻 Web-Based Interface – Simple, intuitive, and accessible to all farmers.
flowchart TD
A[Farmer Inputs] -->|Land Size, Water, Weather, Market Prices| B[Flask Backend]
B --> C[AI Model - Crop Recommendation Engine]
C --> D[AI Crop Recommender]
D --> E[Frontend - TypeScript + CSS]
E --> F[Farmer Output: Best Crop + ROI]
- Farmer Inputs: Land size, water availability, local weather, market prices.
- Backend (Flask): Handles data preprocessing, model execution, and API endpoints.
- AI Model: Predicts suitable crops based on input parameters.
- AI Crop Recommendations: Estimates financial returns based on crops recommended.
- Frontend (TypeScript + CSS): Displays results in an accessible web UI.
- Backend: Python, Flask
- Frontend: TypeScript, CSS
- AI/ML Models: Python-based recommendation system
- Deployment: Web service (local or cloud-hosted)
git clone https://github.com/AakashMutum/Team-Obsidian---FarmAiHelp.git
cd Team-Obsidian---FarmAiHelppython -m venv venv
source venv/bin/activate # Linux/Mac
venv\Scripts\activate # Windowspip install -r requirements.txtpython app.pyThe app will start at: http://127.0.0.1:5000/
- Open the web app in your browser.
- Enter required details:
- Land size (in acres/hectares)
- Water availability (low, medium, high)
- Weather conditions (season, rainfall)
- Current market prices
- Click Get Recommendation.
- View results:
- ✅ Suggested crop
- ✅ Estimated ROI
- Weather Data: Connect to APIs (e.g., IMD, OpenWeather) for real-time forecasts.
- Market Prices: Integrate with government databases or update manually.
- Model Updates: Retrain periodically with fresh agricultural datasets for improved accuracy.
Inputs:
- Land: 5 acres
- Water: Medium availability
- Season: Monsoon
- Prices: Paddy ₹18/kg, Maize ₹14/kg, Pulses ₹55/kg
Output:
- Recommended Crop: Paddy 🌾
- Estimated ROI: ₹60,000 per season
- 🔄 Multi-crop Planning – Suggest crop rotation for better soil health.
- 📡 IoT Sensor Integration – Use real-time soil and weather sensors.
- ☁️ Cloud Deployment – Scalable solution for nationwide adoption.
- 📈 Market Forecasting – Predict future crop demand and prices.
-
❌ Flask server not starting?
- Check Python version (≥3.8)
- Ensure Flask is installed
-
❌ Model not loading?
- Confirm model files exist in
/modelsfolder
- Confirm model files exist in
-
❌ Frontend not displaying results?
- Check browser console for API errors
- Verify backend is running
This project was developed by Team Obsidian:
This project currently does not include a license.
By default, all rights are reserved by the authors.