CCTV Depth of Field: Keeping Near and Distant Subjects Useful
Essential Security Supplies
Depth of field is the range of subject distances that appear acceptably sharp for a chosen CCTV task. A camera can be focused correctly at one distance while nearby or distant subjects remain insufficiently detailed. Camera placement, focal length, aperture and the required degree of identification all influence whether a single view can serve both zones.
Define what 'sharp enough' means
A scene overview may tolerate softer far backgrounds, but an identification view cannot. Separate detection, observation, recognition and identification requirements before making lens changes. The displayed monitor size and digital scaling also affect perceived sharpness, so inspect native-resolution footage. A small person at a long distance may lack usable pixels even when technically in focus. Depth of field alone cannot make a wide view provide a reliable close-up of every subject.
Understand the lens trade-off

Lens focal length, focus distance and aperture affect the apparent in-focus range. A narrower aperture can increase depth of field under appropriate conditions, but it admits less light and may increase sensor gain or exposure time. A longer focal length narrows the field of view and makes focus placement more critical. Motorised varifocal lenses can simplify adjustment but do not guarantee adequate depth throughout the scene.
Survey the actual near and far targets
Mark the nearest and furthest required subject positions and measure or record their distances. Check whether door frames, fences or vehicles obscure either zone. Focus on a suitable representative target and compare the extremes at native zoom, then record moving subjects. Repeat in daylight and under the expected night mode. Some cameras experience visible focus shift between visible and infrared illumination; test the intended IR-cut filter behaviour and lens compatibility.
Balance focus with light and shutter

Do not improve depth of field by tightening aperture without checking night-time movement. A scene may look sharp when empty yet blur moving subjects once the camera lengthens exposure. Avoid excessive digital sharpening, which can create edge artefacts without restoring actual detail. If the available optics cannot keep both target zones useful, divide coverage into overview and identification cameras rather than presenting one compromised view as a universal solution.
Document and retest
Record the camera position, mounting height, focal length, zoom position, aperture or iris mode, focus settings and key target distances. Use consistent test cards or identifiable targets where practical without overstating their evidential value. Review exported recordings from near, middle and far zones, including relevant low-light conditions. Lock any suitable focus mode only where the manufacturer supports it and verify that reboots or day-night transitions do not change the result.
Network, compatibility and safety checks

Before making changes, confirm that the camera, recorder and VMS all support the intended setting at the installed firmware revisions. Save the original configuration and identify a recovery route. Do not assume equivalent terminology across manufacturers. Coordinate any recording interruption with the authorised site contact, because changing profiles can temporarily affect monitoring, event processing or retention. Record the operator, date, camera location and affected services in the commissioning report.
A practical sign-off checklist
Capture a baseline image and video clip. Note the selected stream, resolution, frame rate, codec, bitrate mode, illumination and relevant lens or exposure settings. Apply one controlled change at a time, then record a fresh clip of a suitable moving subject. Review the clip locally and remotely where authorised, and use the actual evidence export process. Confirm date and time, playback continuity, image usability and the ability to restore the prior state. Keep the final settings in the as-built documentation.
Common mistakes to avoid
Do not judge the result only from a phone screen or low-resolution monitoring tile. Do not conclude that one manufacturer's default is correct for a different camera or scene. Avoid changing compression, resolution, exposure and lens settings simultaneously, because that hides which adjustment helped. A clean daytime picture does not prove night-time performance. Where the requirement is identification or evidential playback, test that task directly rather than relying on a manufacturer's headline resolution specification.
When to seek a second camera or design change
Some problems cannot be corrected by a menu setting. If required targets occupy very different distances, move rapidly through dim lighting or fall outside the useful field of view, a different camera position, dedicated identification view or suitable illumination may be needed. Validate mounting positions, cables, PoE supply and storage capacity before making design recommendations. The correct outcome may be a documented limitation and revised specification, not an overstated claim that a single adjustment covers every operating condition.
Example: a long corridor with two target distances
Suppose a corridor camera is expected to show both people entering close to the lens and a distant doorway. Mark the two distances and use representative subjects or test targets at both positions. Adjust the lens for the operational priority, then record movement through the entire corridor rather than selecting focus from a single still frame. At native pixel scale, the distant doorway may appear optically sharp yet provide too few pixels for positive identification. Conversely, tightening the frame on the distant door may remove the nearby entry zone entirely. Measure field coverage as well as apparent focus. Recheck after the camera changes to infrared mode and after a controlled restart. If the required near and far subjects cannot both be resolved, document that as a camera-layout limitation and consider separate overview and identification positions. Do not promise that a smaller aperture or a higher-resolution sensor alone will overcome the constraint.
Frequently asked questions
Does a higher-resolution camera solve poor depth of field?
No. More pixels cannot make an optically defocused subject sharp.
Will a smaller aperture keep more distances sharp?
Often, but it reduces incoming light and may harm low-light motion capture.
Can a wide-angle lens cover both close and distant people?
It may give a broad overview, but distant subjects can still lack identification detail.
Why does a CCTV lens lose focus at night?
Day-night optical changes, IR performance or autofocus behaviour may shift the focus; verify the actual camera and lens.
Next step for NZ installers
For a project-specific CCTV design, confirm the equipment, site conditions and recording objectives before requesting a technical specification or trade enquiry from Essential Security Supplies. This draft requires genuine product imagery and verified internal destinations before it can be considered for publication.
Need Advice on Security Equipment?
Discuss product suitability, specifications and project requirements with Essential Security Supplies.