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

Security Cameras guide

Resolution and pixel density: pixels per metre and DORI

Why megapixels alone mean little, and how to size a camera for detection, recognition or identification.

  • Intermediate
  • 5 min read
  • Includes diagram

Key points

  • What matters is pixels on the target, measured in pixels per metre (px/m), not megapixels.
  • Pixel density = horizontal pixels divided by the width of the scene at the target.
  • IEC 62676-4 gives four levels: detect 25, observe 62.5, recognize 125 and identify 250 px/m.
  • Doubling the distance halves the pixel density. A higher resolution camera does not fix a badly placed one.

Camera marketing is built around megapixels. Yet a 4K camera covering a whole parking lot can produce worse evidence than a 2 MP camera aimed at a doorway. The reason is pixel density: how many pixels land on each metre of the scene where the person actually is. Once you understand it, you can predict what any camera will show before you buy it.

The basic calculation

Pixel density is the camera's horizontal resolution divided by the width of the scene at the distance you care about.

Formula

Pixels per metre = horizontal pixels ÷ scene width in metres.
Scene width = 2 × distance × tan(horizontal field of view ÷ 2).

Example: a 4 MP camera is 2560 pixels wide. If its view is 10 metres wide where people walk through, it delivers 2560 ÷ 10 = 256 px/m. That meets the identification level. The same camera covering a 40 metre wide lot delivers 64 px/m, which is only good enough to observe.

The DORI levels

IEC 62676-4 defines pixel density targets for four operational purposes. A typical adult face is roughly 16 cm wide, so the table also shows about how many pixels fall across a face at each level.

LevelPixel densityPixels across a faceUseful for
Detect25 px/mAbout 4Knowing someone is there, triggering alarms
Observe62.5 px/mAbout 10Seeing what people do, clothing and vehicle colours
Recognize125 px/mAbout 20Recognizing someone you already know
Identify250 px/mAbout 40Identifying a stranger with confidence
Pixels across a 16 cm face Detect 4 px at 25 px/m Observe 10 px at 62.5 px/m Recognize 20 px at 125 px/m Identify 40 px at 250 px/m Each step up doubles the detail, and halves the width one camera can cover.
Diagram Identification needs ten times the pixel density of detection. That is the difference between a smudge and a usable face.

How distance eats your pixels

A camera's field of view widens as it gets further away, so the same pixels spread across more metres. The diagram shows a 4 MP camera with a 90 degree horizontal view, which is typical of a wide fixed lens.

4 MP camera, 2560 px, 90° view (not to scale) Camera 5 m 10 m 20 m 51 m 10 m wide 20 m wide 40 m wide Identify Recognize Observe Detect only 250+ px/m 125+ px/m 62.5+ px/m 25+ px/m
Diagram With a wide lens, a 4 MP camera only identifies people within about 5 metres. Beyond 20 metres it can do little more than detect.

Resolution cheat sheet

The widest scene each common resolution can cover at each level, calculated from its horizontal pixel count:

CameraPixels wideIdentifyRecognizeObserve
1080p (2 MP)19207.7 m15.4 m30.7 m
4 MP256010.2 m20.5 m41 m
4K (8 MP)384015.4 m30.7 m61.4 m

Note that these are scene widths, not distances. To turn a scene width into a distance, you need the lens field of view, covered in camera lenses and field of view.

Aspect ratio and corridor mode

Most cameras produce a 16:9 image, wide and short. In a long corridor or a narrow aisle between racking, most of those horizontal pixels land on walls. Many cameras offer a corridor mode that rotates the image to 9:16, so the long side of the sensor runs down the corridor. The pixel density calculation is the same, but you now divide the vertical pixel count across the corridor width, and you get far more useful coverage along its length. For a 4 MP camera in corridor mode, wherever its view spans the full 3 metre width of a corridor, 1440 pixels give 480 px/m.

Why the numbers are a minimum

The px/m figures assume a sharp, well-lit image. Real images lose effective detail for several reasons, so we design with a margin:

  • Low light. At night, cameras raise gain and noise reduction smears fine detail. A view that identifies by day may only recognize at night.
  • Compression. A low bitrate setting throws away detail, especially on moving subjects.
  • Motion blur. Slow shutter speeds blur walking people. See low light, IR and WDR.
  • Angle. A camera looking steeply down sees the top of a head, whatever the pixel count. See mounting heights and angles.
  • Lens quality. A cheap lens on a high-megapixel sensor may not resolve the detail the sensor promises.
Digital zoom is not a plan

Zooming into recorded video only enlarges the pixels that were captured. If the face was 8 pixels wide when it was recorded, it is still 8 pixels wide on screen, just bigger and blurrier.

Putting it to work

  1. Pick the level. Decide the DORI level for each view from your camera schedule.
  2. Measure the scene. Measure the width that must be covered at the point where people pass, such as the width of a door plus a margin.
  3. Divide. Required horizontal pixels = target px/m × scene width. A 4 m wide entrance at 250 px/m needs 1000 pixels, which any 1080p camera provides.
  4. Pick the lens. Choose a lens that makes the view that width at that distance, rather than a wider one.
  5. Verify on site. During commissioning, use the VMS pixel counter or a target of known width to confirm the density.

Many camera manufacturers publish online design tools that calculate pixel density from camera model, lens and position. They are useful for checking your numbers, but walk the site as well; tools do not know about the pillar in the way.

Want a professional to handle it?

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