Dec 20, 2025

FarmIQ - Farmer's AI Companion

farmiq let'sfarmiq ai ml farm market

FarmIQ is a comprehensive AI-powered agricultural companion designed to bridge the gap between scientific farming techniques and rural agricultural practices. The application provides a suite of intelligence tools to help farmers optimize their yields and reduce resource waste.

Core Features

  • Intelligent Crop Recommendation: The app uses location-specific data (State, District, and Season) along with soil nutrient levels (Nitrogen, Phosphorus, Potassium) to suggest the most suitable crops for a farmer's land. Initially RandomForestClassifier was used then HistGradientBoostingClassifier was used.

  • Scientific Soil Identification: Utilizing the USDA "Feel Method," the app guides farmers through a physical field test (Ball, Ribbon, and Texture tests) to identify soil types and provides tailored management tips.

  • Disease Detection & Management: Farmers can upload photos of their plants to receive instant AI-driven disease diagnosis and treatment advice. CNN model was used for this feature.

  • Resource & Profit Optimizer: A dynamic dashboard that converts traditional "bags of fertilizer" into scientific NPK values, showing farmers where they are wasting money and how to improve their Return on Investment (ROI).

  • Real-time Weather & Market Insights: The platform provides localized weather updates and mock market price data to help farmers plan their sowing and harvesting cycles effectively.

  • Farmer Community: A dedicated space for users to share knowledge, ask questions, and connect with other agricultural practitioners.

Technical Stack

  • Backend: Built with FastAPI for high-performance API routing and data processing.

  • Data Processing: Uses Pandas and Parquet files for lightning-fast lookups of regional agricultural datasets.

  • Machine Learning: Integrates predictive models for crop matching and image-based disease detection using PIL and specialized predictor services.

  • Frontend: Utilizes Jinja2 Templates and Tailwind CSS to deliver a responsive, mobile-friendly interface designed for high-glare outdoor environments.

The "Dynamic Edge"

Unlike standard calculators, FarmIQ focuses on Resource Efficiency. By mapping rural inputs (like bags of Urea) to scientific recommendations, it identifies financial "leaks" in the farming process, helping rural users save money without needing a background in chemistry.

This build was uploaded as a hackathon project

Hackathon

HackSpace

View All Projects
Give a star to encourage!Discussion
Start a new conversation!
Login to join the discussion