License YOLO
Guides

How to Add AI Analytics to Existing Security Cameras

Three routes to adding AI analytics to existing security cameras: analytics layers, VMS upgrades, or self-hosted models, and the constraints that decide.

Miles Deans14 min read

Listen to this article

Elevated security-camera view of a city intersection with cars, a bus and pedestrians detected by Ultralytics YOLO26, beside three routes: analytics layer, VMS upgrade and self-hosted models

Nearly every organization asking how to add AI to its security cameras already has the answer it needs somewhere in three options, and the mistake is starting from the software instead of the estate. The cameras you own (their resolution at the distances that matter, their angles, their low-light behavior and where their streams can be processed) determine which of the three routes is even available to you.

This guide covers the honest camera audit that comes first, then the three routes: buying an analytics layer that sits over your existing video management system, upgrading the VMS or cameras themselves, and self-hosting detection models on the streams you already have. Most readers should take one of the first two. The third is a real option for a specific set of constraints, and this guide is explicit about which.

Start with the estate, not the software#

An analytics vendor will happily connect to a camera that cannot support the detection you want. Audit before you evaluate.

  • Pixels on target, not megapixels. A 4K camera covering a wide yard may put fewer pixels on a person at forty meters than a 1080p camera covering a doorway. Every detection has a minimum pixel height, and this is the single most common reason a retrofit disappoints.
  • Angle. Cameras positioned for security are usually angled to see faces across a wide area. That is close to the worst geometry for counting and zone logic, where overhead views dramatically outperform oblique ones.
  • Low-light and backlight behavior. Test at dusk, at night, and at whatever hour the sun points into the lens. Infrared illumination changes the image characteristics substantially, and a model evaluated only on daylight footage will surprise you.
  • Frame rate and codec. Heavily compressed low-frame-rate streams lose the detail models rely on. Check what the recorder actually stores versus what the camera can produce.
  • Stream access. Can you get a second RTSP stream per camera without degrading recording? Many cameras support a substream at lower resolution, which is often adequate and much cheaper to process.
  • Network capacity and topology. Continuous analytics on many streams either consumes bandwidth to a central server or requires compute near the cameras. This decides architecture more often than software preference does.
  • Camera age and patch status. Cameras with default credentials on a flat network are a security problem before they are an analytics opportunity.

The output of this audit is usually a split: some cameras are fine for zone and presence detection, fewer are adequate for detailed classification, and a handful need repositioning or replacing regardless of route.

Three routes#

RouteWhat you addBest whenEffortMain limit
Analytics layer over existing VMSA vendor product consuming your existing streamsYou want standard security detections working quicklyLow to moderateConstrained to the vendor's detection catalog
Upgrade VMS or camerasNew platform, often new camerasThe estate is old enough that analytics is not the real constraintHighCapital cost and rollout time
Self-hosted models on existing streamsYour own inference serviceCustom detections, absolute data boundary, or a product you shipHigh, ongoingYou own accuracy, compute and maintenance

Route 1: an analytics layer over your existing VMS#

This is the default recommendation. These products exist specifically to add detection capability to camera estates without replacing them, and for standard security use cases they are faster and cheaper than anything you would build.

BriefCam. A video content analytics layer strongest at rapid review and search across recorded footage, deployable on-premise. Best fit for investigation-heavy environments where finding events in historical video is the main workload. Trade-off: it sits on top of a VMS, adding a component rather than replacing one.

IronYun / Vaidio. An AI analytics layer designed to bring detection to existing cameras and VMS platforms, with a broad catalog of security detections. Best fit for organizations wanting more analytics without touching the recording infrastructure. Trade-off: another vendor in the integration chain to test and maintain.

Lumana. Focused on adding AI to existing camera estates, with attention to the retrofit path itself rather than assuming a greenfield install. Best fit for teams whose explicit requirement is keeping current cameras. Trade-off: a newer entrant relative to the established VMS vendors.

Volt.ai. Similarly oriented to layering AI over existing surveillance infrastructure, with integration guidance as a visible part of its offering. Best fit for organizations retrofitting across mixed camera hardware. Trade-off: as with any overlay, the quality of the result still depends on the underlying cameras.

What you get from all four: standard detections (person and vehicle presence, line crossing, zone intrusion, loitering, object left behind, crowd density, attribute-based search across recorded footage) with support and someone accountable for accuracy. What you do not get: a detection that is not in the catalog.

One scoping note. Several of these products market attribute search across footage, and vendors differ substantially in whether that means matching descriptive attributes such as clothing color or matching identities. Those are materially different capabilities with materially different legal exposure, and it is worth establishing which you are buying and which you actually want. Restricting scope to attribute and event detection, rather than identity, is both a simpler compliance conversation and sufficient for most security workflows.

Route 2: upgrading the VMS or cameras#

Sometimes the honest answer is that the estate, not the analytics, is the constraint. If cameras are old, badly positioned, unpatchable and recording at low frame rates, layering AI over them buys disappointment.

Genetec Security Center. Unified video, access control and ALPR with strong cybersecurity and privacy tooling, deployable on-premise. Best fit for large enterprise and public-sector estates needing unified physical security. Trade-off: substantial platform requiring corresponding expertise.

Milestone XProtect. An open-platform VMS with a large third-party integration ecosystem, so analytics can be selected independently of the recording layer. Best fit for organizations that want to keep that choice open. Trade-off: someone must own the integration assembly.

Avigilon Unity. On-premise video security with built-in analytics and close camera-to-software integration. Best fit for teams wanting a coherent stack from one vendor. Trade-off: strongest when adopting its own cameras.

Verkada. Cloud-managed cameras with built-in analytics and a strong emphasis on ease of deployment and management. Best fit for distributed multi-site organizations with limited on-site IT. Trade-off: cloud-managed architecture, which some data-residency requirements exclude.

Rhombus. Similarly cloud-managed with analytics included, aimed at straightforward multi-site rollout. Best fit for mid-market organizations wanting fast deployment. Trade-off: as above, the cloud model is a constraint where footage must stay local.

Eagle Eye Networks. Cloud video management with an open API approach and analytics options. Best fit for organizations wanting cloud management while retaining integration flexibility. Trade-off: cloud-centric architecture.

Axis Camera Station. Straightforward on-premise video management with Axis cameras and on-camera analytics, with unusually detailed hardware provenance documentation. Best fit for mid-size Axis deployments. Trade-off: less suited to very large multi-site estates than the enterprise platforms.

If a data-residency, air-gap or procurement-restriction requirement is in play, that narrows this list before anything else does.

Route 3: self-hosting models on your existing streams#

This is the minority route, and it is the right one under specific conditions:

  • The detection is not in any catalog. A specific piece of equipment, a facility-specific condition, a process state, a product on a line. Generic security analytics cannot be configured into a novel class.
  • The inference boundary is absolute. Not just storage. No image may leave the network for analysis, including to a vendor's cloud tier.
  • You are shipping a product. If analytics is a feature of something you sell, per-channel licensing does not fit the cost model and you are a builder.
  • Per-channel licensing does not scale at your stream count, and you have engineering capacity to operate an alternative.
  • You need control of the model lifecycle, retraining on your own footage as the site changes rather than waiting on vendor releases.

If none of those apply, take route 1.

The architecture#

Keep the VMS. Recording, retention, access control and audit logging are solved and compliance-relevant. Consume streams from it; do not replace it.

Pull RTSP streams into your own inference service. Prefer the camera substream where resolution allows. It costs far less to decode, and decoding is frequently the real bottleneck rather than inference.

Run detection and tracking. Ultralytics YOLO models (YOLOv8, YOLO11 and YOLO26) cover the relevant tasks: detection for people, vehicles and objects, tracking for line crossing and zone logic, pose estimation for posture and fall detection, segmentation where boundaries matter more than boxes. Export to ONNX or TensorRT for the hardware you are deploying on.

Train on your own footage. A general model handles people and vehicles well. Your specific cameras, angles, weather and lighting decide production accuracy, and public datasets will not represent them. Ultralytics Platform can annotate site footage with SAM-based Smart Annotation and train in the same workflow, which matters when the alternative is stitching annotation and training tools together.

Write events back into the security workflow. Detections belong in the VMS or the alarm management system operators already watch. A separate dashboard becomes a separate thing nobody opens.

Settle licensing before the pilot becomes production. Ultralytics YOLO models are offered under AGPL-3.0, and commercial or proprietary deployments generally require an Ultralytics Enterprise license, which also covers private deployment and advanced support. Resolving this at design time is much cheaper than after a rollout.

Sizing the compute#

Continuous inference across many streams is a capacity planning exercise, and two levers dominate.

The first is frame rate. Most security events do not require every frame. Set the rate from the shortest event you must catch (a person crossing a line needs far less than 30 FPS) and capacity requirements typically drop substantially.

The second is where inference runs. Edge devices near the cameras avoid streaming video across the network and keep footage local, which is often the point. A central GPU server is simpler to operate and manage but concentrates bandwidth demand. Mixed estates commonly do both: edge inference at remote sites, central processing where the network is good.

Benchmark on your own streams and hardware. Model throughput figures measured on curated datasets do not predict what a decode-plus-inference pipeline achieves on your cameras.

False alarms are solved above the model, not inside it#

The most common failure of a self-built system is not poor detection accuracy. It is an alert volume that operators stop responding to within two weeks.

Detections are not events. The layer that converts boxes into alerts is where the false-alarm rate is actually controlled:

  • Persistence. Require a track to be established over several frames before it counts. Single-frame detections are noise.
  • Zone geometry in real-world terms. A polygon drawn on a 2D image is not an area on the ground. Without perspective calibration, a person well outside a hazard zone can appear inside it.
  • Debouncing. One person loitering at a threshold should not generate repeated crossing events.
  • Schedules and exemptions. A forklift in an aisle at 2pm is normal and at 2am is not. Encoding that removes a large fraction of alerts.
  • Escalation tiers. Not every detection deserves an alarm. Live alert, shift summary and weekly trend are three different outputs with three different accuracy requirements.

Expect this layer to be more code than the model integration, and measure the system on false alarms per shift rather than on detection accuracy against a test set. False alarms per shift determines whether the system is still switched on in three months.

Privacy and scope#

Retrofitting analytics onto existing cameras changes what those cameras do, and that usually triggers obligations the original installation did not.

  • Purpose limitation. Cameras installed for security should not silently become productivity or behavior monitoring. In workplace settings this is both a legal issue and a trust issue.
  • Reassess, don't inherit. Adding automated analysis to existing footage generally requires a fresh data-protection assessment, and in much of the EU, works-council consultation.
  • Scope out identity matching. Person and vehicle detection, line crossing, zone intrusion, loitering, crowd density and object-left-behind all work on anonymous detections. Ultralytics does not offer its models for facial recognition, and identity matching carries substantially heavier legal exposure without improving any of those detections.
  • Minimize what you retain. Where events and counts answer the question, keep events and counts.
  • Log viewing and export, not only configuration changes.
  • Segment the camera network. A retrofit is a good moment to fix flat networks and default credentials.

Frequently asked questions

  • Three routes. Buy an analytics layer that consumes your existing streams (BriefCam, IronYun/Vaidio, Lumana or Volt.ai), which is the fastest path for standard security detections. Upgrade the VMS or cameras if the estate itself is the constraint. Or self-host detection models on your existing RTSP streams, which fits custom detections, absolute data boundaries and products you ship. Audit camera resolution, angle and low-light performance first, because that determines which routes are viable.

  • No. The binding constraints are pixels on target at the distance you care about, camera angle, low-light performance and the frame rate actually stored. Expect a split result: many cameras adequate for presence and zone detection, fewer for detailed classification, and some needing repositioning regardless of which route you choose.

  • Usually not. Analytics layers are built to consume streams from an existing VMS, and self-hosted models can read RTSP directly while the VMS continues to handle recording, retention and audit logging. Replacing the VMS makes sense when the platform itself is unsupported, unpatchable or unable to provide stream access.

  • For standard security detections, buy. Per-channel licensing is almost always cheaper than the total cost of building and maintaining a pipeline, which includes GPU capacity, engineering time, annotation, retraining, monitoring and on-call. Building wins when the detection does not exist in any catalog, when licensing does not scale at your stream count, or when analytics is a feature of a product you sell.

  • No, and it is worth scoping out explicitly. Presence, line crossing, zone intrusion, loitering, crowd density and object-left-behind detection all work on anonymous detections. Some vendors market attribute-based search across footage; establish whether that means descriptive attributes or identity matching, because the legal exposure differs sharply. Ultralytics does not offer its models for facial recognition.

  • Edge inference near the cameras avoids sending video across the network and keeps footage local, which is frequently the requirement driving the project. A central GPU server is easier to operate and monitor but concentrates bandwidth demand. Mixed estates commonly run edge inference at remote sites and central inference where the network supports it.

  • It has to be measured, because it depends on resolution, model size, inference frame rate and how much of the budget goes to video decoding rather than inference. The most effective lever is frame rate: setting it from the shortest event you must catch, rather than the camera's maximum, typically increases stream capacity substantially. Benchmark on your own streams before sizing hardware.

  • Almost always because the logic above the model is missing rather than because detection is poor. Add persistence requirements over multiple frames, calibrate zone geometry to real-world coordinates, debounce repeated crossings, and encode schedules and exemptions. Then measure false alarms per shift, which is the number that decides whether operators keep trusting the system.

Written by

Miles Deans
Miles Deans

SEO Lead · Ultralytics

Miles Deans is the SEO Lead at Ultralytics, based in London, where he drives the company's search strategy and organic growth. He previously held roles at Adobe, Kaizen, and Virgin Media O2.

Comments

Ask a question, share your results, or help someone else.

Similar articles

Train, validation and test splits for computer vision: ratios, class balance and leakage

Train, validation and test splits for computer vision: ratios, class balance and leakage

Start at 70/15/15, split by camera or clip, check every class in every split, and score val and test separately with Ultralytics YOLO and Platform.
Learn more
Document layout analysis datasets for historical pages, and why old prints are hard

Document layout analysis datasets for historical pages, and why old prints are hard

Six historical document layout analysis datasets on Ultralytics Platform, from The History of England to a 15th-century music manuscript, compared.
Learn more
How to choose an edge AI device for computer vision, with measured Ultralytics YOLO26 results

How to choose an edge AI device for computer vision, with measured Ultralytics YOLO26 results

Measured YOLO26 results on Jetson, DGX Spark, Raspberry Pi 5 with Hailo-8 or DEEPX, RK3588, Snapdragon, iPhone, Apple M4 and STM32, each with its setup.
Learn more
Ultralytics Platform export options for YOLO26n: TensorRT for a Jetson Orin Nano Super at 4.57 ms and NCNN for a Raspberry Pi 5 CPU at 67.03 ms, from separate published benchmarks

Jetson Orin Nano Super vs Raspberry Pi 5 for YOLO26 object detection

YOLO26n inference: 4.57 ms on a Jetson Orin Nano Super (TensorRT FP16) vs 67.03 ms on a Pi 5 CPU, in separate tests. Choose by model, FPS and cameras.
Learn more
Ultralytics cover for the Azure Custom Vision migration checklist: the Ultralytics Platform New Dataset dialog with a panel mapping Custom Vision detection projects, tagging, training iterations and prediction endpoint to Platform datasets, annotation editor, cloud training and dedicated endpoints

Azure Custom Vision is retiring: a migration checklist for your vision models

Azure Custom Vision retires on September 25, 2028. Plan your migration, export your labeled data and retrain on Ultralytics Platform.
Learn more
Ultralytics Platform export list with the NCNN row highlighted above MNN, the format recommended for running YOLO26 on a Raspberry Pi 5 CPU

Raspberry Pi object detection: YOLO26 on a Pi 5 CPU, no accelerator

YOLO26n runs at 67.03 ms per image with NCNN on a Raspberry Pi 5 CPU, and Arm's open-source runtime measures 36.60 ms in its own test. Here's how to run both.
Learn more
Ultralytics licensing page showing the free AGPL-3.0 card and the paid Ultralytics Enterprise License card

Is Ultralytics YOLO free for commercial use? AGPL-3.0 vs the Enterprise License

Ultralytics YOLO is free under AGPL-3.0 if you open-source your whole project. Compare licensing for internal tools, SaaS and devices.
Learn more
Ultralytics security page cards for ISO/IEC 27001:2022 and SOC 2 Type I, with Ultralytics Platform workspace roles in front, on a gold gradient cover titled Regulated industries

Computer vision for regulated industries: an Ultralytics security review checklist

A security review checklist for computer vision in regulated industries: SOC 2 and ISO 27001 scope, on-premise and air-gapped options, privacy and SLAs.
Learn more
The Ultralytics Platform SAM smart annotation editor segmenting boxes on a warehouse conveyor, with a Batch Annotation estimated cost of $0.05 for 49 images

Budgeting for Image Annotation: Seats, AI and Exports

Compare image annotation software costs, free-plan limits and AI allowances. Estimate software and project costs with a worked three-person team example.
Learn more
Aerial view of a busy intersection with cars boxed by Ultralytics YOLO26s using 640-pixel tiles, dashed lines marking the tile seams

Small object detection with image tiling in Ultralytics YOLO, from Python to Rust

See when image tiling helps YOLO detect small objects, compare its costs, and run built-in tiled inference in Python or Rust without SAHI.
Learn more
A confusion matrix from model evaluation in Ultralytics Platform, beside compare workflows: no-code, developer control and edge export

Best platforms for training custom image classifiers

Image classifier training platforms compared: no-code AutoML, developer platforms and edge tools, and how to choose by control, deployment and cost.
Learn more
A rendered street scene with a bus, cars and people carrying pixel-perfect segmentation labels, beside three methods: simulation, generation and augmentation

Best synthetic data tools for computer vision training

Synthetic data tools for computer vision compared by method: 3D simulation, generative models and augmentation, and how to test them with Ultralytics YOLO.
Learn more
Missing PPE detection: train Ultralytics YOLO on Construction-PPE

Missing PPE detection: train Ultralytics YOLO on Construction-PPE

See how Construction-PPE labels missing helmets, vests and gloves, then train Ultralytics YOLO to detect missing PPE on your own site cameras.
Learn more
Drone detection dataset guide: train Ultralytics YOLO on tiny UAVs

Drone detection dataset guide: train Ultralytics YOLO on tiny UAVs

Compare DUT Anti-UAV, Drone-vs-Bird and thermal drone detection datasets, then train Ultralytics YOLO26 to find tiny drones and cut false alarms.
Learn more
A YOLO26 depth estimation prediction in Ultralytics Platform showing a dense depth map of a street scene with a bus, with timings and depth range

Best Depth Estimation Models: How to Choose

Compare monocular depth models such as Depth Anything, Depth Pro, Metric3D, UniDepth and Ultralytics YOLO26 for metric depth, edge devices and robotics.
Learn more
Two leaves classified as healthy and rust by an image classification model, with confidence scores

Best Image Classification Models: How to Choose

Compare the leading image classification models, from ConvNeXt V2 and DINOv3 to EfficientNetV2, ViT and Ultralytics YOLO26-cls, and learn how to choose.
Learn more
YOLO26 semantic segmentation of a street scene with a bus and people in Ultralytics Platform, each class shown in its own color

Semantic vs Instance Segmentation: How to Choose the Right Task

Semantic segmentation labels every pixel by class; instance segmentation separates each object. Learn which one your computer vision project needs, and why.
Learn more
An engineer with a tablet beside industrial machinery, beside the costs beyond compute: data and labeling, cameras and hardware, integration and operations

What Enterprise Computer Vision Costs: A TCO Framework

A total-cost framework for enterprise computer vision covering data, annotation, cameras, edge hardware, training, inference, integration and retraining.
Learn more
Ultralytics Platform deployment monitoring showing total requests, active deployments and a ready YOLO26 segmentation endpoint

Computer Vision Inference at Scale: Seven Platforms Compared

Seven computer vision inference platforms compared: Azure ML, KServe, NVIDIA Triton, Roboflow, SageMaker AI, Ultralytics and Vertex AI, on latency and scale.
Learn more
Ultralytics Platform SAM smart annotation outlining a leopard, beside two different jobs: propose labels and select useful frames

How to Label Less: Auto-Labeling and Active-Learning Tools Compared

Ten auto-labeling and active-learning tools compared: CVAT, Encord, Label Studio, Labelbox, Lightly, Roboflow, SuperAnnotate, Ultralytics, V7 and FiftyOne.
Learn more
Metal castings on a conveyor with cracks and damaged parts detected, a magnified crack, and what to test: accuracy on your images, edge deployment and licensing

Choosing a Computer Vision Vendor: An Enterprise Procurement Guide

A procurement view of eight computer vision vendors: AWS, Azure, Cognex, Encord, Landing AI, NVIDIA, Roboflow and Ultralytics, with licensing checks.
Learn more
An edge computing board with a processor, beside where inference runs: managed endpoint, own hardware or hybrid

Managed Cloud vs Self-Hosted Computer Vision Deployment

Compare managed cloud and self-hosted computer vision deployment on cost, latency, data boundaries, scaling and exit risk, with three deployment patterns.
Learn more
A parcel on a modern conveyor detected by Ultralytics YOLOE, beside production readiness steps: validate, integrate, assign owners and monitor

Scaling Computer Vision from Pilot to Production

Six stage gates for taking computer vision from pilot to production, covering coverage matrices, workflow validation, model operations and site readiness.
Learn more
Bottles on a high-speed bottling line under an inspection camera, each detected by Ultralytics YOLO26

Computer Vision Platforms for Manufacturing: YOLO, Cognex and Keyence Compared

Compare computer vision platforms for manufacturing: Cognex, Edge Impulse, Keyence, Landing AI and Ultralytics YOLO, on inspection and MES fit.
Learn more
An Ultralytics Platform dataset gallery of labeled wildlife images, beside the question service or software: managed labeling or annotation software

Scale AI Alternatives for Data Labeling

Alternatives to Scale AI for vision data labeling: iMerit, SuperAnnotate and Ultralytics Platform, compared on cost, control, ramp time and data handling.
Learn more
Overhead view of people passing ticket gates in a bright concourse, detected by Ultralytics YOLO26, beside the four people-counting measurements: entries, occupancy, dwell time and queues

How People Counting and Occupancy Analytics Actually Work

How people counting and occupancy analytics work: comparing WiFi, ToF, thermal and camera-based vision methods, the products available, and how to build it.
Learn more
An industrial robot lifting a tyre from a stack in a warehouse, with the tyre detected by Ultralytics YOLOE

Vision-Guided Robotics for Assembly and Pick-and-Place

How vision-guided pick-and-place works across sensing, perception, calibration, grasp planning, motion and recovery, with a 2D versus 3D decision guide.
Learn more
Cherries segmented with precise polygon labels, beside who owns label quality: guidelines, review and a gold-standard set

Annotation Outsourcing vs In-House: The Real Trade-offs

Compare outsourced and in-house computer vision annotation on cost per usable label, ramp time, quality, security and the hybrid model most teams reach.
Learn more
PyTorch vs TensorFlow for computer vision projects

Choosing between PyTorch vs TensorFlow for computer vision projects

Compare PyTorch vs TensorFlow for computer vision across ease of use, flexibility, deployment, and scalability, and see how each fits Ultralytics YOLO.
Learn more
Supervised vs unsupervised learning in computer vision

Exploring supervised vs unsupervised learning in computer vision

Learn the differences between supervised and unsupervised learning in computer vision and how to choose the right approach for your data and project goals.
Learn more

Let's build the future of AI together!

Begin your journey with the future of machine learning