Calls and email answered 24/7/365 · An HSM Company contact@hsmservices.ca 1 800 716 8955

AI Cameras guide

Tuning and testing analytics: a commissioning method

A repeatable walk test and soak period that proves each rule works, with records you can hand to the owner.

  • Advanced
  • 5 min read
  • Includes diagram

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

From install to sign-off 1. Image focus, light, density 2. Configure zones, lines, masks 3. Walk test day and night 4. Soak about 2 weeks 6. Sign-off records to owner 5. Review every event, adjust one change made: re-test targets met
Diagram Any change made during review sends the camera back to a walk test. Sign-off happens only when the agreed targets are met.

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.

Walk test paths for one zone Camera Analytic zone 1 2 3 4 5 1 Walk the far edge 2 Walk across the middle 3 Walk towards the camera 4 Crouch or crawl in 5 Run the near edge Repeat at night
Diagram Each path tests a different weakness: small targets far away, objects moving straight at the lens, low profiles and fast movement.
TestWhat it checksPass when
Walk the far edgeMinimum target sizeEvent fires as person enters, correct class
Walk across the middleNormal case and trackingOne event, not several, for one person
Walk towards the cameraLittle sideways movement, harder to trackEvent fires before the person leaves the zone
Crouch, crawl or carry a boardUnusual shapesDetected, or limit noted in the record
RunFast movement, dwell time settingEvent fires despite short time in zone
Walk outside the zoneFalse positives at the boundaryNo event
Drive a vehicle throughVehicle class and line directionCorrect 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.

Agree targets in advance

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.

Watch out

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.

Want a professional to handle it?

Our technicians install and certify ai cameras for businesses of every size. Send us the details and we will come back with a plan.