An Enhanced Framework for Real-Time Dense Crowd Abnormal Behavior Detection Using YOLOv8

Authors:

Abstract
Abnormal behavior detection in dense crowds, during the Hajj pilgrimage, is critical for public safety. Existing approches faces challenges due to factors like illumination variations, occlusion, and uniform attire. This research introduces the Crowd Anomaly Detection Framework (CADF), an enhanced version of YOLOv8, designed to address these challenges. The framework features a modular backbone, multi-scale feature fusion, and soft-NMS to improve detection accuracy in over crowded scenes. Applied to the HAJJv2 dataset, the CADF shows significant improvements in detection accuracy, achieving an AUC of 88.27% performing better then YOLOv2 by 13.09% and YOLOv5 by12.19% with a high F1 score of 94.7%. The framework is reliable for enhancing public safety during large-scale events, aligning with Sustainable Development Goals 3 and 11 to improve health, well-being, and urban safety