基于改进YOLOX的行人检测与跟踪算法
Pedestrian Detection and Tracking Algorithm Based on Improved YOLOX
DOI: 10.12677/csa.2026.167244, PDF,   
作者: 赵士博, 李世博, 庞博阳:沈阳航空航天大学电子信息工程学院,辽宁 沈阳;李 鹤*:沈阳工学院信息与控制学院,辽宁 抚顺
关键词: YOLOXSimAM注意力ByteTrack行人检测多目标跟踪YOLOX SimAM Attention ByteTrack Pedestrian Detection Multi-Object Tracking
摘要: 行人多目标跟踪(MOT)在智能交通、自动驾驶及公共安全监控领域应用广泛。针对现有跟踪系统存在的小目标检测精度低、密集场景易漏检、遮挡条件下身份频繁切换、轻量化设计与检测性能难以兼顾等问题,本文提出一种基于YOLOX与ByteTrack的改进型行人检测跟踪框架SSA-YOLOX。该框架引入SPHead小目标检测分支,强化浅层高分辨率特征提取,提升远距离行人与密集目标的感知能力;在特征融合阶段嵌入无参SimAM注意力机制,增强特征判别性并抑制背景干扰;采用轻量化ADown下采样模块,降低计算复杂度且保留关键特征信息;将优化后的检测器与ByteTrack集成,构建完整的多目标跟踪系统。在MOT17数据集上的实验结果表明,SSA-YOLOX以8.92 M参数量实现94.1%的AP@0.5,较原始YOLOX提升2个百分点;跟踪指标达到84.5%的MOTA与80.4%的IDF1,身份切换次数显著降低。所提方法在检测精度、跟踪鲁棒性与模型轻量化之间实现良好平衡,可满足实时行人跟踪的工程应用需求。
Abstract: Pedestrian Multi-Object Tracking (MOT) is widely applied in intelligent transportation, autonomous driving and public security monitoring. To address the problems of low small-object detection accuracy, frequent missed detections in dense scenes, identity switches under occlusion and the trade-off between lightweight design and detection performance, this paper proposes SSA-YOLOX, an improved pedestrian detection and tracking framework based on YOLOX and ByteTrack. The framework introduces the SPHead small-object detection branch to strengthen shallow high-resolution feature extraction and improve the perception of distant pedestrians and dense targets; embeds the parameter-free SimAM attention mechanism into the feature fusion stage to enhance feature discrimination and suppress background interference; adopts the lightweight ADown downsampling module to reduce computational complexity while preserving key feature information; and integrates the optimized detector with ByteTrack to construct a complete multi-object tracking system. Experiments on the MOT17 dataset show that SSA-YOLOX achieves 94.1% AP@0.5 with 8.92 M parameters, which is 2% higher than the original YOLOX. The tracking metrics reach 84.5% MOTA and 80.4% IDF1, and the number of identity switches is significantly reduced. The proposed method achieves a favorable balance among detection accuracy, tracking robustness and model lightweight, and can meet the engineering application requirements of real-time pedestrian tracking.
文章引用:赵士博, 李鹤, 李世博, 庞博阳. 基于改进YOLOX的行人检测与跟踪算法[J]. 计算机科学与应用, 2026, 16(7): 92-101. https://doi.org/10.12677/csa.2026.167244

参考文献

[1] Luo, W., Xing, J., Milan, A., Zhang, X., Liu, W. and Kim, T. (2021) Multiple Object Tracking: A Literature Review. Artificial Intelligence, 293, Article 103448. [Google Scholar] [CrossRef
[2] Chan, S., Jia, Y., Zhou, X., Bai, C., Chen, S. and Zhang, X. (2022) Online Multiple Object Tracking Using Joint Detection and Embedding Network. Pattern Recognition, 130, Article 108793. [Google Scholar] [CrossRef
[3] Divyaprabha, D. and Seebaiah, G. (2024) A Cost-Effective, Reliable and Accurate Framework for Multiple-Target Tracking by Detection Approach Using Deep Neural Network. International Journal of Electrical and Computer Engineering (IJECE), 14, 5681-5690. [Google Scholar] [CrossRef
[4] Zhu, L., Zhao, H. and Wang, W.L. (2023) An Object Detection Method in Foggy Weather Based on Novel Feature Enhancement and Fusion. Journal of Xian Polytechnic University, 37, 106-113. (In Chinese)
[5] Zhang, Y., Sun, P., Jiang, Y., Yu, D., Weng, F., Yuan, Z., et al. (2022) ByteTrack: Multi-Object Tracking by Associating Every Detection Box. In: Avidan, S., Brostow, G., Cissé, M., Farinella, G.M. and Hassner, T., Eds., Lecture Notes in Computer Science, Springer, 1-21. [Google Scholar] [CrossRef
[6] Guo, L., Yu, H.Y. and Zhou, Z.Q. (2023) Nearshore Ship Detection Method Based on SimAM Attention Mechanism. Journal of Harbin Institute of Technology, 55, 14-21.
[7] Zhang, Y., Liu, X. and Zhao, X. (2024) YOLO-SE: A Universal Real-Time Multi-Scale Object Detection Framework. 2024 IEEE International Conference on Imaging Systems and Techniques (IST), Tokyo, 14-16 October 2024, 1-7. [Google Scholar] [CrossRef
[8] Ma, Q. (2024) YOLOv5-CBAM: A Small Object Detection Model Based on YOLOv5 and CBAM. 2024 6th International Conference on Robotics, Intelligent Control and Artificial Intelligence (RICAI), Nanjing, 6-8 December 2024, 618-623. [Google Scholar] [CrossRef