Pixels per Foot and DORI: Choosing the Right Camera Lens
"Can the camera see faces?" is the question every owner asks after an incident. The answer depends less on megapixels and more on how those pixels are spread across the scene. That is what pixel density measures.
Megapixels are not enough
A 4K camera with a very wide lens covering a parking lot may capture less facial detail than a 2 MP camera with a narrow lens aimed at a door. Resolution only tells you how many pixels the camera has. Pixel density tells you how many of them land on your target.
Calculating pixels per foot
You need three numbers: the camera's horizontal resolution, its horizontal field of view in degrees, and the distance to the target.
- Scene width = 2 × distance × tan(field of view ÷ 2)
- Pixels per foot (PPF) = horizontal pixels ÷ scene width
Example: a 4 MP camera, 2560 pixels wide, with an 85° field of view, looking at a door 30 ft away. The scene is about 55 ft wide, so the density is 2560 ÷ 55 = about 47 PPF.
The DORI levels
The international standard IEC 62676-4 sets four levels of detail, measured in pixels per meter (shown here with the rough pixels per foot):
| Level | Pixels per meter | About PPF | What you can do |
|---|---|---|---|
| Detection | 25 | 8 | Tell that someone is there |
| Observation | 62.5 | 19 | See what they are wearing and doing |
| Recognition | 125 | 38 | Recognize a person you know |
| Identification | 250 | 76 | Identify a stranger with confidence |
The example camera at 47 PPF reaches Recognition at the door, but not Identification. To identify faces there, you would need the camera within about 18 ft, a narrower lens, or a higher resolution.
Designing with DORI
Good camera layouts use different cameras for different jobs:
- Overview cameras with wide lenses at Detection or Observation show what happened and where people went.
- Choke point cameras with narrow lenses at Identification cover entrances, register areas and hallways everyone has to pass through.
Trying to get both from one camera usually means doing neither well.
Details that lower real-world detail
The calculation gives you the best case. Real images lose detail from:
- Mounting height. A camera 16 ft up looking at someone 20 ft away along the floor is really about 23 ft from their face, and it sees the top of their head.
- Compression. Low bitrates smear fine detail like faces.
- Light. Backlit doors, low light and IR at night all reduce usable detail.
- Motion blur. Slow shutter speeds at night blur moving people.
- Dirty or scratched domes.
Plan for some margin above the DORI target, especially for Identification.
Run the numbers
Our camera field of view calculator shows the scene width, pixels per foot and DORI level for any camera at any distance, plus the farthest distance each level can reach. Higher resolution and more cameras mean more storage, so check the result with the NVR storage calculator.