# Delucco

- **Event:** [Meta Global AI Developer Hackathon](https://cerebralvalley.ai/e/meta-ai-developer-hackathon)
- **When:** Oct 26, 12:00 PM – Nov 4, 9:00 PM (EST)
- **Where:** Online
- **Team:** [Eduardo Castro](https://cerebralvalley.ai/u/Delucco)
- **GitHub:** https://github.com/skullkide7/eanproject
- **Demo video:** https://youtube.com/shorts/knjLkealNZQ?feature=share
- **Gallery:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/392

EAN Shopper app is an iOS shopping companion for iPhone and Meta Ray-Ban Display that answers one question instantly: what does this product really cost, right here, right now, and how much does it cost in the competitors? Shoppers scan any supermarket barcode (EAN), or simply ask out loud for a type of product, and get the real price at the nearest store plus nearby competitors, spoken and shown in the device language. It also removes the store-side burden: with always-updated digital prices, supermarkets stop spending enormous time and money reprinting paper tags or running light-beam display technology every day.

  How it works. The iPhone app captures EAN-13 barcodes through a fullscreen always-on camera (native AVCaptureMetadataOutput) or takes a typed or dictated product name. Every price comes from a live Supabase backend seeded by an open-source public supermarket prices scraper (that is limited for one developed for New Zealand for this hackaton) and refreshed daily: 207 stores (58 PAK'nSAVE, 149 New World), 95 cities, ~1.77M price rows across New Zealand. Continuous GPS resolves the nearest store (shown left) and alternatives within 5 km (shown right); pronunciation and UI follow the device locale across 9 languages (EN, ES, ZH, PT, DE, JA, IT, FR, HI) with English fallback.

  Meta glasses integration (DAT SDK 1.0.1). The app attaches four capabilities after session start: Camera (glasses frames share the same Vision-based BarcodeDetector as the phone), Display (a two-card FlexBox price layout pushed to the lenses), Inputs (the physical action button opens the voice searcher; touchpad tap is the fallback; capture events are never hijacked), and Speech (on-glasses ASR in the wearer's language, with a 1.5 s end-of-speech debounce before the query is sent). With glasses on, prices go to the display — not the phone.

  On-device intelligence, honest by design. A hard rule governs the whole pipeline: AI decides what to search, never the price. A three-tier expander classifies specific vs. generic queries (Apple Foundation Models when available, searches product_name via a trigram-indexed ilike filtered by the user's city, reuses the exact scan-resolution path per EAN, and answers one formatted message per real match — or an explicit "not found." iOS enhanced neural voices read the first card completely; a one-time guide helps users download them.

  Status. Working prototype verified on a physical iPhone 17 Pro Max (11 unit-test suites green on device): camera scan, voice search with auto-listen, and mock-device simulation for glasses session with display/input/speech without hardware.

## More from Meta Global AI Developer Hackathon

- [Cozy Peptide](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/389)
- [Zook Team](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/390)
- [CyberBrief](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/391)
- [simyo](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/393)
- [What's Ahead](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/394)
- [Research Workbench](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/395)

---

Markdown version of https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/392. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
