← All projects

LYME

Composite video, flying through the air on a beam of light — then analyzed in real time by AI.

2026 Finalist · HackTUES 12 · team project GitHub ↗

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

Tech stack

Analog electronics Raspberry Pi Python MediaPipe Qwen2.5-VL Flask Docker

In action

What I'd do differently