cursorboy

Sleep Vision

A bedside camera that learns how you actually sleep.

Apple Watch biometrics and a live video feed, fused on a sub-100ms timeline, with an LLM that compares each night to published sleep research and tells you what changed.

Personal project, 2024

video ⇄ watch sync
<100ms
on-device
100%

What’s in it

How it works

  1. Capture

    An overhead camera and Apple Watch stream in parallel; heart-rate and motion are fused with the video on a sub-100ms shared timeline.

  2. Extract

    A PyTorch + FFmpeg pipeline pulls real-time features from the feed, movement, position, restlessness, frame by frame.

  3. Explain

    An LLM compares each night against published sleep research and writes plain-language feedback on what actually changed.

Made with PyTorch, FFmpeg, Swift.

Cyber SimLab