Key points
- Analytics are not finished when the rules are drawn. They are finished when they have been proven with real walk tests, day and night.
- Test the hard cases: far edge of the zone, crouching, running, walking towards the camera, and in bad weather.
- Run a soak period of about two weeks, review every event, and adjust one thing at a time.
- Hand over written results: what was tested, what passed, settings used and known limits.
Too many analytics projects end the day the cameras go up: zones are drawn from the office, a quick wave at the camera confirms "it works", and everyone moves on. Two weeks later the owner has either a flood of false alarms or, worse, a quiet system that misses real people. A structured commissioning method avoids both, and gives the owner evidence of what the system can and cannot do.
The commissioning cycle
Step 1: check the image before the rules
- Focus is sharp at the far edge of the zone, checked at night with IR or site lighting on.
- Pixel density at the far edge meets the target for the task. See placing cameras for analytics.
- No lights, sun or reflective surfaces in the frame that blow out the exposure.
- Mount is rigid; the image does not shake when a truck passes or the wind blows.
- Camera time is synchronized to the site NTP source.
Step 2: configure
Draw zones and lines on the ground plane, add masks, set object classes, dwell times and directions. Start with the manufacturer's default confidence threshold. Record every setting in the commissioning sheet. Guidance on drawing is in intrusion zones and line crossing.
Step 3: the walk test
Two people make this quick: one walking the site, one at the VMS logging results by radio or phone. Test each rule at the hardest positions, not the easiest.
| Test | What it checks | Pass when |
|---|---|---|
| Walk the far edge | Minimum target size | Event fires as person enters, correct class |
| Walk across the middle | Normal case and tracking | One event, not several, for one person |
| Walk towards the camera | Little sideways movement, harder to track | Event fires before the person leaves the zone |
| Crouch, crawl or carry a board | Unusual shapes | Detected, or limit noted in the record |
| Run | Fast movement, dwell time setting | Event fires despite short time in zone |
| Walk outside the zone | False positives at the boundary | No event |
| Drive a vehicle through | Vehicle class and line direction | Correct class and direction |
Repeat the full set after dark. If possible, repeat once in rain or snow before sign-off, or schedule a return visit for the first bad-weather week.
Step 4 and 5: soak and review
Leave the system running normally for about two weeks with events logged but, ideally, not yet sent to a monitoring centre. Review every event: was it real, a false positive, and why? Also check for misses by comparing with access logs or known activity. Adjust one setting at a time and re-test that camera. The causes and fixes in reducing false alarms apply directly.
Before testing, agree with the owner what "working" means for each camera: for example, detects every walk test path at night, and averages no more than a few false events per night during the soak. Without targets, sign-off becomes a matter of opinion.
Step 6: handover records
- Camera list with location, model, firmware, lens setting and purpose.
- Screenshots of each camera's zones, lines and masks.
- All rule settings: classes, thresholds, dwell times, schedules.
- Walk test results, day and night, with any known limits.
- Soak period event summary and changes made.
- Integration test results from the cause and effect matrix.
When a camera fails the walk test
- Watch the recording of the test. Did the analytic draw a box at all? If not, the target was too small, too dark or hidden.
- If there was a box but no event, check the class, the zone edge, the dwell time and the schedule. One of the rule conditions was not met.
- If the event fired late, the person was probably too small at first. Shrink the zone to where detection is reliable or add a camera.
- If it fired more than once, tracking broke, often behind an obstacle. Masks and a short re-trigger delay help.
Keeping it tuned
Re-test after firmware or VMS updates, after changes to the site (new lighting, fencing, landscaping, stored materials) and at least once a year. A short seasonal check before winter catches snow, shorter days and changed sun angles.
Firmware updates can change the analytics model itself. Read the release notes, update one camera first, walk test it, then roll out to the rest.