Inside AI
← Ideas Lab
Proposed idea / AI Wearables

Give a wearer framing feedback

Proposed enhancement · Use a phone-side cue to tell a maker when a printed target has slipped out of the wearable camera view.

Device profile · Ray-Ban Meta ↗

What the SDK supplies

CameraAccess can display the live stream on the paired phone. The reviewed sample decodes compressed frames to a display surface. A developer adding marker detection would need an analysis-friendly frame path or a suitable decode output, a marker detector and a way to stop analysis when streaming ends. Existing stream pipeline

What to build

Begin with a stationary black-and-white marker and an on-phone visual cue. Track the timestamp of the last decoded frame and the last marker detection separately. After a proposed 750 ms without a detection, show “Target missing”; show “Stream unavailable” instead when frames stop or the session ends. The delay is a starting parameter to test. Create a working preview

What would justify the cue

Use a prerecorded marker clip to test hysteresis and dropped frames. Then compare the same marked assembly task with and without the cue on actual glasses. Count cropped captures and false warnings; reject the change if it repeatedly prompts people while the whole target is visible. Physical baseline

Try a cue rule with synthetic frames

This Python example takes a timestamp and one marker-visible flag per frame in a single preview session. A brief loss produces no cue. A sustained loss produces one, and a long gap between frames resets the timer. We ran the two synthetic inputs below and observed [1400] and an empty list. The 750 ms hold and 400 ms gap are starting values for this example. Tune them against real preview timing, false cues and wearer comfort.

def cue_times(samples):
    missing_since = None
    already_cued = False
    previous = None
    for ms, target_visible in samples:  # One continuous preview session
        if previous is not None and ms - previous > 400:
            missing_since = None  # Unknown interval: do not count lost frames.
        previous = ms
        if target_visible:
            missing_since = None
            already_cued = False
        elif missing_since is None:
            missing_since = ms
        elif ms - missing_since >= 750 and not already_cued:
            yield ms
            already_cued = True

samples = [(0, True), (100, False), (400, True), (600, False),
           (900, False), (1200, False), (1400, False), (1600, False), (1800, True)]
print(list(cue_times(samples)))
print(list(cue_times([(0, False), (1500, False)])))

Primary sources

Meta · Camera session and capture implementation Meta · CameraAccess mock-device instrumentation tests