AI Ingredient Scanner
A multi-agent AI system for analyzing food and cosmetic ingredient safety. Features a Streamlit web interface, React Native mobile app, and RESTful API powered by Google Gemini 2.0 Flash and LangGraph orchestration.
What It Doesโ
The AI Ingredient Safety Analyzer helps users understand product ingredient safety by:
- Parsing ingredient lists from any food or cosmetic product
- Researching each ingredient via vector database and Google Search
- Generating personalized safety reports based on user allergies and skin type
- Providing actionable recommendations (SAFE / CAUTION / AVOID)
Key Featuresโ
Core Capabilitiesโ
- โ Personalized safety analysis based on allergies and skin type
- โ Beginner/Expert explanation modes
- โ Allergen matching with prominent AVOID warnings
- โ Quality validation with automatic retry loop
- โ Session persistence across page refreshes
Mobile App (Phase 2)โ
- ๐ฑ Native camera integration for label scanning
- ๐ Multi-language OCR with auto-translation (9+ languages)
- ๐ Dark/Light theme toggle
- ๐ Expandable ingredient cards with detailed safety metrics
Authentication & User Management (Phase 3)โ
- ๐ Google Sign-In with Firebase Authentication
- ๐ค User profile with ProfileAvatar (photo or initial)
- โ๏ธ PreferencesContext with Firestore sync (debounced)
- ๐ป Guest mode with AsyncStorage fallback
- ๐ In-app Privacy Policy modal
- ๐๏ธ Collapsible Danger Zone for account deletion
Supported OCR Languagesโ
English, French, Spanish, German, Italian, Korean, Japanese, Chinese, Portuguese
Architecture Previewโ
Screenshotsโ
| Web Interface | Mobile App |
|---|---|
| Streamlit dashboard with safety reports | React Native app with camera scanning |
Quick Linksโ
Repositoryโ
๐ฆ GitHub: udaytamma/AiIngredientScanner
Version Historyโ
| Version | Description |
|---|---|
| v3.1.0 | ProfileAvatar, PreferencesContext, Danger Zone, Privacy Modal |
| v3.0.0 | Firebase Authentication, user profiles, premium login UI |
| v2.0.0 | Mobile app, REST API, multi-language OCR |
| v1.0.0 | Initial release with Streamlit web interface |