## Inspiration
Every year, 7,000+ Americans die from medication errors, with look-alike/sound-alike (LASA) drugs causing 1 in 3 mistakes. As a team with family members impacted by prescription errors, we built Pillmate to transform smartphone cameras into life-saving tools, combining FDA expertise with cutting-edge AI to prevent tragedies before they happen.

## What it does
Pillmate lets users snap photos of unidentified pills to:

  1. Instantly Identify Medications via AWS-powered imprint analysis
  2. Flag Dangerous Look-Alikes using real-time FDA data cross-checks
  3. Explain Drug Safety through an AI chatbot that answers dosage/interaction questions

## How we built it

  • AI Vision Core: AWS Rekognition processes pill images → Python/Flask extracts text
  • Drug Intelligence: Redis-cached FDA API data + BeautifulSoup web scraping
  • Safety Layer: OpenAI analyzes LASA risks in detected medications
  • Frontend: React web app with image upload and chat interface

## Challenges we ran into

  1. Imprint Accuracy: Struggled with low-light/angled pill photos
  2. API Limits: FDA's rate limits forced creative Redis caching strategies
  3. Chat Hallucinations: Implemented strict prompt engineering to keep AI responses medically conservative
  4. Limited data related to LASA: Absence of curated LASA dataset with risk levels

## What we learned

  • Balancing AI speed vs medical accuracy requires architectural tradeoffs
  • Medication data standardization varies wildly between sources
  • Patients prefer visual interfaces over text-heavy medical jargon
  • Healthcare tech demands bulletproof error handling

## What's next for Pill Identification and Drug Safety Chatbot

  • 🚑 Emergency Mode: Auto-alert ERs for high-risk overdoses
  • 🌐 Multilingual Support: Expand to Spanish/Chinese communities
  • 💊 Pill Database 2.0: Add 10,000+ OTC medications
  • 📱 Mobile App: AR overlay for real-time pill identification
  • 🤝 Hospital Pilot: Partner with Boston Medical Center for clinical trials

Vision: Become the "Shazam for Medications" - a household name in prescription safety by 2025.

Share this project:

Updates