Let’s talk

People Counting Software

  • #Facilities
  • #Object Detection

Real-time people counting for a US facility management company. It reads the existing CCTV cameras, counts visitors in and out, and alerts a manager before a floor gets too crowded.

  • Computer Vision
Live operations overview with occupancy against capacity, foot traffic and alerts

Impact

The client is a US facility management company with retail stores and office buildings. When pandemic occupancy rules arrived, it counted visitors with hand clickers at each door, side doors went uncounted, and audits put the manual counts off by roughly 28% at peak times.

We built people counting software that works on the 41 IP cameras already installed across six sites, with no new hardware. Edge boxes run detection on-site, and counts and events go to AWS for a live dashboard, alerts and foot traffic analytics.

Services we provided

Computer Vision Development

Person Detection Model Training

Edge Processing and Camera Integration

Occupancy and Distance Alerts

Analytics Dashboard

QA and Deployment

Tech Stack

Python

Pytorch

Open CV

Yolo

AWS

Store view with live occupancy, entries and exits, and people per zone on a floor plan
Entrance camera view with tracked people crossing an in and out counting line

Challenges and Solutions

🧐 Challenges

  • Clicker counts drifted by about 28% in busy hours, with groups logged as one and the total stale by the time anyone read it.
  • The system had to run on 41 existing cameras from three vendors instead of a sensor install quoted at over $90,000.
  • State guidance also required six feet between visitors, which nobody could monitor across 41 feeds by eye.

💡 Solutions

  • A YOLO-based person detector fine-tuned on about 28,000 frames from the client's own cameras, ignoring carts, bags and mannequins.
  • A tracker that follows each person across frames, so one visitor produces one count.
  • Bidirectional counting on a virtual line or polygon zone at each entrance, with counts merged across cameras.
  • Distance estimation from a one-time four-point floor calibration, with escalating crowd density alerts.
  • Edge boxes process video on-site; only counts, zone events and thumbnails reach AWS.
  • A mobile-first dashboard with live occupancy, heat maps, dwell time and footfall reports.

Business value

  • 97% people-counting accuracy across 41 camera feeds.
  • Counting error down from about 28% to 3%.
  • ~$180K/year saved on door-staff labor, about 1,100 staff hours a month.
  • <2 s from capacity breach to manager alert.
  • Distance events logged automatically as a compliance record.

User flow

1. Each edge box pulls frames from up to four existing IP cameras over RTSP.
2. The detector finds every person in the frame.
3. A tracker assigns each person an ID and follows them across frames.
4. Crossing the entrance line counts as an entry or an exit, depending on direction.
5. Occupancy is checked against capacity, and the distance between people is measured.
6. Managers see live occupancy, get alerts and pull footfall reports on the dashboard.

This website uses cookies

We use cookies to personalize content and advertising, provide social networking features, and analyze our traffic. We also share information about your use of our website with our social media, advertising and analytics partners, who may combine it with other information you have provided to them or collected from your use of their services. You agree to our cookies if you continue to use our website.

Okay, I understand