lesingo

ADR-0008: Live compact vocabulary overlays

Context

The first learning flow rendered a clickable detection label and opened a modal with vocabulary details. That interaction hid most of the camera context and required a tap before the user could connect an object with its English word.

The detector publishes at approximately 30 frames per second and returns at most five objects. Vocabulary data is local and indexed by normalized detector label, so enriching the compact metadata does not require network access or pixel transfer to JavaScript.

Decision

For every presented detection, the camera ViewModel will resolve its local vocabulary entry and expose one presentation item containing the object and word data. The overlay will show:

The card remains anchored to the bounding box and does not require interaction. Geometry and vocabulary presentation stay bounded at 30 Hz, matching the validated camera and aggregate detector throughput. Repeated empty results stay bounded at 1 Hz.

Long-form examples and text-to-speech remain separate future interactions so the live camera view does not become visually overloaded.

Consequences

Positive

Negative and risks

Alternatives considered

Validation