Key points
- Pixel motion detection reacts to any change in the image. AI analytics react to recognized objects, such as people and vehicles.
- A modern analytic runs four stages: detect, classify, track, then apply your rules.
- Every detection carries a confidence score. The threshold you set trades missed events against false ones.
- The analytic can only classify what it can see clearly, so camera placement still decides the result.
Most building owners have lived with old-style motion alerts: a phone that buzzes all night because of rain, headlights, spiders and swaying branches. After a week, everyone turns the alerts off. AI video analytics were built to fix that problem. This guide explains, in plain terms, what is happening inside the camera or server, and why it behaves so differently.
Pixel motion detection: the old way
Classic video motion detection (often called VMD) compares each frame with the one before it, or with a slowly updated background image. If enough pixels in a region change by more than a set amount, it raises an alarm. That is the whole method.
It is simple and cheap, and it is still useful for one job: triggering recording on a quiet indoor camera. The problem is that it has no idea what changed. A person walking, a shadow moving across a wall, snow falling in front of an IR light and a car's headlights sweeping a fence all look the same to it: a block of changed pixels.
Object classification: the AI way
An AI analytic uses a trained neural network that has learned what people, cars, trucks, bicycles and similar objects look like from very large sets of labelled images. Instead of asking "did pixels change?", it asks "is there a person or vehicle in this frame, and where?"
1. Detection
The network scans each analysed frame and draws a bounding box around anything that looks like an object it knows. Many cameras analyse a reduced-resolution copy of the stream, which is one reason small, distant targets get missed.
2. Classification and confidence
Each box gets a label and a confidence score between 0 and 1, for example "person, 0.92". The system compares that score with a threshold. Set the threshold high and you get fewer false alerts but may miss a person crouching in poor light. Set it low and you catch more, along with more mistakes.
3. Tracking
Tracking links detections across frames so the system knows the person in frame 200 is the same one from frame 180. That is what makes direction, speed, dwell time and line crossing possible. A one-frame blip that never becomes a stable track is usually discarded, which removes much of the noise on its own.
4. Rules
Finally, the object and its path are checked against the rules you set: is it a person, inside this zone, between 10 pm and 6 am, for more than 5 seconds? Only if every condition is met does it become an event. The design of these rules matters as much as the AI itself, which we cover in intrusion zones and line crossing.
What the difference looks like on a real camera
Where AI analytics still get it wrong
Classification is a big improvement, not magic. The common failure points are predictable:
- Targets too small. A person 6 pixels tall cannot be classified reliably. See placing cameras for analytics for pixel targets.
- Look-alikes. Large dogs, deer, mannequins, posters of people and statues can be labelled as people, especially at low confidence thresholds.
- Poor light. Heavy noise, glare from IR bouncing off rain or snow, and backlit doorways reduce confidence scores.
- Occlusion. Someone half-hidden behind a parked car or crawling low may not be detected until fully visible.
- Spider webs and insects on the lens. Classification ignores most of these, but they still cause glare and blur that hurt detection.
If a person standing at the far edge of your zone is not clearly recognizable as a person to you on the live view at night, the analytic will struggle too. Fix the camera before you blame the software.
What "deep learning" and "trained on site" claims mean
Almost every current analytics product uses deep learning. The meaningful differences are in which object classes it supports, how well it handles your conditions (night, snow, wide scenes), whether it runs on the camera or a server, and how it lets you tune it. A few systems also learn the normal activity of a scene over days and flag unusual movement. That can help on busy sites, but it needs a settling period and a clear plan for who reviews what it flags.
When comparing products, ask for a demonstration on footage from a camera like yours, in conditions like yours. A daytime demo in a car park tells you little about a snowy loading yard at 3 am. Our guide on choosing an AI camera platform has a full checklist, and the next guide explains where the processing should run.
Turning on every analytic the camera offers does not make a site safer. Each rule needs an owner, a schedule and a response. Unwatched alerts train people to ignore the system.