OpenVision icon indicating copy to clipboard operation
OpenVision copied to clipboard

Read Mode: reliable on-device text reading for BLV / hands-free use

Open rayl15 opened this issue 4 months ago • 1 comments

Goal

Read Mode — a reliable, on-device "read this for me" feature. Point the glasses at text (a sign, label, menu, receipt, mail, screen) and hear it read aloud, or ask a question about it ("what's the total?", "when does this expire?"). Audio-first, hands-free, works offline.

This is the first feature of an accessibility-first direction (see #36 area): OpenVision as the offline, private, open AI "eyes" for the glasses people already own — filling the gap that Be My Eyes (volunteer-only on glasses) and cloud assistants leave.

Why this design (research-grounded)

  • Apple Vision OCR does the reading — deterministic, on-device, cannot hallucinate. The LLM only reasons over already-extracted text, sidestepping the tiny-VLM reliability problem that dominates BLV-assistance research.
  • BLV users prefer detailed answers, but direct answer first for specific questions (Long-Form Answers to VQA from BLV).
  • Abstention is the #1 gap: never guess when the text isn't there — say so and suggest repositioning. False info is especially harmful (users can't verify).
  • Mention image quality only when it explains a failure — don't nag "blurry" every time.
  • Real question patterns from VizWiz (31k real blind-user visual questions) — text-reading dominates.

Behavior

  1. Trigger: "read this / read the menu / what does this say", or a question about visible text.
  2. Capture one frame (click-and-go), OCR it (Apple Vision, .accurate, auto-language).
  3. If clear text found:
    • Bare read request → read the text aloud (reading order).
    • Specific question → answer via the active backend using ONLY the OCR text (grounded + abstain).
  4. If no clear text → abstain with guidance ("hold steady" if blurry, else "move closer / adjust angle"). Never invent text.

Task breakdown

  • [ ] TextReaderService — Apple Vision OCR (ordered lines + confidence) + sharpness score
  • [ ] Read-intent detection + routing in VoiceAgentView.sendCommand
  • [ ] handleReadText: capture → OCR → read-all vs question-over-text → speak, with abstention/guidance
  • [ ] Grounded + abstention prompt for the question path (text-only, backend-agnostic)
  • [ ] History + transcript wiring (reuse existing)
  • [ ] Spec doc (docs/specs/read-mode.md), CHANGELOG, README note
  • [ ] On-device verification (menu, receipt, label, sign)

Backend-agnostic (OCR is local); works on Local/OpenAI/Gemini/OpenClaw/Apple.

rayl15 avatar Jul 17 '26 07:07 rayl15

Closing — Read Mode is parked (see #47). The reliable on-device primitive (Apple Vision OCR) works, but the overall feature didn't earn its complexity vs. the live feed. Branch feat/read-mode keeps the code if we come back to it.

rayl15 avatar Jul 17 '26 13:07 rayl15