🌾 Zameen Dost – Smart Farming Assistant

Inspiration

Millions of farmers in Pakistan lack timely access to crop advice, disease detection, weather forecasts, and market prices. Zameen Dost was built to deliver this knowledge through an AI-powered assistant in both Urdu and English.

What it does

Provides farmers with:

  • Multilingual assistance
  • Crop recommendations
  • Plant disease detection
  • Weather updates
  • Market insights
  • Voice-based interaction for accessibility

How we built it

  • Frontend: Gradio UI
  • Backend:
    • Plant Disease Detection → Roboflow API
    • Weather Forecasting → OpenWeatherMap API
    • Multilingual Q&A → FAISS + Groq LLaMA
    • Voice Support → Whisper + gTTS
  • Knowledge Base: Agricultural PDFs + curated data
  • Deployment: Hugging Face Spaces

Challenges

  • Urdu OCR errors and normalization
  • Limited resources vs. accuracy trade-offs
  • Designing a simple farmer-friendly UI
  • Handling data mismatches across regions

Accomplishments

  • Built a multilingual (Urdu + English) AI assistant
  • Integrated voice input and output for non-literate farmers
  • Unified UI combining multiple farming tools in one app
  • Implemented RAG with FAISS + Groq for Urdu document Q&A
  • Deployed an accessible version on Hugging Face Spaces

What we learned

  • Building multilingual AI systems (English + Urdu)
  • Creating voice-based interfaces for accessibility
  • Implementing RAG with FAISS and Groq LLaMA
  • Managing noisy OCR outputs in Urdu documents
  • Deploying AI systems with limited compute
  • Designing simple, usable interfaces for farmers

What's next

  • Add more agricultural datasets and government schemes
  • Improve disease detection with larger, regional datasets
  • Support offline usage in low-connectivity areas
  • Enhance Urdu NLP with better OCR and translations
  • Provide personalized recommendations (location, crop, weather)
  • Collaborate with agricultural organizations for real-world testing
  • Release a mobile app for wider access

✨ Zameen Dost aims to make farming smarter, more accessible, and sustainable for smallholder farmers in Pakistan.

Built With

  • development
  • faiss
  • for
  • google-drive-(document-ingestion)-**other-tools:**-tesseract-ocr-(urdu-text-extraction)
  • gradio
  • gtts-(text-to-speech)-**apis-&-services:**-roboflow-(plant-disease-detection)
  • jupyter/colab
  • numpy
  • openweathermap-(weather-data)-**platforms-&-deployment:**-hugging-face-spaces
  • pandas-**ai-&-models:**-groq-llama
  • tech-stack-**languages:**-python
  • transformers
  • urdu/english-nlp-**frameworks-&-libraries:**-pytorch
  • whisper-(speech-to-text)
Share this project:

Updates