Key points
- Analytics need targets that are big enough in the image. Plan in pixels per metre at the far edge of the zone.
- Mount most analytics cameras around 3 to 5 m high, looking along the area rather than straight down.
- Wide lenses cover more ground but shrink every target. Two narrower cameras often beat one wide one.
- Light the scene evenly, and keep bright lights and the sun out of the frame.
The best analytics software cannot classify what the camera cannot show. Almost every disappointing analytics project we are called to fix comes down to geometry: cameras too high, too wide, pointing into lights, or covering far more ground than they can resolve. Getting placement right costs nothing extra at design time and saves a lot of tuning later.
Pixels per metre: the number that matters
Pixel density is the number of horizontal image pixels across one metre of the scene at a given distance. It falls as the scene gets wider. A simple estimate: divide the camera's horizontal resolution by the width of the scene in metres at the distance you care about.
For example, a camera 2,688 pixels wide (a typical 4 MP sensor) covering a scene 30 m wide at the fence line gives about 90 pixels per metre at the fence. The same camera looking at a 12 m wide doorway area gives about 224.
The international standard for video surveillance, IEC 62676-4, defines widely used density levels, often shortened to DORI:
Use these as planning targets, then check the analytics vendor's own minimum. Many quote a minimum object size in pixels, for example a person must be a certain number of pixels tall. If the vendor figure is stricter, it wins.
Height and tilt
Analytics models are trained mostly on people and vehicles seen from the side or from a moderate angle above. Look steeply down from a high pole and a person becomes a head and shoulders, which classifies poorly and is useless for identification.
- 3 to 5 m suits most people and vehicle analytics. It is high enough to resist tampering and low enough to see people from the side.
- Higher poles (6 m and up) suit long perimeter views and parking lots, with longer lenses.
- Avoid looking straight down for classification. Overhead views are right only for dedicated people counting sensors.
- Keep the horizon out where possible. Sky wastes pixels and drives the exposure dark.
Lighting and backlight
Analytics accuracy drops sharply in noisy, dim images. Built-in IR works for short ranges, but it lights rain, snow and insects right in front of the lens. Separate IR or white-light illuminators mounted a metre or more away from the camera avoid most of that. Keep floodlights, headlights and the rising or setting sun out of the field of view; a camera pointed at the sun at certain times of year will miss everything around it.
A placement method that works
- Mark the zones on a site plan. Draw where you need detection, where you need recognition, and where people are allowed.
- Choose the task per camera. Perimeter detection, plate reading and entrance identification rarely belong on the same camera.
- Calculate density at the far edge. Use the camera's horizontal resolution and the scene width at the farthest point of the zone.
- Pick lens and position. Prefer cameras looking along a fence line, not across it, so walkers stay in view longer.
- Overlap the blind spots. Position each camera so another one covers the area beneath it.
- Check it live at night. Walk the far edge after dark before you finalize brackets and conduit.
Indoor and outdoor differences
Indoors, the challenges are usually backlit doorways, low ceilings that force steep angles, and glass that reflects people and lights. Use wide dynamic range on entrance cameras that face daylight, but keep analytics cameras pointing away from windows where you can. Outdoors, plan for weather and seasons: snow changes the ground surface, low winter sun shines straight into lenses, and leaves change what is visible from month to month. Hooded housings, heaters for cold climates and mounts that do not move in the wind all affect analytics accuracy.
If a person at the far edge of the zone looks like a recognizable human shape to you on the live view at night, the analytic has a fair chance. If you have to squint, add a camera or narrow the view.
Varifocal lenses tempt installers to zoom out "to see everything". Once a camera is commissioned for analytics, lock the zoom and record the setting. Changing it later silently breaks every zone and pixel target.
Once the cameras are placed, set up the rules as described in intrusion zones and line crossing, and prove them with the tuning and testing method.