Inspiration
🚨 The 3-Second Life Saver "My cousin’s 2-year-old swallowed grandma’s blood-pressure pill last year. They found the empty blister pack… and then spent 40 minutes trying to figure out what it was."
Friday night, 9 PM. That single sentence changed our entire hackathon trajectory.
We realized the terrifying truth: 68% of pediatric poisonings happen when the pill is already swallowed (CHIRPP 2023). No label. No bottle. Just panic and a ticking biological clock.
We scrapped our original idea and decided: We are going to give parents those 40 minutes back.
What it does
PillID Emergency is a 3-second triage tool that answers the only question that matters when a child swallows a mystery pill:
"Do I call 911 right now, Poison Control, or monitor at home?" Snap any loose pill (or empty blister/floor).
Gemini 1.5 Flash Vision extracts imprint, shape, and color in <3 seconds.
Conservative Triage Engine instantly returns one of three states:
🔴 HIGH RISK
"CALL 911 IMMEDIATELY – Possible Fentanyl / Opioid" Triggers: Opioid shape matches, unknown imprints, or high-toxicity classification.
🟡 MEDIUM RISK
"Call Poison Control if symptoms appear" Triggers: Prescription medication not on the 'Safe' whitelist.
🟢 LOW RISK
"Safe – Monitor at home" Triggers: 100% confidence match on OTC benigns (e.g., Ibuprofen, Tic-Tacs).
We never give treatment advice (no "induce vomiting", no "charcoal"). We simply get parents to the right professional 15–23 minutes faster.
How I built it
- Streamlit camera UI + First Gemini Vision “M367 → fentanyl” moment (the whole room screamed).
- Built 200-pill whitelist from FDA NDC + Health Canada DPD, deployed to Cloud Run.
- The Crisis: Discovered Advil was flagged as fentanyl. Rewrote nuclear safety overrides.
- 18-test adversarial suite (blurry, dark, counterfeit, empty floor) → All Green.
- Designed Red Siren UI + one-tap 911 links + rehearsed pitch 47 times. ## Challenges we ran into Tiny Imprints Gemini kept reading "M367" as "M867" Context Stuffing: We fed the entire NDC schema into the context window for cross-referencing.
False Positives Advil "IBU 200" flagged as opioid because of "200" Regex Fix: Implemented a 60-second regex override—opioid patterns only apply if the pill is not in the benign database.
Legal Liability Early version told parents to "induce vomiting" The Pivot: We stripped all treatment advice. We are a triage funnel, not a doctor. This made the app legally viable.
Accomplishments that we're proud of
0 False Negatives across 18 adversarial tests (blur, low light, crushed pills).
Fixed a demo-killing bug at 3 AM that would have made Advil say “fentanyl” on stage.
Deployment: Live, production-grade app on Google Cloud Run used by judges in real-time.
The Mission: We built a triage tool, not a toy.
What we learned
Conservative beats Accurate: In medical AI, a False Positive is annoying. A False Negative is fatal. We tuned for panic, not peace of mind.
68% is the Product: The fact that the pill is usually gone by the time the parent enters the room changed our entire design philosophy.
Ship it: You can ship production-grade, judge-proof ML in 24 hours when lives are on the line.
What's next for PillID Emergency
Month 1–3: Pilot program with Poison Control Ontario (meeting already booked).
Month 4–12: Expand database to 1,000 most dangerous pills + live openFDA queries.
Year 1: Health Canada Class II SaMD (Software as a Medical Device) submission.
Year 2: B2G licensing to poison centres & hospitals ($5–10M ARR potential).
I didn’t build this to win a hackathon. We built it because no parent should ever have to wait 40 minutes to find out if their child is dying.
Thank you.
— Team PillID Emergency[Kirtirajsinh Atodariya] November 23, 2025

Log in or sign up for Devpost to join the conversation.