Auto-Tracking on a Dahua PTZ Camera

Point-tilt-zoom (PTZ) Dahua cameras have a genuinely useful trick built in: AI Smart Tracking. Instead of sitting on one fixed view, the camera can spot a person or a car entering the frame, swing to follow it, and zoom in automatically — then return to its watch position once the target leaves. It’s great for a driveway, a yard gate, or a shop floor. The catch is that it takes a few settings in the right order, and one prerequisite that trips almost everyone up. Here’s the whole setup.

First, make sure your camera can actually do this

Auto-tracking only works on a PTZ camera — one with a motor that physically pans, tilts, and zooms. A fixed bullet or dome can run smart detection (it can tell you a person appeared) but it can’t chase anything, because it can’t move. You also need a model that lists Auto Tracking or Smart Tracking in its spec sheet; most current Dahua and Dahua-OEM PTZ units have it, but the very cheapest do not.

One note before you start: Dahua’s menus move around between models and firmware versions. The paths below are the common layout — if a menu name doesn’t match exactly, look for the equivalent wording (it’s almost always there under Event or PTZ).

1. Get into the camera

Open a browser and go to the camera’s IP address, then log in with your admin account. If you don’t know the IP, run Dahua’s ConfigTool (or the DMSS desktop app) — it scans the local network and lists every Dahua device with its address. Older firmware may want Internet Explorer or a browser plugin for the live view; newer firmware runs fine in a normal browser.

2. Turn on the Smart Plan — this is the step people miss

Before any tracking rule will do anything, the camera’s AI engine has to be switched on for that lens. Go to Setting → Event → Smart Plan and enable IVS (Intelligent Video Surveillance). If Smart Plan is off, you can configure every tracking option perfectly and nothing will ever trigger — this one toggle is the single most common reason auto-tracking “doesn’t work.”

With the Smart Plan set, go to Setting → Event → IVS and click Add to create a rule. Choose a rule type that matches what you want to react to — Tripwire (something crosses a line), Intrusion (something enters an area), or smart motion detection. This is the “what counts as an event” layer.

3. Enable auto-tracking and pick your targets

Now the tracking behaviour itself. Go to Setting → PTZ → Smart Tracking (on some models it lives under Setting → Camera → Smart Tracking) and turn on Auto Tracking. Set your target types — for a driveway you’ll usually want both:

  • Person
  • Vehicle (sometimes labelled Motor Vehicle)

Then tune the three behaviour settings that control how it follows:

  • Tracking duration — how long it stays locked on a target before giving up and returning home.
  • Zoom ratio — how far it zooms in on the target. Start around 2–4× and adjust; too high and a fast-moving car outruns the frame.
  • Return time — how many seconds after losing the target before it swings back to its home view.

4. Give it a home position to return to

This part is easy to skip and then wonder why the camera ends up pointing at a fence. Auto-tracking needs a defined “resting” view to come back to:

  1. Go to Setting → PTZ → Preset.
  2. Move the camera to the view you want it watching by default — the wide shot of the driveway, gate, or whatever matters.
  3. Save it as Preset 1 (or any number you like).
  4. Go to Setting → PTZ → Auto Home (sometimes “Idle Motion”) and set it to return to that preset after tracking ends.

Now the loop is complete: sit on the home view, chase a target when one appears, come back to the home view afterward.

5. Draw a detection zone so it doesn’t chase the road

Without a boundary, the camera will happily lock onto every car driving past on a public street and pan away from your actual property. In the Smart Tracking or IVS settings, look for a Detection Zone or Tracking Zone option and draw a polygon over only the area you care about — your driveway and yard, not the street beyond it. This single change fixes the most common complaint people have with these cameras.

Sensitivity and tuning

Once it’s tracking, a few adjustments get it feeling right rather than twitchy:

  • Detection sensitivity — start at Medium. Bump it up if it misses targets, down if it triggers on shadows, leaves, or headlights.
  • Zoom on target — roughly 2–5× for vehicles, 3–6× for people. People are slower, so you can afford a tighter zoom.
  • Tracking speed — Medium-High suits vehicles, which move faster across the frame.
  • Scene mode — set to Outdoor if your model offers it, so exposure and detection are tuned for daylight and headlights.

Test it

Open the live view with the PTZ overlay on. Walk across the frame — the camera should lock on and follow you. Then drive a car through, or wait for one, and confirm vehicle detection kicks in. Watch how tightly it zooms and how quickly it returns home, and go back and adjust the zoom ratio and return time until it feels natural.

When it still won’t behave

  • It won’t track at all — go back to Smart Plan and confirm IVS is actually enabled on that lens. This is nearly always the cause.
  • It gives up too fast — increase the tracking duration.
  • It triggers on nothing — lower the sensitivity or tighten the detection zone.
  • It zooms in too far and loses the target — reduce the zoom ratio.
  • It won’t come back to its view — check that Auto Home is on and pointing at a preset that actually exists.

The short version

Enable IVS under Smart Plan first (this is the step everyone forgets), add an IVS rule, turn on Auto Tracking with Person and Vehicle as targets, save a home preset and set Auto Home to return to it, then draw a detection zone so the camera watches your property and not the passing traffic. Test with a walk-through and a car, tune the zoom and sensitivity, and you’re done.

Leave a Reply

Your email address will not be published. Required fields are marked *