Inspiration Elderly patients in India often juggle 4–8 medicines with English-only labels and handwritten prescriptions. Wrong medicine, wrong dose, wrong time — and family members have no way to check in without a phone call. Look-alike medicine names (Metformin / Metoprolol) make it worse. PillPaatha was built for Amma and Appa first: big type, Tamil + English, and one clear safety line on every screen — "This app does not replace your doctor."

What it does Take a photo of a medicine strip or a doctor's prescription. PillPaatha reads it on the phone itself (on-device OCR), then Gemini turns the text into a simple dosage schedule in Tamil and English — medicine, dose, timing, food relation — with gentle reminders (Taken / Skip actions) and a caregiver view so a son or daughter at work can see that the morning tablet was taken on time. It never diagnoses and never advises a dose beyond what the prescription itself says.

How we built it Flutter app. Hybrid by design: ML Kit text recognition runs on-device (offline, private, instant); Gemini via Firebase AI Logic (Gemini Developer API) structures the schedule and explains each medicine in plain Tamil + English, with a fenced prompt that may only restate the prescription text; a deterministic local check backstops look-alike name warnings. Reminders use local notifications; schedules sit behind a repository seam so Firestore caregiver sync slots in without screen changes. App Check is enforced for AI Logic. Honest fallback: if Firebase is unreachable, the app runs on a clearly labelled SAMPLE schedule — never presented as real.

Challenges we ran into Release builds failed three times in CI (core-library desugaring for notifications, then R8 missing-class errors from ML Kit's script packs) — fixed by enabling desugaring and declaring the ML Kit script AARs. Designing for elderly users meant rethinking every screen: 16–18px body text, ≥54px buttons, bilingual labels throughout.

Accomplishments that we're proud of A working end-to-end app in two days: photo → OCR → Gemini schedule → reminders → caregiver view, with the safety line on every screen and an honest sample fallback instead of a fake demo.

What we learned Hybrid AI is a design discipline: put deterministic, private work on-device and save the cloud model for understanding and language — and fence the model's prompt so it can never invent medical facts.

What's next for PillPaatha Firestore caregiver sync, Tamil voice read-out of the schedule, and refill reminders.

Built With

Share this project:

Updates

Submission history