Vision + reasoning
30 min · Desktop
A security camera that sees and reasons, fully on-device
Detect people, vehicles, and animals, reason about risk with a vision-language model, and never send a frame off the machine.
git clone https://github.com/tetherto/qvac-examples
cd qvac-examples/qvac-smart-camera
npm install
npm startQVAC Smart Camera is an illustrative example that runs object detection and scene reasoning entirely on-device, instead of streaming footage to a company's servers. YOLOv10-M draws color-coded boxes around people, vehicles, animals, and bags in real time; a Qwen3-VL 2B vision-language model then reasons about the scene to assess risk, combined with deterministic rules like brightness analysis for nighttime detection. Flagged events get an on-screen alert, a border flash, an alarm sound, and a logged entry with timestamp, thumbnail, and description.
Prerequisites
Final result
This is an illustrative example, not a QVAC product and not a real security or surveillance system - you're responsible for how you use it, including complying with applicable privacy, recording, and surveillance laws. Fork it from github.com/tetherto/qvac-examples and swap in your own detection classes or risk rules.
MORE LLM RECIPES
Build this
Build this with the QVAC SDK
Everything here runs on-device. Grab the SDK and ship your own version.
npm install @qvac/sdk