lucasguo
projects / allos
complete

Allos

A browser app that flags when a peanut-allergy meal may have been exposed at a food-prep station, using one overhead webcam. It tracks hands with MediaPipe and tongs with ArUco markers, turns overlaps into contact events, and traces each alert back through every touch to the allergen source.

My part

I built the computer-vision pipeline (hand and tong tracking, contact and wash detection, and a height check based on marker size), and helped with the shared event contracts and test scenarios, the engine's main reducer, and the React dashboard.

Event
Hack the Valley 11 · Oct 2026
Language
TypeScript, C++ (Arduino)
Frontend
React 19, Vite
Computer vision
MediaPipe Hand Landmarker, ArUco (js-aruco2)
Hardware
ESP32, Web Bluetooth, Web Serial

Roadmap

  1. Done: KM 1

    Shared Contract

    We built vision, the exposure engine and the dashboard in parallel against one shared TypeScript event contract, with 18 scripted scenarios as tests.

  2. Done: KM 2

    Tracking

    MediaPipe tracks fingertips in the browser at up to 20 fps, and an ArUco marker on each tong arm locates the tong tips against calibrated zones.

  3. Done: KM 3

    Exposure Engine

    An event log tracks potential exposure both ways on each contact and links every record to its parent, so each alert shows the chain back to the source.

  4. Done: KM 4

    Hover vs Touch

    Tongs carried over the plate raised false alerts, so we calculated depth using apparent ArUco marker size: only frames within 8% of its resting size count as touching.

  5. Done: FINISH

    Alerts

    A React dashboard shows each surface's status and the alert chain, and an ESP32 over Web Bluetooth flashes red and beeps until the alert is acknowledged.

Build log