Video Surveillance, lesson 4 of 14
Resolution and pixels on target
Lesson 3 showed how a lens sets the width of the view. This lesson asks how much detail fits inside it. Megapixels tell you how many dots a camera has. They do not tell you whether a face will be clear. What matters is how many of those dots land on the thing you care about. This lesson gives you one number that measures exactly that, and the targets to aim for.
Spend the pixels
Choose a camera, then widen or narrow the scene. The face on the right is drawn with exactly the pixels it would receive.
The everyday picture
You have one can of paint and a wall to cover. On a small wall the coat is thick and rich. On a wall four times the size the same can gives a thin wash you can see through.
A camera's pixels are the paint. The scene is the wall. A camera always spends all of its pixels on whatever its lens shows it, wide or narrow. Point it at a doorway and the face in it is painted thickly. Point it at a parking lot and the same face gets a thin smear of a few dots.
So the useful question is never "how many megapixels?" It is "how thick is the paint where the face is?"
What resolution means
A picture is a grid of pixels, each one a single colored square. Resolution is the size of the grid: so many pixels across and so many down. Multiply the two and you get the total, usually given in millions, or megapixels.
| Common name | Pixels across × down | Total |
|---|---|---|
| 720p | 1,280 × 720 | About 1 megapixel |
| 1080p, or Full HD | 1,920 × 1,080 | About 2 megapixels |
| 4 megapixel | 2,560 × 1,440 | About 3.7 megapixels |
| 4K, or 8 megapixel | 3,840 × 2,160 | About 8.3 megapixels |
Look at the first and last columns together. 4K has four times the pixels of 1080p, but only twice as many across. Detail depends on the number across. To double the detail on a target you need four times the megapixels, and, as lesson 7 will show, roughly four times the storage. Other grids exist, such as 5 megapixels in a squarer shape, so read the two numbers on the data sheet and do not rely on the name.
Pixels per foot
The thickness of the paint has a name: pixels per foot, often written ppf. Installers also call it pixels on target. It is one short sum:
pixels per foot = pixels across the picture ÷ width of the scene in feet
The width is measured at the distance where the target stands, using the sum from lesson 3. A 1080p camera looking at a scene 40 feet wide gives 1,920 ÷ 40 = 48 pixels per foot. A face is about half a foot wide, so that face is 24 pixels across.
Because the scene gets wider with distance, the number falls as the target walks away. At twice the distance it is half. Every camera therefore has a near zone where it can identify, a middle zone where it can only observe, and a far zone where it merely detects.
How many is enough
Lesson 1 introduced four levels of detail. The international standard IEC 62676-4 puts a figure on each one, in pixels per meter. Converted to feet and rounded, they are:
| Level | Pixels per meter | Pixels per foot | Widest scene, 1080p | Widest scene, 4K |
|---|---|---|---|---|
| Detect | 25 | About 8 | 250 ft | 500 ft |
| Observe | 62.5 | About 19 | 100 ft | 200 ft |
| Recognize | 125 | About 38 | 50 ft | 100 ft |
| Identify | 250 | About 76 | 25 ft | 50 ft |
These are minimums for a good picture: sharp, well lit and still. Many designers add a margin, and aim for 80 to 100 pixels per foot where a face must stand up as evidence. Reading a license plate by eye needs a similar density across the plate. Automatic plate readers state their own requirement, often as a number of pixels across the plate or per character, so follow the maker's figure.
Check yourself
A 4K camera covers a scene 100 feet wide. A 1080p camera covers a doorway 10 feet wide. Which one puts more pixels on a face?
Work out a camera
Turn the sum around and it tells you what to buy. Multiply the width you must cover by the pixels per foot you need. The answer is the number of pixels across that the job demands.
From a requirement to a resolution
What the number leaves out
Pixels per foot is a ceiling, not a promise. It says how much detail the grid could hold. Several things decide whether the detail is really there.
- Focus and lens quality. A soft lens spreads each point over several pixels. A cheap lens on an 8-megapixel sensor may deliver the detail of 4.
- Movement. A face that moves 2 inches during the exposure is smeared across many pixels, as lesson 2 showed.
- Light. Grain at night destroys fine detail first. Allow for less at night than the sum suggests.
- Compression. Squeezing the video hard throws away fine detail. Lesson 7 covers this.
- Angle. The sum counts pixels across the top of a head just as happily as across a face. A camera looking steeply down shows hair and hats. Keep the camera low enough and far enough back that it looks at faces from a shallow angle.
The sum is still the right place to start, because a design that fails on pixels cannot be rescued by anything else.
Three examples
Simple: the doorway
A 1080p camera looks at a door and a little wall, 8 feet across. 1,920 ÷ 8 = 240 pixels per foot. That is three times the identify level. This camera could be 720p and still identify, because 1,280 ÷ 8 is 160. A tight view makes modest cameras look excellent.
Medium: "but it's 4K"
A car dealer buys one 4K camera to cover a lot 120 feet wide and expects to see faces. 3,840 ÷ 120 = 32 pixels per foot. That is a solid observe, short of recognize, and less than half of identify. A face is 16 pixels wide.
The recording will show a person trying door handles, their build and their clothing. It will not show who they are. To identify across 120 feet would take 120 × 76 = 9,120 pixels, which is more than two 4K cameras side by side. The better design keeps the 4K overview and adds one tight camera at the lot entrance, where everyone must pass.
Advanced: how far down the corridor?
A 1080p camera with a 4 mm lens and a 5.6 mm sensor looks down a 60-foot corridor. Where along it can it identify someone?
Identify needs 76 pixels per foot, so the scene may be at most 1,920 ÷ 76, about 25 feet wide. From lesson 3, width = distance × 5.6 ÷ 4, so distance = 25 × 4 ÷ 5.6, about 18 feet. Recognize needs 38 per foot, a 50-foot width, which happens at about 36 feet. At the far end, 60 feet away, the view is 84 feet wide and the density is about 23 pixels per foot: observe only.
So this camera identifies people in the last 18 feet as they walk toward it. If the requirement is to identify people entering by the far door, the answer is a longer lens. At 12 mm the view at 60 feet is 28 feet wide, giving about 69 pixels per foot, close to the mark, and a 4-megapixel camera at 12 mm clears it with 91.
From the field
- Check with a test card or a person. Stand a helper at the target spot, take a snapshot, and count the pixels across their face on a laptop. It takes a minute and settles the question.
- Judge the recording, not the live view. Many systems show a sharp live picture and record a smaller one. Lesson 8 explains the two streams.
- Draw the identify line on the plan. Mark the distance where the camera drops below 76 pixels per foot, so nobody later expects faces beyond it.
- Add a margin for night. If the sum only just passes on paper, it will fail after dark.
- Do not crop away what you paid for. A camera aimed half at sky or ceiling is wasting half its pixels.
Common mistakes
- Comparing cameras by megapixels without asking how wide the scene will be.
- Assuming 4K is four times as detailed as 1080p. Across a target it is twice.
- Working out the density at the camera's nearest point and quoting it for the whole scene.
- Expecting enlargement after the event to add detail that was never recorded.
- Meeting the pixel figure with a camera that looks straight down at the tops of heads.
Summary
- A camera spends all its pixels on whatever the lens shows. A wider scene means fewer on each target.
- Pixels per foot = pixels across ÷ scene width in feet, at the target's distance.
- Rough targets: detect 8, observe 19, recognize 38, identify 76 pixels per foot.
- Twice the detail takes four times the megapixels.
- The figure is a ceiling. Focus, movement, light, compression and angle can all lower the real result.
Exercises
Answer each one yourself first, then open the answer.
Exercise 1. A 1080p camera covers a scene 60 feet wide. How many pixels per foot is that, and which level does it reach?
Show answer
Exercise 2. You must recognize people across a lobby entrance 60 feet wide with one camera. How many pixels across are needed, and which common resolution is the smallest that works?
Show answer
Exercise 3. A 4K camera has an 8 mm lens on a 7.2 mm wide sensor. How far away can it identify a person?
Show answer
Exercise 4 (think, don't memorize). A store has a budget for either one 4K camera covering the whole 80-foot sales floor, or two 1080p cameras. Faces matter most at the entrance, which is 8 feet wide. How would you spend it?