Inspiration
Millions of patients in India leave the clinic holding a prescription they can't fully understand: English medical jargon, rushed handwriting, abbreviations like "1-0-1" or "AC/PC". Elderly patients and people who aren't comfortable in English are hit hardest, and a misunderstood dose can mean missed or wrong medication. We wanted to build a bridge between what the doctor writes and what the patient understands. That's why the name: setu means bridge.
What it does
MediSetu turns a photo of a prescription into something anyone can understand.
- Upload a prescription (camera or gallery) and get a plain-language explanation of every medicine: what it's for, the dose, and when to take it.
- Choose your language: English, Hindi, or Hinglish, the way people actually talk.
- Your Daily Schedule: a visual Morning / Afternoon / Night timeline showing which medicines to take and when.
- Add photos of your medicine strips and MediSetu matches each one to the prescription, then shows your own strip in the daily schedule, with a match, no-match, or unclear badge, so the patient knows exactly which one to take.
- Listen: a voice readout for people who can't or don't want to read.
- Safe by design: it explains what the doctor wrote and never diagnoses or suggests doses. Unclear handwriting is flagged for verification instead of guessed, and a "confirm with your doctor or pharmacist" note is always shown.
How we built it
- Frontend: React + Vite + Tailwind CSS, with Framer Motion animations and Lucide icons, designed mobile-first with large buttons and icon-led screens.
- Backend: FastAPI (Python), with image validation and resizing, and API keys kept server-side in
.env. - AI: a vision-capable LLM (Google Gemini) reads the prescription and medicine photos in a single call and returns structured JSON, which the UI renders as cards and a timeline.
- Voice: the browser Web Speech API for text-to-speech in English and Hindi.
- Privacy: no database, no login. We don't store images or results on our server.
- Workflow: we built the whole project with Cursor. We wrote a PRD first, attached it as context, and prompted in small phases (scaffold, mock backend, UI, voice, real AI), testing after each step.
Challenges we ran into
- Getting the model to return reliable structured JSON and to say "unclear" instead of guessing at messy handwriting.
- Matching brand names vs generic names on medicine labels to the prescription.
- Making Hindi and Hinglish voice output sound natural across devices.
- Keeping the product simple enough for non-technical users while fitting a one-day build, so we cut features aggressively.
- Deciding not to build age-based dose suggestions, because wrong dosing is a patient-safety risk.
Accomplishments that we're proud of
- A complete, working flow in a single day: photo in, simple explanation, schedule, and voice out.
- Showing the patient's own medicine photo in the daily schedule, which makes instructions clear even for low-literacy users.
- A responsible-AI approach: explain-only, low-confidence flags, no stored data.
What we learned
- Prompting AI tools in small, tested steps beats one giant prompt.
- Spec-first development (a PRD as context) keeps AI-generated code consistent.
- Good healthcare UX is about removing features, not adding them.
- AI in health needs guardrails as much as it needs accuracy.
What's next for MediSetu
- More regional languages (Marathi, Tamil, Bengali, and others).
- Doctor-view: patient questions translated for the clinician.
- Medicine reminders and alarms.
- Drug-interaction awareness, backed by verified clinical data and pharmacist review.
- Age- and weight-aware dosing guidance, only with a validated medical dataset.
- Validation on a larger set of real prescriptions, and an on-device or privacy-first processing option.
Built With
- fastapi-(python)
- framer-motion
- google-gemini-api
- react
- tailwind-css
- vite
- web-speech-api