## 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:
- Instantly Identify Medications via AWS-powered imprint analysis
- Flag Dangerous Look-Alikes using real-time FDA data cross-checks
- 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
- Imprint Accuracy: Struggled with low-light/angled pill photos
- API Limits: FDA's rate limits forced creative Redis caching strategies
- Chat Hallucinations: Implemented strict prompt engineering to keep AI responses medically conservative
- 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.
Log in or sign up for Devpost to join the conversation.