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

AI Cameras guide

Placing cameras for analytics: angles, height and pixel targets

How mounting height, tilt and pixels per metre decide whether an analytic works before you buy a single licence.

  • Intermediate
  • 5 min read
  • Includes diagram

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:

Pixel density targets (pixels per metre) Detect 25 something is there Observe 63 person vs vehicle, activity Recognize 125 known person, clothing, attributes Identify 250 Perimeter analytics: at least Observe at the far edge. Attribute search: Recognize. Licence plates and faces: Identify or better.
Diagram The DORI levels from IEC 62676-4. Plan each camera for the task it must do at the far edge of its zone, not at its centre.

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.

Side view: one camera at 4 m Camera 4 m Blind area Best analytics band Targets too small clear target few pixels Tilt so the far edge of the zone sits about one third down the image
Diagram Every camera has a blind area beneath it and a far zone where targets are too small. Design the zone to sit in the middle band.
  • 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

  1. Mark the zones on a site plan. Draw where you need detection, where you need recognition, and where people are allowed.
  2. Choose the task per camera. Perimeter detection, plate reading and entrance identification rarely belong on the same camera.
  3. Calculate density at the far edge. Use the camera's horizontal resolution and the scene width at the farthest point of the zone.
  4. Pick lens and position. Prefer cameras looking along a fence line, not across it, so walkers stay in view longer.
  5. Overlap the blind spots. Position each camera so another one covers the area beneath it.
  6. 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.

Rule of thumb

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.

Watch out

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.

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.