An iOS companion app for Meta Ray-Ban Gen 2 glasses that delivers real-time food intelligence through voice. Point your glasses at a meal or pantry, and EatSmart speaks personalized nutritional and bioactivity insights directly through the glasses — no screen required.
Built on the Meta Wearables Device Access Toolkit (DAT SDK) and powered by the SIS (Smart Ingredient System) backend.
- Pantry scan — capture a photo through the glasses, receive spoken nutritional and bioactivity analysis
- Voice Q&A — ask follow-up questions about what you're looking at; answers are spoken back through the glasses
- Ingredient matching — identifies individual ingredients and retrieves molecular bioactivity data (anti-inflammatory, antioxidant, NRF score, etc.)
- AI recipe generation — generates a recipe from detected ingredients and walks through cooking steps via audio
- Cooking flow — step-by-step audio guidance with pacing controls
- Health goal personalization — tailor recommendations to Cardiovascular, Anti-inflammatory, Blood sugar, Antioxidant support, or General wellness goals
- iOS 17.0+
- Xcode 15.0+
- Swift 5.9+
- Meta Wearables Device Access Toolkit (included)
- Meta Ray-Ban Gen 2 glasses (required for full audio pipeline; mock device available for development)
See SETUP.md for full build and signing instructions.
Quick start:
- Clone this repository
- Open
CameraAccess.xcodeprojin Xcode - Select your iPhone as the target device
- Build and run (
Cmd+R) - Enable Developer Mode on your glasses: Meta AI app → Settings → your glasses → Developer Mode ON
Note: Developer Mode resets after firmware updates — re-enable it after any glasses update.
Meta Ray-Ban Gen 2 (camera + speakers)
│ DAT SDK (MWDATCamera)
▼
iOS App (Swift/SwiftUI)
├── StreamSessionViewModel — glasses connection, photo capture, voice recording
├── SISService — backend API client (multipart/form-data)
└── Views — CameraStreamView, IngredientResultsView, CookingFlowView
│ HTTPS
▼
SIS Backend (Google Cloud Run)
└── /api/sis/* — dish scan, ingredient match, recipe generation, bioactivity data
Base URL: https://sis-621577110242.us-west1.run.app
Key endpoints used by this app:
| Endpoint | Purpose |
|---|---|
POST /api/sis/dish-scan/details |
Nutritional analysis of a food photo |
POST /api/sis/dish-scan/question |
Voice Q&A (photo + audio → spoken answer) |
POST /api/sis/ai/ingredient-photo-match |
Ingredient identification + bioactivity data |
POST /api/sis/ai/recipe-generate |
AI recipe generation from ingredients |
GET /api/sis/dishes/{id} |
Full dish record including bioactivity scores |
See CHANGELOG.md.
Developed by
- Pranav Gupta
- Haoyu Yan
Funded by
This source code is licensed under the license found in the LICENSE file in the root directory of this source tree.