The short answer
You can measure how many people occupy a zone without biometrics or stored faces by choosing a sensor that never resolves identity and by designing the pipeline so raw imagery never leaves the device. Time-of-flight, thermal, radar and overhead stereo sensing count people from depth or heat rather than appearance. Camera vision also works if detection is body-only, processing runs at the edge, and frames are discarded after a count is produced. Judge the method by what it retains, not by whether it uses a lens.
Key takeaways
- Occupancy is not footfall, dwell or queue length; each needs different sensing, placement and accuracy, and specifying the wrong metric is the most common cause of project failure.
- Prefer sensing that physically cannot resolve a face, such as time-of-flight, thermal or radar; a depth map or heat signature is meaningless to a viewer and cannot be leaked as imagery.
- A camera-based pipeline stays privacy-safe when detection is body-only, inference runs on-site, track IDs end at the frame edge, and only anonymous interval counts are retained or synced.
- 'Blurring later' is weaker than 'never capturing'; under data-minimization thinking, data that never existed cannot be lost, and count-only outputs usually fall outside personal-data rules.
- Entry-minus-exit occupancy accumulates every counting error across the day, so reset on a known-empty state or sense the whole area directly, then validate on your worst conditions.
- Vendor accuracy figures come from controlled conditions; real drift is driven by camera angle, lighting, occlusion, groups walking abreast and who you define as a visitor, not by the model alone.
Start with the metric, not the sensor
Most occupancy projects fail before a sensor is chosen, because “how many people” is really four different measurements. Entries over a day, people present right now, how long each stayed, and how many are waiting in a queue each need different sensing, different placement and different accuracy. A counter that reports footfall precisely can report occupancy badly, and a system tuned for occupancy may miss short visits entirely. Define the exact question per zone first: it decides everything downstream.
Occupancy—how many are present at this moment—is the measurement that surprises teams. It is usually derived two ways: a running total of directional entry minus exit counts at doorways, or sensing that covers the whole area at once. The first is cheaper but compounds every small directional error across every movement through the door, so the count drifts meaningfully wrong by closing time unless it is reset on a known-empty condition, typically overnight. The second is more robust but requires sensing coverage of the entire space, which raises cost.
If the zone is large, open and watched for trending load rather than exact numbers, whole-area sensing with a coarse occupancy band (for example, low, medium, high) is often more honest and more useful than a precise count that quietly drifts. Decide the required tolerance before picking hardware; a metric that must be exact imposes stricter sensing and validation than one that only needs to support a capacity or staffing decision.
Choose sensing that cannot see a face
If the goal is occupancy and you want to remove biometric risk by construction, prefer a method whose raw data cannot resolve identity. Time-of-flight sensors emit and time reflected light to build depth maps overhead; they count directionally, ignore lighting and work in darkness, but each unit covers only a narrow doorway-width area. Thermal sensors detect body-heat signatures, are inherently anonymous and work in the dark, but their resolution is low and accuracy degrades when ambient temperature approaches body heat. Radar counts people through non-optical signals and preserves privacy, though precision is coarser.
These non-optical approaches embody a stronger version of minimization: the device never sees a human face or identifiable feature, so the raw signal is depth points or heat patterns that no viewer, operator or attacker can interpret as an image. In privacy terms, you cannot lose or leak data you never captured. The trade-off is context—a time-of-flight sensor over a door does one job well and tells you nothing about queues, dwell or object types.
Stereo vision and camera-based vision keep that context. Two lenses derive depth and allow height filtering to exclude children or trolleys; body-detection models on cameras you may already own add direction, zones, dwell and queues. Both are valid without facial recognition, but they require deliberate privacy engineering because imagery genuinely exists at the sensor before being processed locally. Overhead mounting is far more accurate for counting than oblique views, where people stack behind one another; a repurposed security camera angled at faces is close to the worst geometry for a count.
Keep the counting pipeline anonymous by design
How the system is built matters more than which lens it uses. The privacy-safe pattern is body-only detection, inference on the device or on your own hardware, and only anonymous aggregated numbers leaving the premises. Detection reads the shape, head and shoulders of a person, tracks that shape through the frame, and counts it across a virtual line or into a zone. It never reads facial features and never needs to: entries, occupancy, dwell and queue length all work on anonymous detections and identity-free tracks that exist only while someone is in frame.
The design choices that preserve anonymity are concrete and checkable. Process locally and keep only the count, discarding the frames once a number is produced. Do not persist track IDs beyond the field of view—a track that ends at the frame edge should end, because re-identifying the same person across cameras or visits is a materially different system with materially different obligations. Aggregate over intervals rather than logging individual events where the use case allows, keep retention configurable, and separate analytics records from any security footage your CCTV recorder keeps on its own schedule.
“We anonymize the data later” is a weaker position than “we never collect identifying data.” A system that captures detailed images and then blurs them still had identifiable data exist at some point; a system that reads a scene as anonymous shapes never produces an identity to protect. Choosing the stronger position also makes a data-protection review simpler, because the system can state plainly what records exist: visitor totals, zone counts, dwell summaries and timestamps, none of which point to a named person.
The legal line: counting is not identifying
The regulatory case for count-only occupancy rests on the idea that aggregate numbers that cannot be linked to an individual fall outside personal-data rules, while a system that builds identities or profiles does not. Under the EU General Data Protection Regulation, data minimization (Article 5(1)(c)) requires personal data to be limited to what is necessary for the purpose; a system that produces “142 people were present at 15:00” and discards the imagery never generates personal data as output. The French regulator CNIL draws a related line for “augmented cameras”: when a device calculates anonymous statistics without an immediate operational purpose, it can already be deployed, whereas uses that effectively remove people’s ability to object require a specific legal basis.
The distinction matters commercially as well as legally. Counting and identifying are different activities: counting is movement as anonymous aggregates; identifying is matching appearance to a person or profile. A system that tracks one person across cameras, stores face embeddings or infers behavior adds regulatory exposure—under the EU AI Act, certain biometric categorization and emotion-recognition uses are treated as high-risk—without improving the occupancy figure at all. When only an occupancy number is required, preferring time-of-flight or thermal answers the question with the easiest compliance conversation.
This is general information, not legal advice. Rules vary by jurisdiction and deployment: what is anonymous aggregate data under one regime may be personal data under another, and device-based counting (for example, from Wi-Fi or Bluetooth identifiers) can be personal data in many circumstances even though no camera is involved. Confirm your obligations with a data protection advisor and document the purpose of every camera before go-live.
- Run inference at the edge and ensure raw frames never leave the site or the device.
- Verify that no face embeddings, gait signatures or biometric templates are ever generated.
- Define mutually exclusive zones so overlapping camera views never double-count a person.
- Post clear notice and, in a workplace, consult worker representatives before deploying.
- Keep a written record of each camera’s purpose so an assessment is straightforward.
Validate accuracy on your worst conditions before trusting the number
Published accuracy figures are quoted under conditions that rarely match a real deployment. The factors that actually move a count are geometric and physical: groups walking abreast through a wide door undercount because the sensor sees one shape; occlusion from trolleys, umbrellas, luggage and dense crowds hides people from any method needing a clear view; oblique camera angles stack people behind one another; and backlit entrances at sunrise or sunset are the hardest case for vision. Doorway width relative to sensor coverage matters more than a sensor’s rated accuracy.
Two other errors are definitional rather than technical. Someone loitering in a doorway can generate repeated crossings unless you add a persistence rule that requires a track to be established before it counts. And staff, cleaners, deliveries and people merely passing through are usually the largest single source of disagreement between a system and a manual audit. Excluding them does not require naming anyone: it works from patterns and configured rules, not from a database of who your staff are.
Whatever you deploy, validate against a manual count on your worst conditions—the busiest hour, the worst lighting and the widest entrance—because accuracy under those conditions is the only number that matters. Re-validate after any camera move. A count that must be exact deserves whole-area sensing or a nightly reset; a count that supports capacity and staffing decisions can tolerate more drift as long as the error is known and consistent.
Staff exclusion and queue definitions without identity
In workplaces and retail, a clean occupancy or footfall figure usually must exclude employees who cross the entrance repeatedly for breaks, deliveries and errands. Excluding staff does not require facial recognition or an enrollment step; it works by excluding movement that matches configured staff zones, schedules or uniform-classified regions, or simply by defining the counted zone so staff-only areas are not included. The purpose is to fix the denominator, not to name people.
Similarly, a queue-length or wait metric needs a definition of where the queue starts, which is rarely a tidy line in a real space. Define the zone boundary, the persistence window and the counting trigger explicitly before comparing results. Every measurement described here works on anonymous person detections with identity-free tracks; adding identification increases legal exposure while improving none of these metrics.
Put it into practice
Privacy-safe occupancy: method-selection and vendor-audit checklist
Use this checklist when a zone-occupancy project must avoid facial recognition and stored imagery. Work through it once at specification time to choose the sensing method, and again before go-live to audit the vendor’s claims against how the system actually behaves.
- Write the exact question for each zone: people present now, entries today, dwell time or queue length, and the accuracy tolerance the decision requires.
- Choose a sensor family by the worst-case scene: thermal or time-of-flight for dark or narrow doorways, overhead camera vision where you need context such as queues and object classes.
- Confirm the hardware cannot resolve identity in raw output: depth maps or heat signatures only, with no face-level imagery produced at any stage.
- Verify where inference runs and what leaves the site: raw frames should stay local and be discarded after a count; only anonymous interval numbers should sync.
- Ask what records actually exist and their retention: counts, timestamps and zone summaries only, with retention you configure and separate from any CCTV footage.
- Confirm there is no cross-camera re-identification and that short-lived track IDs end when a person leaves the frame.
- Ask how staff and deliveries are excluded without naming anyone or requiring biometric enrollment.
- Run a manual count validation at the busiest hour, worst lighting and widest entrance, and record the deviation you observe.
- If occupancy is entry-minus-exit, schedule a nightly reset on a known-empty condition, or plan whole-area sensing for exact figures.
- Document each camera’s purpose, post visible notice, and complete a data-protection impact note before go-live.
Questions people ask
Do I need facial recognition to count people in a zone?
No. Occupancy, footfall, dwell and queue length all work on anonymous body detection with identity-free tracks that exist only while a person is in frame. Detection reads the shape and position of a person, not facial features. Adding identification increases legal exposure and operational risk without improving any of these measurements, so it is unnecessary for zone counting.
Is camera-based counting of anonymous aggregate numbers GDPR-compliant?
Generally yes when done correctly. Counting that produces only aggregate numbers, such as a count of people present in an interval, without identifying or tracking individuals, and that discards the imagery immediately, does not generate personal data as output and typically falls outside personal-data rules. Compliance depends on your full deployment and jurisdiction, so confirm the details—including where frames are processed and retained—with a data protection advisor.
How accurate is occupancy derived from entry minus exit counts?
It accumulates every counting error across the day, because a small directional error repeated across each movement through the door compounds into meaningful drift by closing time. For reliable occupancy either sense the whole area directly or reset the running total on a known-empty condition, typically overnight. Real-world accuracy depends far more on camera angle, lighting, occlusion and your definition of a visitor than on the model.
Why do vendors’ accuracy claims not match my real counts?
Because figures are quoted under controlled conditions that rarely match a live site. Groups walking abreast undercount, occlusion hides people, oblique camera angles stack them, and backlit entrances defeat vision at sunrise and sunset. Doorway width relative to sensor coverage matters more than rated accuracy. Validate against a manual count at your busiest hour and worst lighting rather than relying on any published figure.
Can staff be excluded from counts without identifying or enrolling them?
Yes. Staff exclusion works from patterns and configured rules—staff-only zones, schedules, or defined counted areas—rather than from recognizing a named person. It fixes the denominator so employees crossing the entrance for breaks and deliveries do not inflate footfall, without building a database of who your staff are and without any facial recognition or biometric enrollment.
Sources and further reading
Sources were checked when this page was generated. Confirm changing dates, rules and prices with the original publisher.
- People Counting and Occupancy Analytics MethodsUltralytics
- The Privacy Paradox in People CountingTerabee
- Privacy-First People Counting (No Facial ID)CountPort
- Deployment of 'smart' cameras in public spaces: the CNIL sets red linesLabo Société Numérique (Government of France)
- Видеонаблюдение и персональные данные: требования, согласие и хранение записейКибероснова