Vision Detection Systems
TECHNOLOGY LIBRARY

PTZ Auto-Tracking and Patrol Tours: How They Work

PTZ auto-tracking uses video analytics to detect a moving person or vehicle, then steers the pan, tilt and zoom motors to keep it centered. Patrol tours move the camera through saved presets on a schedule. Tracking follows an event, tours cover ground, and both work best when a fixed camera cues the PTZ.

What is PTZ auto-tracking?

A pan-tilt-zoom camera can swing left and right, tilt up and down, and change its lens zoom. Normally an operator steers it by hand. Auto-tracking hands that job to software: the camera detects a moving object, selects it as the target, and drives its motors to keep the object in frame, zooming as needed. The aim is to build a continuous view of an intruder or vehicle without anyone holding a joystick.

It is useful because a PTZ can see far in detail but only in one direction at a time. A wide fixed camera sees everything but with little detail. Tracking gives the zoom camera a reason to look in the right place at the right moment. It reduces the burden on operators, who otherwise would have to spot, aim and follow manually, and it can capture identification detail that a fixed view cannot provide.

How does the camera follow a target?

The loop has three steps. First, an analytics model finds an object in the image and draws a box around it, classifying it as a person or vehicle. Second, the software compares the box position with the center of the frame and calculates how far and in which direction the camera must move. Third, motor commands turn the head, and the next frame repeats the process, usually many times each second.

Good trackers do more than chase. They estimate the target's speed and predict where it will be a moment later, so the camera leads instead of lagging. They adjust zoom so the target fills a sensible part of the frame and does not leave it when it runs. They also ignore swaying branches, rain and small animals by relying on object classification instead of raw motion. The quality of the detection model largely determines how steady and trustworthy the tracking feels.

What are presets, patrol tours and scan patterns?

A preset is a saved position: a specific pan, tilt and zoom setting that the camera can return to with one command. A patrol tour strings presets together, dwelling at each for a set time before moving on, and repeats the cycle. Other patterns include a continuous scan between two limits and recorded paths that replay an operator's movements. These let one PTZ cover several areas it could never watch at once.

Tours have a built-in limit: while the camera looks at one preset, it is blind to the others. An event at a gate during the other half of the cycle is missed unless something else catches it. Tours are therefore a good fit for periodic checks, deterrence and scanning large areas, and a poor fit for continuous protection of a single critical spot. Combine them with analytics or fixed cameras to close the gaps.

Why does auto-tracking fail or lose targets?

Several things go wrong. Latency is one: there is a delay between a frame being captured, analyzed, and the motors responding, so a fast-moving subject can leave the frame. Zooming in too far makes this worse, because a small movement of the target becomes a large movement across the image. Poor light, glare and weather reduce detection quality, and the camera may mistake shadows or insects for targets. Lower zoom levels, steady light and clear sight lines all improve results noticeably.

Crowds and crossing paths are another weakness. With several people in view, the tracker must choose one and may swap to another by mistake. When the target passes behind an obstacle it may be lost entirely. Mechanical limits matter too, since motors need time to accelerate and stop. For these reasons tracking is best seen as a strong assistant that improves the odds of capturing detail, with a human taking over for complicated situations. Plan for a handoff from automatic to manual control whenever the scene becomes messy.

How do fixed cameras and PTZ work together?

The most reliable pattern is slew-to-cue. Fixed wide cameras watch continuously and run analytics. When one detects a person in a zone, it sends a position to the PTZ, which swings to that spot and zooms in. The fixed cameras never stop watching, so nothing is missed while the PTZ investigates, and the PTZ delivers the close-up detail the wide views cannot. The result is attention that is both broad and precise, which neither camera type can offer alone.

Setting this up requires the cameras to understand each other's geometry, often through calibration or by placing the PTZ near the fixed cameras so their views line up. Some multi-head designs put fixed lenses and a motorized PTZ in one housing for exactly this reason. Either way, the principle is the same: use cheap, wide, always-on coverage to decide where to point scarce, narrow, high-detail attention. Test the handoff with real walking speeds, because small calibration errors grow at high zoom.

How do you set up tracking and tours well?

Start with the purpose. Decide whether the PTZ is there to follow events, to patrol, or both, and define the areas it should watch. Build presets that frame useful views, such as a gate, a row of equipment or a loading zone. Set tour dwell times long enough to see something meaningful but short enough to return often. Define zones for tracking so the camera engages only where activity matters, and exclude roads or trees that would trigger it constantly.

Test at night and in bad weather, with realistic subjects walking at realistic speeds. Limit maximum zoom during tracking to keep the target in view. Set the camera to return to a home preset after a period of inactivity, so it is always aimed somewhere useful. Review the footage regularly and adjust. A tracking camera that is tuned for its site behaves very differently from one left on defaults. Keep notes on what you changed and why, so tuning stays consistent over time.

Key terms

Auto-tracking
Software that detects a moving target and automatically drives a PTZ camera's pan, tilt and zoom to keep it in frame.
Preset
A saved pan, tilt and zoom position the camera can return to instantly on command or as part of a tour.
Patrol tour
A repeating sequence of presets, each held for a set time, that lets one PTZ camera cover several areas.
Slew-to-cue
A workflow where a fixed camera detects something and directs a PTZ camera to swing to that position and zoom in.
Latency
The delay between capturing a frame and the camera's motors responding, which can cause a fast target to leave the view.
Bounding box
The rectangle an analytics model draws around a detected object, whose position the tracker uses to steer the camera.
IN THE FIELD

A trailer like this suits slew-to-cue naturally. The Gen 9 head has one PTZ camera facing the front and three fixed cameras for the left, right and rear. The head does not rotate, so the fixed cameras keep watching the sides and back while the PTZ looks forward. AI VisionStream supports object detection, classification and tracking of people and vehicles, and operators at the 24/7 operations center can verify what the cameras see.

Common questions

Can auto-tracking follow more than one person?

A single PTZ can follow only one target at a time, since it can point in only one direction. Fixed cameras can keep watching other people while the PTZ follows one, and a human operator can decide which person matters most.

What is the difference between a patrol tour and auto-tracking?

A patrol tour moves the camera through saved positions on a schedule, regardless of activity. Auto-tracking reacts to a detected target and follows it. Tours cover ground; tracking follows events. Many sites use both, with tracking taking priority when something is detected.

Why does my PTZ miss fast movement while touring?

While a PTZ looks at one preset it cannot see the others, and motor movement between presets takes time. Fast activity can begin and end while the camera is pointed elsewhere. Fixed cameras with analytics fill those gaps.

SITE SECURITY DESIGNER

See it on your site.

Type your address, and the designer opens on a live map of your property — place trailers, draw the perimeter, and get a coverage plan in minutes. No call required.

FREE · NO ACCOUNT · SATELLITE VIEW OF YOUR ACTUAL SITE