面向非机动车闯红灯识别的交通信号灯检测算法优化
Optimization of Traffic Signal Detection Algorithm for Non-Motorized Vehicle Red Light Running Recognition
摘要: 针对电动自行车闯红灯检测过程中交通信号灯存在着小目标漏检、复杂背景误检以及目标定位精度低等问题。提出了一种经过改进的YOLOv8检测方法,即YOLOv8n-BLI。首先在Head层构建BiFPN加权双向特征金字塔,强化对多尺度目标的感知能力。其次在Head的C2f模块之后引入了LSKA注意力机制,提升整个模型的鲁棒性。最后采用InnerMPDIoU取代原本的CIoU损失,提升定位的精度。实验表明:YOLOv8n-BLI检测模型其精确率P、召回率R以及平均精度mAP@0.5分别达到94.8%、92.5%以及94.6%,与近年主流轻量级模型YOLOX-s、PP-YOLOE-s、NanoDet-Plus对比,在保持154.7 FPS推理速度的同时,mAP@0.5分别提高3.9%、2.5%、4.3%。
Abstract: For the detection of red light violations by electric bicycles, there are issues such as small target missed detection, complex background false detection, and low target localization accuracy in traffic signals. A modified YOLOv8 detection method, namely YOLOv8n-BLI, is proposed. First, a weighted bidirectional feature pyramid is constructed in the Head layer to enhance the perception of multi-scale targets. Second, an LSKA attention mechanism is introduced after the C2f module in the Head to improve the robustness of the entire model. Finally, InnerMPDIoU is used instead of the original CIoU loss to enhance localization accuracy. Experiments show that the YOLOv8n-BLI detection model achieves an accuracy rate P, recall rate R, and mean average precision mAP@0.5 of 94.8%, 92.5%, and 94.6%, respectively. Compared with mainstream lightweight models such as YOLOX-s, PP-YOLOE-s, and NanoDet-Plus, while maintaining 154.7 FPS inference speed, mAP@0.5 increases by 3.9%, 2.5%, and 4.3%, respectively.
文章引用:范荣盛, 钱良辉. 面向非机动车闯红灯识别的交通信号灯检测算法优化[J]. 交通技术, 2026, 15(1): 55-68. https://doi.org/10.12677/ojtt.2026.151006

参考文献

[1] 左淑霞. 电动自行车违法抓拍系统设计与应用[J]. 中国市政工程, 2021, 49(5): 70-73, 118-119.
[2] 常梦莹. 电动自行车事故影响因素分析与管理对策研究[D]: [硕士学位论文]. 桂林: 桂林电子科技大学, 2022.
[3] 李华. 基于人工智能的非现场执法场景下闯红灯违法行为检测[D]: [硕士学位论文]. 杭州: 杭州电子科技大学, 2022.
[4] Girshick, R., Donahue, J., Darrell, T. and Malik, J. (2014) Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation. 2014 IEEE Conference on Computer Vision and Pattern Recognition, Columbus, 23-28 June 2014, 580-587. [Google Scholar] [CrossRef
[5] Liu, Y., Zhou, T., Xu, J., Hong, Y., Pu, Q. and Wen, X. (2023) Rotating Target Detection Method of Concrete Bridge Crack Based on YOLO V5. Applied Sciences, 13, Article 11118. [Google Scholar] [CrossRef
[6] Lin, T., Dollar, P., Girshick, R., He, K., Hariharan, B. and Belongie, S. (2017) Feature Pyramid Networks for Object Detection. 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, 21-26 July 2017, 936-944. [Google Scholar] [CrossRef
[7] 史涛, 崔杰, 李松. 优化改进YOLOv8实现实时无人机车辆检测的算法[J]. 计算机工程与应用, 2024, 60(9): 79-89.
[8] Deng, X., Mahmoud, M.A.B., Yin, Q. and Guo, P. (2021) An Efficient and Effective Deep Convolutional Kernel Pseudoinverse Learner with Multi-Filter. Neurocomputing, 457, 74-83. [Google Scholar] [CrossRef
[9] 曹燚, 曹倩, 钱承山, 等. 改进YOLO11的高精度课堂行为检测算法[J]. 计算机科学与探索, 2025, 19(8): 2135-2148.
[10] Zheng, Z., Wang, P., Liu, W., Li, J., Ye, R. and Ren, D. (2020) Distance-IoU Loss: Faster and Better Learning for Bounding Box Regression. Proceedings of the AAAI Conference on Artificial Intelligence, 34, 12993-13000. [Google Scholar] [CrossRef
[11] Zhang, H., Xu, C. and Zhang, S. (2023) Inner-IoU: More Effective Intersection over Union Loss with Auxiliary Bounding Box. arXiv: 2311.02877.
https://arxiv.org/abs/2311.02877