Dahua NVR people counting: what the setup guides skip, and what to do when the menu greys out
Search the topic and you get the same article ten times: open the AI menu, click Smart Plan, draw a tripwire, hit Apply. That works in a Dahua training video where every camera is a current-generation WizMind unit and the recorder is a brand-new XI-series NVR with the full AI budget free. It does not work on the property you actually have.
The version of this story that includes the failure modes is more useful. People counting on a Dahua NVR is gated on three things stacked on top of each other: the camera has to run the analytic, the recorder has to have a slot for the analytic, and the layout has to satisfy a mounting and lens recipe most installs miss. This page walks through each gate, what happens when one of them fails, and the cheapest path to a count that actually covers the whole property instead of just one door.
Dahua people counting is enabled at Main Menu > AI > Parameters > Smart Plan, then drawing an area and a tripwire under People Counting. It only runs successfully if (a) the camera is a WizMind or IVS people-counting model with the analytic on board, or (b) the NVR is an AI-by-NVR capable unit (NVR5xxx-XI, N98A, NVR4xxx-AI variants) with a free AI channel. Most multifamily and small commercial properties have a mixed-generation fleet where neither condition is true on most cameras, which is why the menu greys out on most channels. The way out is either spot-replacing cameras at the doors that need counting, or reading the recorder's HDMI multiview output and running detection on every tile.
The three gates between you and a working count
The setup wizard makes the path look like one screen. It is actually three preconditions, and each one fails on a different shape of property.
Preconditions, in order
- 1
Camera capability
WizMind, IVS people-counting, or stereo camera. Pre-2019 HDCVI and most early IP units do not run the analytic on board.
- 2
Recorder capability
AI-by-NVR variant (XI, AI, N98A) with a free AI channel, OR any NVR if the camera does the work itself.
- 3
Layout recipe
≥9 ft mounting height, 30-45 degree tilt, tripwire perpendicular to traffic, single direction per line.
Miss one and the menu may still let you click through, but the count is either zero, double, or wildly off. The Dahua field guides treat this as a configuration error you can fix by tweaking the OSD overlay. It is not a configuration error. It is a hardware constraint that determines the answer before the screen even loads.
What the "AI" sticker on a Dahua NVR actually buys you
The product page says "AI". That word is doing a lot of work. The spec sheet for a typical mid-tier AI-by-NVR unit (think NVR5208-XI or an 8-channel 2AI variant) breaks down like this when you read past the marketing line.
channel of face detection / recognition on AI-by-NVR mid-tier units
channels of SMD Plus (smart motion) on the same unit
max retention for granular people-counting data before hourly rollover
Three things to notice. First, on the mid-tier AI-by-NVR units the AI runs on a small fraction of the channels. Plug in 8 cameras and AI covers 1 to 4 of them depending on which analytic. Second, people counting itself is usually delivered through the camera (WizMind or IVS people-counting model) rather than as an NVR-side analytic on these mid-tier boxes; AI-by-NVR typically lists face and perimeter, not people counting. Third, the data the NVR retains for reporting auto-rolls at six months. Year-over-year retail or tenant flow comparison means exporting the data before the rollover.
Higher-end recorders (NVR5216-16P-XI, the N98A series) have larger AI budgets, but they are also several times the cost of a basic NVR4xxx and are not what most multifamily, retail, or jobsite properties have plugged into the wall.
The native setup, and where it falls off
For the channels where it does work, the path through the menu is straightforward. The block at the bottom of this code is the part that catches most operators by surprise.
On a fleet that satisfies the three gates, that is the whole setup. Pick the channel, draw the area to constrain detection (if you skip this step the count includes people walking past in the background of the frame), draw the tripwire perpendicular to the door with the arrow pointing the way that should count as "Enter," toggle the OSD overlay so the live count shows on the wall display, and apply.
On a fleet that does not satisfy the three gates, you will hit the grey-out at one of three places: the People Counting toggle is disabled in Smart Plan because the camera does not run the analytic; the toggle is enabled but the count never increments because the recorder has no AI slot free; or the toggle works and the count runs but reads zero because the camera is mounted at the wrong angle for the analytic to fire. The grey-out is the cheapest of those failures because it tells you up front. The silent zero is the worst because the NVR happily reports a count and you only notice the count is wrong months later when someone audits the foot-traffic export.
“At one Class C multifamily property in Fort Worth, this approach caught 20 incidents including a break-in attempt in the first 30 days on a fleet that was a mix of three different camera vendors with two batches EOL. Counts at the leasing office and pool gate worked from day one without touching a single camera.”
180-unit Class C multifamily, Fort Worth TX
The path that doesn't care which camera you have
When the property has a Dahua NVR with a wall display already running in the leasing office, the cheapest way to count people on every camera (not just the WizMind ones) is to read the same signal that wall display is reading. The recorder is already drawing every camera onto a multiview tile grid. A small box plugged into the NVR's HDMI output captures that grid, splits it back into per-tile crops, and runs detection plus counting on each tile.
From the NVR's side, nothing changes. No firmware, no licenses, no AI channels consumed. The cameras still record locally to the recorder's drives the same way they always did. The HDMI box runs detection on its own SoC, on-site, with no cloud round trip required for the count itself. From the operator's side, the tripwire-and-area UX moves from the NVR's local menu to a web dashboard that shows every camera in one place. People counts are a derived product of the detection model: any camera aimed at a door produces an enter/exit count, regardless of generation. A 2014 HDCVI analog camera composited into tile 7 of a 4x4 grid gets the same treatment as a 2024 WizMind in tile 1.
The trade-offs are real and worth naming. A camera shown in a 5x5 multiview tile is downscaled to roughly 384x216 pixels by the time HDMI captures it, which is enough for person counting and basic classification but not enough for license plate reading. The HDMI box does not see ONVIF metadata, so analytics that rely on PTZ position or vendor-specific event streams are out of scope. And the operator has to disable the NVR's auto-cycle and lock the multiview to a fixed grid so each camera occupies a known tile across reboots. None of these matter for counting people at a doorway.
How to decide which path you actually want
The honest version of this decision is not "Dahua native versus a third-party box." It is "how many doors do you need to count, and what else do you need from the same hardware." A few cases:
- One or two doors, no other analytics needed. Spot-replace those cameras with a WizMind people-counting model, plug into your existing NVR, count on those channels. Cleanest, lowest-touch, no new boxes. Cost is roughly $400-700 per camera installed.
- Three or more doors, plus you also want intent-based alerts at night, plus searchable footage.Replacing every camera adds up fast and still leaves you on the NVR's native search, which is timeline-only. HDMI capture covers every camera the NVR shows, regardless of generation, and adds detection-driven alerts and natural-language search. Cyrano sits in this slot at $450 one-time and $200 per month per property.
- Enterprise retail with strict accuracy requirements and a budget for it.Dahua's 3D stereo people-counting cameras are the right answer here, mounted overhead at the door, paired with an N98A series NVR. This is the deployment the official guides are written for. Most multifamily, jobsite, and small commercial properties are not it.
- You only have HDCVI analog cameras and an NVR4xxx-1U-equivalent recorder.Native people counting is not on the table because neither the camera nor the recorder runs the analytic. HDMI capture is the only retrofit that doesn't require touching the cameras.
The mounting recipe most installs miss, and why it matters either way
Whether the count runs on the camera, the NVR, or an external box, the camera angle is the input every detector ends up working from. Get it wrong and no amount of model swapping rescues the number. Three rules from the Dahua field documentation that hold across analytics:
Mounting height.At least 9 feet above the target with a 3.6mm lens. A 2.8mm lens widens the field but flattens the people in the frame, which makes overlap (two people walking side by side) read as one. A varifocal lens lets you compensate for short ceilings, but the rule of thumb is that you want the camera looking down at people's heads, not at their faces.
Tilt angle. 30-45 degrees down from horizontal at the target. A horizontal shot from a building corner looking out across a parking lot is the worst-case scene for any people-counting analytic, native or otherwise: bodies overlap, perspective is shallow, and outdoor scene complexity (trees, shadows, vehicles) causes the IVS rule to fire intermittently.
Tripwire shape. One straight line per direction, perpendicular to the dominant traffic flow. If entry and exit happen along the same line, the line should be drawn perpendicular to the doorway with the arrow pointing in. Diagonal lines and lines that hug the door frame both produce phantom counts because a person crossing at an angle can register on both sides of the line within the same frame.
Counting people on a Dahua NVR you already own
Ten minutes on a call to walk through your fleet and figure out whether spot-replacing cameras, an HDMI capture box, or a hybrid is the cheapest path to a count that covers your whole property.
Common questions
Does every Dahua NVR support people counting?
No. People counting is gated on two separate things: the camera has to be WizMind or IVS-capable (the AI runs on the camera), or the NVR has to be one of the AI-by-NVR models (NVR5xxx-XI, N98A series, and a few others). On a mid-tier recorder labeled '2AI' the NVR-side AI typically gives you 1 channel of face detection plus 4 channels of SMD Plus, with people counting often only available via the camera. The basic NVR4xxx series without the AI variant cannot run people counting at all, even though the menu may show the icon.
Why doesn't the menu show people counting on my older Dahua cameras?
Pre-WizMind Dahua cameras (HDCVI 2014-2018 era, plus most early IVS IP cameras) do not run people-counting analytics on the camera. When the NVR enumerates AI capabilities per channel, it pulls from the camera, sees no people-counting analytic, and grays out the option. Adding people counting to those channels means either swapping the camera for a WizMind unit, or running the analytic somewhere else (an AI-capable NVR with enough free AI channels, or an external box reading the recorder output).
What is 'AI by Camera' versus 'AI by NVR' on a Dahua setup?
AI by Camera means the analytic (people counting, face detection, perimeter, ANPR) runs on the camera's own processor and the NVR just stores the result. WizMind cameras are AI by Camera. The advantage is that every camera on the recorder can run its own analytic in parallel. AI by NVR means the recorder pulls the stream, decodes it, and runs the analytic on its own SoC. The advantage is that any camera works. The disadvantage is hard channel caps: a typical AI-by-NVR mid-tier model gives you 1 face channel, 2-4 perimeter channels, and the recorder's decode budget gets cut significantly when AI is enabled.
How long does the NVR keep people counting data?
Roughly six months for the granular data, after which it auto-overwrites at hourly granularity going back further. If you need year-over-year tenant traffic comparison, you have to export to a spreadsheet or another system before the rollover happens. Reports inside the NVR are daily, weekly, monthly, yearly, but the underlying detail rolls.
Why are the counts wrong on my outdoor camera?
Three usual reasons. (1) Mounting height: the camera needs to sit at least 9 feet above the target with a 3.6mm lens, or higher with a longer focal length, so people are seen mostly from above. A horizontal outdoor shot from a building corner makes overlapping bodies look like one body and the count drops. (2) Scene complexity: trees, shadows, and parking-lot motion blur the boundary between a person and the background and the IVS rule fails to fire. (3) Direction confusion: if entry and exit happen on the same line and the line was drawn diagonally, a person crossing at an angle can register as both. The fix is one tripwire per direction, drawn perpendicular to traffic, with the camera looking down at 30-45 degrees.
Can I count people across multiple cameras and roll the counts up to a property total?
Not natively. Dahua people counting is per-channel. Each camera reports its own enter/exit/stranded numbers and the NVR shows them on the live OSD overlay or the IVS report screen. There is no built-in 'whole-property occupancy' aggregation across cameras. You either consume the data through DSS (Dahua's pro VMS, separate license), build your own export, or run an aggregation layer outside the NVR. For multifamily operators who want one number for the building, this is the gap people don't expect.
If I add a WizMind camera to my existing Dahua NVR, does that work?
Usually yes. A current-generation WizMind camera plugs into the NVR over PoE or the network, registers normally, and exposes its on-camera analytics (people counting, perimeter, face) to the NVR. The NVR shows the IVS rule editor for that channel. You don't need to upgrade the recorder firmware. The catch is that the AI lives on the camera, not the NVR, so the analytic only works while that specific camera is online and pointing at the doorway you care about. Adding one WizMind camera per entry point is the cleanest path if you only need to count at a few specific doors.
What does HDMI capture do that the NVR menu can't?
Cyrano reads the recorder's HDMI multiview output (the same signal that drives the wall display in the leasing office) and runs detection on every tile of the grid. That means it sees every camera the NVR shows, regardless of whether the camera is WizMind, plain IVS, or a 2014-era HDCVI analog. There is no AI-channel cap because the AI runs on Cyrano's own hardware. There is no per-camera license. People counts are a derived product of the detection model, so you get enter/exit numbers for any camera you have aimed at a doorway, plus a property-wide rollup, plus a search box that takes English ('how many people went through the back gate yesterday between 6 and 8 pm'). The trade-off is that you don't get per-camera ONVIF metadata and any camera shown in a 5x5 grid is downscaled to roughly 384x216 pixels, which is enough for counting people but not enough for license plate reading.
What is the actual cost difference between adding people counting via WizMind upgrades versus HDMI capture?
On a 12-camera property, WizMind replacement runs roughly $400-700 per camera installed, so $5,000-8,000 plus integrator labor, before you've added any other analytic. If you only need to count at the front gate and the leasing office door, you can spot-replace two cameras for $1,000-1,500, but you still don't cover the parking garage entry or the package room. Cyrano is $450 one-time plus $200 per month and counts on every camera the NVR shows. The math flips fast above three counted entry points or any time you also want intent-based alerts (loitering, after-hours trespassing) on the same hardware.
Will any of this break my existing Dahua NVR or void warranties?
Adding a WizMind camera, no. Enabling AI-by-NVR on a model that supports it, no. HDMI capture, no, because nothing connects to the camera VLAN, the recorder, or the management interface. The HDMI box reads the secondary display port the NVR is already driving for the wall monitor. The recorder's firmware is unchanged. The cameras are unchanged. The network is unchanged. From the NVR's perspective, a TV got plugged into HDMI2.
Keep reading
Adding AI to a legacy NVR without replacing cameras
Why protocol-level retrofit (RTSP, ONVIF, vendor SDK) collapses on real legacy fleets, and what HDMI capture sees instead.
Upgrade DVR or NVR to AI analytics
The full menu of options for putting AI on top of an existing recorder, ranked by cost, install time, and what they actually deliver.
Multifamily security camera upgrade without replacement
How property operators add detection, alerts, and search to existing cameras without ripping out wiring or paying integrator labor.
Comments (••)
Leave a comment to see what others are saying.Public and anonymous. No signup.