Lightweight Traffic Object Detection Model Based on Improved YOLOv5n
DOI:
https://doi.org/10.54097/nk6qgp19Keywords:
YOLOv5n, Lightweight, HGNetV2, Dysample, MBConv, Traffic Object DetectionAbstract
Aiming at the problems of the lightweight YOLOv5n model in complex traffic scenarios, such as easy missed detection of small objects, low recognition accuracy of occluded objects, and loss of feature fusion information, this paper proposes an improved detection model with multi-module collaborative optimization. Firstly, the original CSPDarknet53 backbone network is replaced and fine-tuned with the HGNetV2 lightweight structure to enhance the feature extraction ability for small-scale and occluded objects. Secondly, the Detect_MBConv module is introduced to reconstruct the detection head, reducing computational overhead based on depthwise separable convolution. Meanwhile, Dysample dynamic upsampling is used to replace traditional interpolation to improve the quality of cross-scale feature fusion. Experiments are conducted based on the BDD100K traffic dataset. The results show that the improved model achieves 86.24% mAP@0.5, 98 FPS inference speed, and only 2.23 M parameters. Compared with the original model, the accuracy is significantly improved. The model can be effectively applied to edge low-computing devices such as vehicle-mounted terminals and surveillance cameras, meeting the requirements of real-time and high-precision detection in actual traffic scenarios.
Downloads
References
[1] Howard, A. G., Zhu, M., Chen, B., Kalenichenko, D., Wang, W., & Weyand, T. (2017). MobileNets: Efficient convolutional neural networks for mobile vision applications.
[2] Zhang, X., Zhou, X., Lin, M., & Sun, J. (2017). ShuffleNet: An extremely efficient convolutional neural network for mobile devices.
[3] Tan, M., & Le, Q. V. (2019). EfficientNet: Rethinking model scaling for convolutional neural networks.
[4] Kim, K. S., Kim, K. S., J. W. I., J. S., Hwang, G. T., & Woo, S. K. (2023). Deep neural network-based automatic dicentric chromosome detection using a model pretrained on common objects. Diagnostics, 13(20). https://doi.org/ 10.3390/ diagnostics 13203191.
[5] Ghahremannezhad, H., Shi, H., & Liu, C. (2023). Object detection in traffic videos: A survey. IEEE Transactions on Intelligent Transportation Systems, 24(7), 6780–6799. https:// doi. org/10.1109/TITS.2023.3248612.
[6] Chen, T., & Ren, J. (2023). MFL-YOLO: An object detection model for damaged traffic signs.
[7] Shi, Y., Li, X., & Chen, M. (2023). SC-YOLO: An object detection model for small traffic signs. IEEE Access, 11, 11500–11510. https://doi.org/10.1109/ ACCESS. 2023. 3242 678.
[8] Li, A., Sun, S., Zhang, Z., Feng, M., Wu, C., & Li, W. (2023). A multi-scale traffic object detection algorithm for road scenes based on improved YOLOv5. Electronics, 12(4), 878. https:// doi. org/10.3390/electronics12040878.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Frontiers in Computing and Intelligent Systems

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

