نظام ذكي لعد وتوجيه حركة الأجسام
Flow Count AI-powered Direction Tracker
A real-time object detection and tracking system using YOLO12 that counts objects moving across a horizontal
line in “up” or “down” directions, ideal for surveillance, production lines, and crowd monitoring.
Project Overview
FlowCount AI uses YOLO12 for real-time object detection and tracking. Objects are assigned unique IDs, and the
system counts how many cross a predefined horizontal line in upward or downward directions. It's perfect for
traffic, crowd, and production monitoring.
Key Features
Real-Time Object Detection
- 🧠 Detects objects quickly and accurately using YOLO12.
Object Tracking with IDs
- 🆔 Assigns unique IDs to objects for consistent tracking across frames.
Directional Line Crossing Count
- ⬆️⬇️ Counts objects moving up or down across a predefined horizontal line.
Visual Overlay
- 📊 Displays bounding boxes, labels, tracking points, and object counts on video.
Model Flexibility & Mouse Debugging
- ⚙️ Supports any YOLO12 pre-trained or custom model.
- 🖱️ Tracks cursor positions for quick calibration.
Technology Stack
- 🐍 Programming Language: Python
- 🎥 Video Processing: OpenCV
- 🧠 Object Detection: Ultralytics YOLO12
- 🖥️ Visualization: cvzone (optional)
Use Cases
- 👥 People Flow Analysis – Monitor entries and exits in buildings, trains, or elevators.
- 🚗 Vehicle Traffic Monitoring – Count vehicles moving in each direction on roads.
- 🏭 Industrial Automation – Track items on conveyor belts for quality control or logistics.
Conclusion
FlowCount AI delivers a lightweight, real-time solution for directional object counting. Its integration of
YOLO12 detection with tracking and movement analysis provides actionable insights for traffic, crowd, and
industrial monitoring applications.