LYME
Composite video, flying through the air on a beam of light — then analyzed in real time by AI.
Overview
LYME (built with a team for HackTUES 12, where we made the finals) transmits live analog composite video (CVBS) through free air on a laser. A Raspberry Pi acts as the hardware DAC video source; a custom transmitter circuit — DC biasing, AC coupling, and an emitter-follower driver — modulates the laser with the video signal.
On the receiving end, a reverse-biased photodiode feeds a transimpedance amplifier that reconstructs the signal, stabilized by a feedback loop. Getting the recovered video into a computer required winning "the war with impedance": a 75-ohm series terminator hack and careful sync-slicing calibration to make a cheap EasyCap USB capture card cooperate.
On top of the optical link sits an AI security camera: MediaPipe detects people in the live feed in real time, Qwen2.5-VL adds contextual object recognition, and a configurable forbidden-zone intrusion guard raises alerts. It ships as a threaded Python service behind a Flask REST API, with a web UI, an on-frame HUD, snapshot persistence and push notifications over ntfy.sh — all packaged with Docker.
Highlights
- Finalist at HackTUES 12
- Analog TX/RX electronics designed from first principles — bias, coupling, driver, TIA
- Raspberry Pi repurposed as a hardware composite-video DAC (an ESP32 proof-of-concept came first)
- 75Ω series-terminator hack to tame a stubborn USB capture card
- Real-time person detection with MediaPipe on the laser-delivered feed
- Qwen2.5-VL vision-language model for contextual object recognition
- Forbidden-zone intrusion guard with ntfy.sh push alerts and saved snapshots
- Flask REST API, web UI and HUD over a multi-threaded capture pipeline, in Docker
Tech stack
In action
What I'd do differently
- Choosing analog composite video was what made the project possible in the time we had — no clock recovery, no framing, no error correction to build. It also caps the link at whatever a 1950s TV standard can carry, so there is no path from this prototype to anything higher-bandwidth without starting the receiver over.