digital mandi
AI-Powered Farming for Every Farmer
The problem digital mandi solves
Digital Mandi addresses the critical information gap faced by Indian small and marginal farmers. It transforms a phone into a powerful agricultural consultant through three key pillars:
Inclusive Diagnosis: Existing tools often fail rural users due to language barriers or complex UIs. This project uses "ASHAs First" design principles and regional language support to ensure technology is accessible to all, regardless of literacy or language.
Real-Time Crop Health: Instead of waiting for physical expert visits, farmers use the Flutter-based mobile interface to get instant disease identification (e.g., blight or leaf mold) via high-performance vision models.
Multimodal Market Intelligence: By combining visual data with textual market metadata, the system provides a holistic view of crop value, making price discovery safer and more transparent for the "Digital Mandi" backend.
Challenges we ran into
Infrastructure & Routing Errors: I faced multiple ModuleNotFoundError and AttributeError issues while setting up the FastAPI backend architecture. I overcame these by restructuring the project's absolute imports and correctly initializing the APIRouter to bridge the diagnosis service with the main application.
Multimodal Model Conversion: Converting machine learning models from ONNX to TensorFlow for the "digital mandi" backend required intensive troubleshooting of onnx-tf and tensorflow_probability dependencies to ensure the pipeline remained robust.
Gradle & Kotlin DSL Syntax: While deploying to the Samsung A14, I encountered build failures due to syntax differences between Groovy and Kotlin DSL in build.gradle.kts. I corrected the jvmTarget and noCompress configurations to allow the TFLite model to be memory-mapped correctly.