To address the limitations of conventional social force models in simulating high-density pedestrian crowds, this study proposes an enhanced model that incorporates visual perception constraints, group-type labeling, and collective avoidance mechanisms. Pedestrian trajectories were extracted from a bidirectional commercial street scenario using OpenCV, with YOLOv8 and DeepSORT employed for multiple object tracking. Analysis of pedestrian grouping patterns revealed that 52% of pedestrians walked in pairs, with distinct avoidance behaviors observed. The improved model integrates three key mechanisms: a restricted 120° forward visual field, group-type classification based on social relationships, and an exponentially formulated inter-group repulsive force. Simulation results in MATLAB R2023b demonstrate that the proposed model outperforms conventional approaches in multiple aspects: speed distribution (error 85%); trajectory similarity (reduction of 32% in Dynamic Time Warping distance); and avoidance behavior accuracy (82% simulated vs. 85% measured). This model serves as a quantitative simulation tool and decision-making basis for the planning of pedestrian spaces, crowd organization management, and the optimization of emergency evacuation schemes in high-density pedestrian areas such as commercial streets and subway stations. Consequently, it contributes to enhancing pedestrian mobility efficiency and public safety, thereby supporting the development of a sustainable urban slow transportation system.
Zhao et al. (Mon,) studied this question.