Key points
- Most incidents happen in poor light, so judge a camera by its night image, not its daytime demo.
- Rated infrared distance is usually the limit of detection, not identification. Plan on less.
- Good lighting is often the cheapest way to improve night video, and it deters as well.
- Backlit doorways need true multi-exposure WDR, or a camera position that avoids the glare.
A camera that looks superb on a sunny afternoon can be almost useless at 2 a.m. or when a person stands in front of a bright glass door. Both problems come down to light: too little of it, or too much difference between the brightest and darkest parts of the scene. This guide explains the tools cameras use to cope and how to plan around their limits.
How cameras handle darkness
As light falls, a camera has three ways to keep a usable picture, and each has a cost:
- Open the aperture. A lens with a low f-number such as F1.0 to F1.6 gathers more light. Varifocal lenses usually have a smaller aperture at the long end.
- Slow the shutter. A longer exposure collects more light but blurs anything moving. A common limit is around 1/30 s; scenes with walking people benefit from 1/60 s or faster, and moving vehicles need much faster.
- Raise the gain. Amplifying the signal brightens the image but adds noise, which noise reduction then smears, softening faces and plates.
When those run out, the camera switches to night mode: it removes its infrared-cut filter, turns to black and white, and lights the scene with its own infrared LEDs.
Infrared: what the range figure means
Data sheets quote an IR distance such as 30 m or 50 m. In practice, that is roughly where the camera can still show that something is there. Infrared from the camera follows the inverse square law: double the distance and the light on the subject drops to about a quarter. Close subjects can be overexposed while distant ones fade into darkness.
850 nm or 940 nm?
Most cameras use 850 nm infrared, which shows as a faint red glow on the LEDs. It is efficient and gives the best range. 940 nm is invisible to the eye, which suits places where a visible glow is unwanted, but the sensor is less sensitive to it, so range is noticeably shorter.
Common infrared problems
- Reflection. IR bounces off nearby eaves, walls, the inside of a dirty dome, or window glass and washes out the image. Keep the camera clear of surfaces in front of the lens.
- Hot spots. A wall or parked car close to the camera glows white. Use cameras with adaptive or "smart" IR that dims the LEDs for close objects.
- Bugs and webs. Insects are drawn to the warm LEDs and trigger motion events all night.
- Rain and snow. IR lights falling flakes right in front of the lens, which can hide the scene and flood motion detection.
Lighting beats infrared
Where you can, add or improve real lighting. A well-lit scene lets the camera stay in colour, use a faster shutter and lower gain, so you get sharper faces, true clothing and vehicle colours, and smaller video files. Lighting also deters intruders, which a camera on its own does not. LED area lights with good colour rendering on photocells or schedules are usually the right choice. Avoid pointing lights toward cameras.
Some cameras now offer colour night modes using large apertures and bigger sensors, sometimes with a built-in white LED. They work well in areas with some ambient light, such as a lit lot, but are not a substitute for lighting in a completely dark yard.
Noise at high gain looks like constant movement to the video encoder, so night bitrates can be higher than daytime. Measure bitrates at night before you size the recorder. See how to calculate NVR storage.
Wide dynamic range (WDR)
The opposite problem is too much light in part of the scene. A person standing inside a glass entrance on a sunny day is far darker than the street behind them. A normal camera exposes for one or the other: either the outside is readable and the face is a silhouette, or the face is readable and the doorway is a white glare.
True WDR captures two or more exposures of each frame, one short and one long, and combines the best-exposed parts of each. Digital WDR, sometimes sold under the same name, only brightens shadows in a single exposure, which helps much less.
WDR is quoted in decibels, such as 120 dB. Higher is generally better, but manufacturers measure differently, so treat the figures as a rough guide and test in the actual doorway. Multi-exposure WDR can also produce ghosting on fast-moving subjects.
Other tools for bright scenes
- Backlight compensation (BLC) exposes for a chosen area, such as the centre of the frame, at the cost of the rest.
- Highlight compensation (HLC) masks very bright points such as headlights so they do not wash out the scene. Useful at gates and lot entrances.
- Positioning. Often the simplest fix is to move the camera so it looks across the light rather than into it, or to put the identification camera outside the doors looking in.
Testing night and backlight performance
- Visit at night. Check every exterior view after dark, with a person walking the target line.
- Visit at the worst sun angle. Morning or late-day sun into glass entrances is the hardest test for WDR.
- Check moving subjects. Pause recorded video of someone walking. If the face is smeared, raise the minimum shutter speed or add light.
- Record reference images. Save day and night stills of each view at handover, so you can tell later whether a camera has degraded.