Livoa LogoLivoa

FRONTEND LAYER


USER INTERFACE


Flutter / Kotlin Mobile App

  • Voice/Chat Interface (Local Language)

  • Image Upload (Disease Detection)

  • Crop Recommendations View

  • Offline Mode (SQLite Storage)


Mocal or Venle

  • Folitri starting

  • Speech-to-Text bite

  • Text-to-Speech

BACKEND LAYER


(API & DECISION LOGIC)


FastAPI β€” Core integration layer

  • API Gateway for frontend communication

  • Decision Engine β†’ Combines ML results

  • User Feedback Handler

  • Database Access Layer


πŸ—„οΈ PostgreSQL + PostGIS (spatial data)


Docker


GitHub Actions (CI/CD)

DATA & AI LAYER


(MODEL + DATA HANDLING)


Data Sources

  • Soil Data (SoliGrids, Bhuvan)

  • Weather Data (IMD, OpenWeather)

  • Market Data (AGMiRKNET)

  • Image Data (Farmer camera)


Preprocessing

Cleaning, merging, geotagging


ML Models

  • XGBoost – Soil parameter prediction

  • Random Forest - Crop recommendation

  • CNN (TFLite) – Disease detection

  • LSTM/ARIMA – Price forecasting

Step 1: Data Collection


Collects multi-source data from:

  • Soil Data β†’ SoilGrids, Bhuvan

  • Weather Data β†’ IMD, OpenWeather

  • Market Data β†’ AGMARKNET

  • Image Data β†’ Farmer’s mobile (plant disease)

  • IoT Sensors (real-time soil moisture, NPK)

πŸ›  Tools: Python, REST APIs, IoT sensors

πŸ‘₯ Team: Data Engineer + IoT

Step 2: Data Fusion & Storage


Clean, merge, and geotag data

Store spatial data using PostgreSQL + PostGIS

πŸ›  Tools: Python (Pandas, GeoPandas), PostgreSQL + PostGIS

πŸ‘₯ Team: Data Science

Step 3: AI & ML Models


  • XGBoost β†’ Soil parameter prediction (pH, NPK, Moisture)

  • Random Forest β†’ Crop recommendation

  • CNN (TFLite) β†’ Disease detection

  • LSTM/ARIMA β†’ Market price forecasting

πŸ›  Tools: TensorFlow, Scikit-learn, TFLite

πŸ‘₯ Team: AI/ML

Step 4: Decision Engine


Combine soil, weather & market results

Rank crops based on profitability & sustainability

πŸ›  Tools: FastAPI backend, PostgreSQL

πŸ‘₯ Team: Backend + AI

Step 5: User Interface

  • Mobile app with multilingual voice & chat support

  • Offline mode via SQLite

  • Image upload for disease detection

πŸ›  Tools: Flutter / Kotlin, FastAPI, SQLite

πŸ‘₯ Team: App Dev + UI/UX

Step 6: Deployment & Feedback Loop

Deploy using Docker + GitHub CI/CD

Collect farmer feedback β†’ retrain models

πŸ›  Tools: Docker, GitHub Actions

πŸ‘₯ Team: DevOps + QA

Overall Data Flow & Goal

Soil / Weather / Market / Image Data β†’ Data Fusion & Preprocessing β†’ AI Models β†’ Decision Engine β†’ Mobile App β†’ Feedback β†’ Retraining

🎯 Goal: Provide farmers with real-time, localized, profitable, and sustainable crop recommendations.

KrishiNova

by Prachi

0
0 uses