Retail People Counter Real-Time Entry/Exit Flow System

Ghali

Ghali Jeddou

πŸ›οΈ Retail People Counter Real-Time Entry/Exit Flow System

I built a real-time people counting system πŸ›’πŸ‘₯ using YOLOv8 and OpenCV. It detects and tracks people crossing a line to count entries, exits, and net flow πŸ“Š, perfect for retail stores, gyms, or events. Supports video files, webcams, and live streams, with clear visual overlays so you see the numbers in real time.
Helps businesses make data-driven decisions on staffing, layout, and visitor flow based on accurate, real-time analytics
Demo
Demo

🎯 Features

🎬 Real-time People Detection: Uses YOLOv8 Large model for accurate person detection
πŸ“Š Flexible Line-Based Counting: Horizontal or vertical line orientation for any movement direction
πŸ“ˆ Net Flow Analysis: Shows honest flow metrics instead of misleading occupancy counts
πŸŽ₯ Multiple Input Sources: Support for video files, webcam, and live footage
πŸ”§ Optimized Performance: Fine-tuned confidence thresholds and tracking parameters
πŸ’Ύ Export Capability: Save processed video with counting overlays
βœ… Automatic Setup: Downloads required YOLO models automatically
πŸŽ›οΈ Command Line Interface: Comprehensive argument system for full control

πŸ“Š What It Measures

Important: This system tracks Entry/Exit Flow, not absolute occupancy:
βœ… Accurate: "12 people entered, 11 people left during this period"
βœ… Honest: "Net flow: +1 person increase"
❌ Not claiming: "There are exactly X people in the area"
This is perfect for understanding traffic patterns, peak hours, and directional flow!

Like this project

Posted Aug 13, 2025

Real‑time, honest people flow tracking system using YOLOv8 and OpenCV: see exactly how many people entered, exited, and the net change on screen

Likes

0

Views

1

Timeline

Mar 13, 2024 - Apr 13, 2024