KhetSetu is a gamified digital platform designed to educate and motivate farmers to adopt sustainable agricultural practices through interactive challenges, rewards, and community participation. Developed by team Harvest Hackers for Smart India Hackathon 2025.
Despite numerous awareness campaigns, many farmers still rely on unsustainable practices—excessive chemical use, over-irrigation, or mono-cropping—due to habit, lack of training, or limited engagement.
- Lack of Awareness: Limited knowledge of sustainable farming techniques.
- Unpredictable Weather: Climate change affects crop planning and final yields.
- Emergency Handling: Difficulties managing sudden pest outbreaks, floods, or droughts.
- Limited Market Access: Difficulty in selling produce at fair prices and accessing quality tools.
KhetSetu transforms the agricultural experience by integrating technology with gamification to inspire lasting behavioral change.
- Interactive Quizzes: Educational modules that teach sustainable practices in a fun, engaging way.
- Levels & Rewards: Farmers earn XP, badges, and "Eco Points" for completing sustainable tasks.
- Leaderboards: Promotes friendly competition and collaborative farming within the community.
- Weather AI: Real-time detection and forecasting to safeguard crops.
- Crop Health Detector: AI-powered image recognition to identify diseases and suggest treatments.
- Emergency Dashboard: A tiered alert system (Levels 1-3) for immediate danger response.
- Direct Selling: Ease in selling crops at fair market prices[cite: 21, 58].
- Incentivized Buying: Earn discounts on farming tools and fertilizers through earned badges and points.
- Markup & Styling: HTML5, CSS3, Tailwind CSS
- Scripting: Vanilla JavaScript
- Framework: Python · Flask
- Auth & Security: Werkzeug (password hashing, request utilities)
- Production Server: Gunicorn
- Utilities: shortuuid (ID generation), Python
requests
- Engine: SQLite (via Python
sqlite3)
- Model Framework: PyTorch (
torch) - Model Architecture: Vision Transformer —
wambugu71/crop_leaf_diseases_vit(Hugging Facetransformers) - Image Processing: Pillow (PIL)
- Weather Data: WeatherAPI.com (current conditions, 3-day forecast, AQI & alerts)
- Hosting: Render — https://khet-setu.onrender.com
- Economic: Reduces crop loss through early disease detection and ensures fair pricing via the marketplace.
- Environmental: Promotes sustainable farming at scale and reduces dependency on harmful chemicals.
- Social: Builds confidence, community spirit, and digital literacy among rural farmers.
- Governmental: Allows authorities to track farmer progress and increase subsidy awareness.