Farm Intel is a full-stack platform that provides data-driven insights for modern agriculture. It combines computer vision, environmental data, and rule-based analysis to assist in crop health monitoring, fertilizer planning, and decision-making.
The system is designed to help farmers and agronomists make informed decisions using real-time data and AI-assisted analysis.
It provides:
- Crop disease detection from images
- Soil-based crop recommendations
- Weather-aware decision support
- Fertilizer requirement calculations
- Interactive AI-based assistance
- Image-based crop analysis using vision models
- Identifies possible diseases, nutrient deficiencies, and stress factors
-
Suggests suitable crops based on:
- Soil pH
- NPK values
- Environmental conditions
- Real-time weather data integration
- Forecast-based recommendations and alerts
- Computes required NPK ratios
- Helps reduce overuse of fertilizers
- Provides agricultural guidance and troubleshooting
- Handles user queries related to crops, soil, and environment
-
Centralized interface displaying:
- Weather data
- System modules
- Quick access tools
- React (SPA architecture)
- Vite (build tool)
- Tailwind CSS (styling)
- Framer Motion (animations)
- React Router (navigation)
- FastAPI (Python)
- Uvicorn (ASGI server)
- REST API architecture
- OpenAI (vision + language models)
- OpenWeatherMap API (weather data)
-
User inputs data (image, soil values, or query)
-
Backend processes input through appropriate module:
- Vision model → disease detection
- Rule-based logic → crop/fertilizer recommendation
- API → weather data
-
Results are returned via API
-
Frontend displays actionable insights
- Node.js (v18+)
- Python (3.11+)
- API keys (OpenAI, OpenWeatherMap)
git clone https://github.com/your-username/terra-intelligence.git
cd terra-intelligencepip install -r requirements.txt
python -m uvicorn api.main:app --reload --port 8000npm install
npm run devCreate a .env file:
OPENAI_API_KEY=your_key_here
OPENWEATHERMAP_API_KEY=your_key_here
DEFAULT_CITY=Ernakulam
DEFAULT_COUNTRY=INAvailable at:
http://localhost:8000/docs
terra-intelligence/
├── api/
├── frontend/
├── models/
├── utils/
├── requirements.txt
└── README.md
- Improve accuracy of disease detection models
- Add satellite or drone-based monitoring
- Offline support for low-connectivity areas
- Expand dataset for region-specific recommendations
Joel Pradham AI/ML Engineer | Full-Stack Developer
MIT License