Handoff

Smart Glasses Kit — build status

What's done, what's not, and what's next — kept current so the next person can pick this up without asking.

What I made

A FastAPI server that ingests BLE-captured photos per pair of glasses, stores them (SQLite + JPEGs on disk) with sha256 dedup, generates a per-glasses bound secret link, and runs a background worker that sends each photo to an AI vision model for description with retry and refusal handling. 121 backend tests pass.

What I tried

Reverse-engineered the vendor Android SDK to work out the W610's BLE protocol (packet framing, CRC16, JPEG transfer, WiFi-MAC discovery) so the browser can talk to the glasses directly instead of going through a vendor app.

What works

Upload, dedup, per-glasses link binding and status, and AI analysis with retry are implemented and covered by tests. The API server itself is deployable.

What is not done

The browser-side BLE transport (pairing, packet parsing, photo capture in JavaScript) is not yet written, so there is no working end-to-end browser flow against real hardware yet — only the server half. The customer-facing and admin web pages are also not yet built.

Next step

Implement the browser BLE transport (protocol parsing + Web Bluetooth connection), then build the customer viewer page and the admin page, then deploy the full pipeline.