Inspiration

Farmers need clear, accessible irrigation advice rather than complex soil charts. thadi AI demonstrates a farmer-first interface in English, Telugu and Hindi for Green Planet problem GP-02.

What it does

Users enter crop, soil, moisture, farm size, irrigation method and pump output. A live Python prediction service estimates water demand. The interface converts demand to litres and total pumping time, then shows a user-limited example session and remaining estimated demand. SMS and motor interactions are simulations.

How we built it

We used HTML, JavaScript, Tailwind CSS and a Python regression tree. The model was trained on 2,400 generated examples and evaluated on a separate 600-example holdout. A cPanel WSGI endpoint serves predictions. Soil-specific demonstration thresholds and a root-zone deficit bound supplement model inference.

Results

Synthetic holdout R²: 0.9949; RMSE: 2.7919 mm; MAE: 1.6852 mm. Training is reproducible with seed 42. Nine backend checks pass for volume conservation, session limits, wet conditions, invalid inputs and sensitivity to acreage and pump flow. These scores measure approximation of synthetic data, not field accuracy.

Challenges and lessons

We separated total water demand from a single pumping session, aligned displayed advice with backend predictions and deployed Python beside a static frontend. Telugu voice was unavailable on the tested device, so voice availability is reported rather than guaranteed.

Limitations

This is an experimental hackathon prototype. Soil constants, root depth and default flow are examples. Weather and power status are sample data; rain input is zero in the UI. There are no connected sensors, real SMS, physical pump control, measured water savings or field validation. Feature bars are illustrative, not SHAP. A full FAO-56 or Richards solver is not implemented.

Next steps

Calibrate with measured soil and pump data, validate on real farms, integrate weather and provide reliable Telugu speech.

AI development disclosure

Gemini assisted with the supplied frontend. ChatGPT/Codex assisted with Python model/backend implementation, debugging, testing and documentation.

Links

Live connected demo: https://thadi.spottedus.com/ Source code: https://github.com/jonnarajkumarreddy/thadi-ai

Built With

Share this project:

Updates

Submission history