Camera resolution, pixels and night vision: how to choose a security camera
What 2 MP, 4 MP and 4K really give you, how many pixels you need to know a face, why the lens matters more than the megapixels, and the four kinds of night vision compared.
· 7 min čtení · Zobrazit jako Markdown

The box says 4K. The shop says more megapixels are better. Then something happens at the gate, you open the recording, and the face is a blur of twelve squares.
Resolution is only one of three things that decide what you can see. The other two are the lens and what the camera does at night. This guide explains all three in plain words, with the sums, so you can choose a camera for the job it has to do.
What the numbers mean#
A camera picture is a grid of small squares called pixels. Resolution is the size of that grid. A megapixel (MP) is one million pixels.
| Name | Picture size | Pixels |
|---|---|---|
| 2 MP (1080p, Full HD) | 1920 × 1080 | 2.1 million |
| 4 MP (1440p, 2K) | 2560 × 1440 | 3.7 million |
| 5 MP | 2592 × 1944 | 5.0 million |
| 8 MP (4K) | 3840 × 2160 | 8.3 million |
Two things to notice. A 4K picture has four times the pixels of 1080p, but only twice the width. And many 5 MP cameras are almost as wide as 4 MP ones. The extra pixels are in the height.
The number that matters: pixels per metre#
What you need is not pixels in the picture. It is pixels on the person. The usual measure is pixels per metre: how many pixels cover one metre of the scene at the place where the person stands.
The video surveillance standard EN 62676-4 gives four levels:
| Level | Pixels per metre | What you can do |
|---|---|---|
| Detect | 25 | See that someone is there. |
| Observe | 62 | See clothes and what the person does. |
| Recognise | 125 | Tell that it is someone you know. |
| Identify | 250 | Tell who it is, well enough to show to others. |
A face is about 16 cm wide. At 250 pixels per metre it gets 40 pixels. At 25 it gets 4.

The pixels per metre fall as the person walks away, because the same pixels are spread over a wider scene. Twice the distance gives half the pixels per metre.
The lens matters more than the megapixels#
The lens decides how wide the picture is. A wide lens shows the whole garden and spreads the pixels thin. A narrower lens shows less and puts more pixels on each metre.
Two rules of thumb for common fixed lenses:
- 2.8 mm lens, about 100° wide. The scene is about 2.4 times as wide as the distance. At 5 m you see about 12 m.
- 6 mm lens, about 55° wide. The scene is about as wide as the distance. At 5 m you see about 5 m.
The exact angle depends on the camera. It is on the data sheet as "horizontal field of view".

A 4 MP camera with a 6 mm lens identifies a face at almost 10 m. A 4K camera with a 2.8 mm lens stops at about 6 m. Before you pay for more megapixels, check whether a different lens does the job.
Work it out for your own camera#
Measure the distance
Measure from the camera to the place where people will be: the door, the gate, the till.
Find the width of the scene there
With a 2.8 mm lens, multiply the distance by 2.4. With a 6 mm lens, use the distance itself. A gate at 8 m is in a scene about 19 m wide with the wide lens, and about 8 m wide with the narrower one.
Multiply by the level you need
To identify, multiply the width by 250. For the gate at 8 m with the 6 mm lens that is 2000 pixels, so a 4 MP camera (2560 wide) is enough. With the 2.8 mm lens it is 4750 pixels, more than a 4K camera has.
Why more megapixels can be worse at night#
Behind the lens is the sensor. Each pixel on it is a tiny bucket that collects light. If the maker puts more pixels on a sensor of the same size, each bucket is smaller.
A common small sensor is the 1/2.8-inch type. With 2 MP on it, each pixel is about 2.9 µm wide. With 8 MP on it, each pixel is about 1.45 µm wide. That is one quarter of the area, so one quarter of the light.

So for night work, read three more lines on the data sheet:
- Sensor size. A 1/1.8-inch sensor has more than twice the area of a 1/2.8-inch one. Bigger is better. Confusingly, the smaller the number after the slash, the bigger the sensor.
- Aperture. Written as F1.0, F1.6, F2.0. A lower number lets in more light. F1.0 passes about two and a half times the light of F1.6.
- Wide dynamic range (WDR). It helps when a dark porch and a bright street are in the same picture. Look for "true WDR" and 120 dB.
Four kinds of night vision#

| Kind | Picture | Good for | Watch out for |
|---|---|---|---|
| Infrared (IR) | Black and white | Full darkness, discreet | No colours. Glare from near walls, glass, rain and spider webs. |
| Low-light colour sensor | Colour, with a little light | Streets and yards with a lamp nearby | Moving people can blur. Goes dark with no light at all. |
| White light | Full colour | Colour of clothes and cars, and deterring people | Everyone sees it, neighbours too. It attracts insects. |
| Dual light | IR, then colour | Colour only when it matters | Needs the camera's own person detection to work well. |
A few details that the box does not explain:
- Infrared comes in two kinds. 850 nm lights show a faint red glow and reach further. 940 nm lights are invisible and reach less far.
- The range on the box is optimistic. "30 m IR" means something can be seen at 30 m, not that a face can be known there. The pixels per metre still apply.
- Never point an infrared camera through a window. The light bounces off the glass and the picture goes white.
- Low-light colour is sold under names such as "starlight" and "full colour". They rely on a big sensor and a low F number. Check both.
- Thermal cameras are a fifth kind. They see heat and not detail. They are for long fences and cost much more.
What to choose#
| The job | Distance | A sensible choice |
|---|---|---|
| Know who is at the front door | 2 to 4 m | 4 MP, 2.8 mm lens, WDR |
| See what happens in a room or garden | up to 15 m | 2 MP or 4 MP, 2.8 mm lens, infrared |
| Know who is at the gate | 8 to 10 m | 4 MP or 8 MP with a 6 mm lens |
| Colour of a car or a jacket at night | near the house | Dual light or a low-light colour sensor |
| A shop till | 2 to 3 m | 4 MP or 5 MP above the till, WDR if it faces the door |
| Read number plates | any | A camera for that job alone. See Reading licence plates on a home gate camera. |
One wide camera for the overview and one narrower camera on the door or gate is usually better than a single 4K camera that tries to do both.
What resolution costs on disk#
Vigiora's estimate assumes about 0.1 bit per pixel per frame in H.264. At 15 frames a second that gives:
| Resolution | Data rate | Disk per day |
|---|---|---|
| 2 MP | about 3 Mbit/s | about 33 GB |
| 4 MP | about 5.5 Mbit/s | about 60 GB |
| 5 MP | about 7.5 Mbit/s | about 82 GB |
| 8 MP (4K) | about 12.5 Mbit/s | about 134 GB |
These are estimates. A busy scene writes more and a quiet one less. One 4K camera fills a 1 TB disk in about 7 days. See How long should an NVR keep recordings? for the days.
Using a high-resolution camera in Vigiora#
You set the resolution in the camera's own settings. Vigiora Server records what the camera sends and does not shrink it.
Three things keep a 4 MP or 4K camera light on the server:
- The sub-stream. Most cameras send a second, small picture. Vigiora uses it for the live grid and for motion detection, and plays the full picture when you open the camera. See Three small camera settings.
- Record in HD when there is movement. The camera records the small stream all day and the full picture only while something moves. You keep the pixels for the moments that matter and save most of the disk. See Record in HD when there is movement.
- The estimate before you save. The Recording tab of each camera shows Estimated disk usage for the days you picked, and after one hour of recording it shows the measured figure. See How much disk a camera uses.
That is the whole method: measure the distance, pick the level you need, let the lens do the first part of the work and the megapixels the rest, and choose the night vision for the light you really have. If you do not have a server yet, download Vigiora. Recording is free on any number of cameras.