The system uses YOLOv8-based detection plus vector flow analysis and density estimation to flag dangerous congestion patterns in real time.
To reduce false positives, it adds movement-aware heuristics and adaptive thresholds tuned for chaotic, occluded conditions.