Teaching vision models to read surveillance video: how SPNVR's AI recognition keeps false alarms and costs down
AI recognition on surveillance video used to mean either dedicated boxes that know a few fixed kinds of targets, or so many false alarms that the duty room soon stopped looking. Vision models make it possible to describe what to look for in one sentence, but asking a model about every frame is too slow and too expensive. SPNVR combines both kinds of engine and makes fewer false alarms and controlled costs the default.
Two kinds of engine, each doing what it does best
| Engine | Scenes | Default sampling |
|---|---|---|
| Local real-time detection | Intrusion and fire (needs a local inference service) | One frame every 2 seconds |
| Vision model | Fence climbing, vehicles entering, water level over the line, ponding, floating debris, missing helmets or vests, smoking, people down, crowds, open manhole covers, custom prompts and more | From 1 second to 10 minutes by scene |
| Built-in image quality | Covered, black or lost video | No model needed |
After a local hit you can turn on vision model confirmation: the model checks the frame and only a confirmed hit raises an alarm, which rules out posters, reflections, sunsets, headlights and steam; if the model is unavailable the local result raises the alarm, so nothing is missed.
Any vision model will do
Model services accept any OpenAI-compatible or Anthropic API, with presets for Alibaba Cloud Model Studio (Qwen-VL), Volcano Engine Ark (Doubao vision), Zhipu (GLM-4V), SiliconFlow (DeepSeek-VL2) and self-hosted models (Qwen2.5-VL or DeepSeek-VL2 on vLLM, LMDeploy or Ollama). Where images must not leave the network, a self-hosted vision model is the way to go. API keys are stored encrypted, and Test connection sends a test image and shows the time taken and the tokens used.
Water level: read the gauge, watch the trend
The water level scene asks the model to read the gauge in the picture; set an upper or lower alarm line and the alarm states the reading and the line. The system also works out how fast the level has risen over the last 15 minutes and sends a trend warning as soon as it expects the line to be crossed within 30 minutes; when fire, ponding or a crowd clearly grows in the frame, or people climb, fall, approach danger zones or behave riskily, the alarm is escalated to urgent in place and pushed again.
Fewer false alarms over time: learning from human review
When the duty room marks an AI alarm as false, or confirms and closes it, the task learns: frequent false alarms raise the confidence threshold automatically and long accuracy lowers it slightly, and recent false and confirmed cases are added to the prompt as references so the model rules out similar false alarms.
Costs under control
- Detection zones: draw a polygon on the image and the vision model only sees that area (the rest is greyed out), which cuts both distractions and costs.
- Skip unchanged frames: no model call when the frame is nearly the same as last time, with a forced check at least every 30 minutes.
- Only changes of ongoing targets: when someone keeps standing there or a fire persists, results and snapshots are saved again only when the targets or the picture change noticeably, and one ongoing event produces one alarm.
- Rate limits and daily budgets: each model service has a calls-per-second limit and a daily budget; at the budget its tasks pause until the next day and a system alarm is raised, and Usage and false alarms reports calls, hits, cost and false alarms by channel, scene and service.
Industry scene packs for water utilities, smart parks, construction sites, schools, gas stations, switch and server rooms, and care homes and hospitals create a set of recognition tasks with recommended intervals in one click. See the SPNVR product page for more.