نظام ذكي لمراقبة الشوارع وعدّ حركة الأفراد
Smart Street Surveillance: Real-Time People Flow Counter
This AI-powered surveillance system detects, tracks, and counts people in real time using deep learning.
It monitors entry and exit events across a virtual boundary, overlays live visual indicators,
and automatically logs activity for smart city and public safety applications.
Project Overview
Smart Street Surveillance is a real-time people monitoring system built with computer vision
and deep learning. Using YOLO-based human detection and persistent tracking,
the system analyzes pedestrian movement across a defined virtual line
to determine entry and exit events with high accuracy.
Key Features
YOLO-Based Human Detection
- 🧍 Detects people accurately in real-time video streams.
- 🌙 Performs well in crowded and low-light environments.
Real-Time Object Tracking
- 🆔 Assigns unique IDs to each detected person.
- 🔁 Maintains identity across multiple frames.
Entry & Exit Line Crossing Logic
- 📏 Uses a virtual boundary line to detect movement direction.
- ➡️ Distinguishes between entering and exiting individuals.
Live Counters & Visual Annotations
- 📊 Displays real-time entry and exit counters.
- 🟦 Draws bounding boxes, IDs, and tracking paths.
Event Logging & Audit Trail
- 📝 Logs every entry and exit event with timestamp.
- 📂 Exports structured logs for analytics and reporting.
Technology Stack
- 🐍 Programming Language: Python
- 🎥 Computer Vision: OpenCV
- 🧠 Object Detection & Tracking: Ultralytics YOLO
- 📊 Data Handling: Pandas & NumPy
Use Cases
- 🏙️ Smart Cities – Monitor pedestrian traffic in streets and sidewalks.
- 🏢 Corporate Buildings – Count people entering and exiting facilities.
- 🏫 Schools & Universities – Track student flow through gates.
- 🏥 Hospitals – Monitor visitor movement in sensitive areas.
- 🏘️ Gated Communities – Replace manual entry logs with AI automation.
Conclusion
Smart Street Surveillance provides a powerful, scalable, and cost-effective solution
for real-time people flow monitoring. By combining YOLO’s speed with intelligent tracking
and logging, it enables smarter decision-making for urban planning,
security management, and public safety systems.