Journal of Jilin University(Engineering and Technology Edition) ›› 2025, Vol. 55 ›› Issue (10): 3309-3318.doi: 10.13229/j.cnki.jdxbgxb.20250016

Previous Articles    

Vehicle target detection method based on the YOLOv10-vehicle algorithm under complex weather conditions

Hong DU(),Chen-yu GU,Xiao-zheng ZHANG,Gao-tian LIU,Xing-xin LI,Zhong-lin YANG   

  1. China Northern Vehicle Research Institute,Beijing 100072,China
  • Received:2025-01-06 Online:2025-10-01 Published:2026-02-03

Abstract:

In the face of complex weather conditions such as cloudy days, rainy days, and nights, vehicle target detection is affected by factors such as lighting, rain, snow, and dust. As a result, problems like false detections and missed detections occur. To address these issues, a YOLOv10-vehicle target detection algorithm is proposed. Firstly, a new attention mechanism module named WT-PSA is designed to improve the model's attention to vehicle targets under complex weather. Secondly, the SPPF module is improved by introducing the average pooling operation to address the problem of insufficient feature information extraction caused by the max pooling operation. Then, an improved C2f-OD module is put forward to enhance the ability of the backbone network to extract image feature information. Finally, the model's loss function is replaced with Focal EIoU to accelerate the convergence speed and reduce the loss value. Comparative experiments are conducted on the vehicle dataset UA-DETRAC. The mean average precision (mAP@0.5) of the improved algorithm is increased by 5.1% compared with that of the original algorithm, demonstrating the superiority of the YOLOv10-vehicle algorithm in vehicle detection under complex and severe weather conditions. Meanwhile, experiments are also carried out on the VOC public dataset. The detection accuracy of the YOLOv10-vehicle algorithm in detecting vehicle targets is improved by 2.8%, which verifies the generalization ability of the improved algorithm in this paper.

Key words: vehicle target detection, YOLOv10n, C2f module, severe weather

CLC Number: 

  • TP391.4

Fig.1

Diagram of YOLOv10n network structure"

Fig.2

Diagram of YOLOv10-vehicle network structure"

Fig.3

Example diagram of wavelet convolution"

Fig.4

Structural diagram of WT-PSA module"

Fig.5

Structural diagram of ODConv"

Fig.6

Structural diagram of C2f-OD module"

Fig.7

Structural diagram of SPPF_A module"

Fig.8

Some figures of vehicle datasets"

Table 1

Model training environment"

环境项环境规格
CPUIntel(R) Core(TM) i5-13600KF
内存32 GB
显卡NVIDIA RTX 4070
操作系统Windows 11
编程语言Python 3.9.19
深度学习框架Pytorch 2.4.0
集成开发环境Pycharm 社区版
CUDA12.1
CUDNN9.0.0

Table 2

Experimental hyperparameters"

超参数系数值
初始学习率η00.01
循环学习率η0.01
动量β0.937
批次大小16
图片尺寸/像素640×640
训练轮次100
预热学习轮数3.0
预热训练动量0.8
IoU训练阈值0.7

Fig.9

Comparison of CAM before and after addition of WT-PSA"

Table 3

Comparison table of ablation experiment results"

实验序号WT-PSAC2f-ODSPPF_AFocal EIoUParams/106FLOPs

mAP

0.5%

1××××2.708.382.7
2×××3.338.883.9
3××3.709.086.5
4×3.759.186.9
53.759.187.8

Table 4

Comparison experiment table of different algorithms"

ModelParams/106GFLOPS

mAP

0.5%

mAP0.5%~0.95%
Faster-RCNN36.523.393.860.4
YOLOv7-tiny6.0113.282.954.7
YOLOv8n3.018.278.750.0
YOLOv10n2.708.382.757.6
YOLOv10s8.0424.686.759.2
YOLOv11n2.586.378.350.2
Ours3.759.187.860.2

Fig.10

Comparison chart of performance of YOLOv10-vehicle model"

Table 5

Comparison results on the VOC dataset"

ModelmAP@0.5%mAP@0.5-Car%
YLOLv10n37.752.4
YOLOv10-vehicle37.355.2
[1] 赵奇慧, 刘艳洋, 项炎平. 基于深度学习的单阶段车辆检测算法综述[J]. 计算机应用, 2020, 40(): 30-36.
Zhao Qi-hui, Liu Yan-yang, Xiang Yan-ping. A review of single-stage vehicle detection algorithms based on deep learning[J]. Journal of Computer Applications, 2020, 40 (Sup.2): 30-36.
[2] 梁鸿, 王庆玮, 张千, 等.小目标检测技术研究综述[J]. 计算机工程与应用, 2021, 57(1): 17-28.
Liang Hong, Wang Qing-wei, Zhang Qian, et al. A review of research on small object detection technology[J]. Computer Engineering and Applications, 2021, 57(1): 17-28.
[3] Simonyan K, Zisserman A.Very deep convolutional networks for large-scale image recognition[J]. Computer Science, 2014, 21(8): 91-103.
[4] Krizhevsky A, Sutskever I, Hinton E G. ImageNet classification with deep convolutional neural networks[J]. Communications of the ACM, 2017, 60(6): 84-90.
[5] Ren S Q, He K M, Girshick R, et al. Faster R-CNN: towards real-time object detection with region proposal networks[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2017, 39(6): 1137-1149.
[6] 薛珊, 王亚博, 吕琼莹, 等. 基于YOLOX-drone的反无人机系统抗遮挡目标检测算法[J]. 工程科学学报, 2023, 45(9): 1539-1549.
Xue Shan, Wang Ya-bo, Qiong-ying Lü, et al. Anti-occlusion target detection algorithm for Anti-UAV systems based on YOLOX-drone[J]. Journal of University of Science and Technology Beijing, 2023, 45(9): 1539-1549.
[7] 薛珊, 卢涛, 吕琼莹, 等. 基于多尺度融合和轻量化网络的无人机目标检测算法[J]. 湖南大学学报: 自然科学版, 2023, 50(8): 82-93.
Xue Shan, Lu Tao, Qiong-ying Lyu, et al. UAV Target detection algorithm based on multi-scale fusion and lightweight network [J]. Journal of Hunan University(Natural Sciences), 2023, 50(8): 82-93.
[8] 薛珊, 张亚亮, 吕琼莹, 等. 复杂背景下的反无人机系统目标检测算法[J]. 吉林大学学报: 工学版, 2023,53(3): 891-901.
Xue Shan, Zhang Ya-liang, Qiong-ying LÜ, et al. Target detection algorithm for Anti-UAV systems in complex backgrounds[J]. Journal of Jilin University (Engineering and Technology Edition), 2023, 53(3): 891-901.
[9] 周飞, 郭杜杜, 王洋, 等. 基于改进YOLOv8的交通监控车辆检测算法[J]. 计算机工程与应用, 2024, 60(6): 110-120.
Zhou Fei, Guo Du-du, Wang Yang, et al. Traffic monitoring vehicle detection algorithm based on improved YOLOv8[J]. Computer Engineering and Applications, 2024, 60(6): 110-120.
[10] 许德刚, 王双臣, 王再庆, 等. 改进YOLOv8算法的城市车辆目标检测 [J]. 计算机工程与应用, 2024, 60(18): 136-146.
Xu De-gang, Wang Shuang-chen, Wang Zai-qing, et al. Urban Vehicle target detection algorithm based on improved YOLOv8[J]. Computer Engineering and Applications, 2024, 60(18): 136-146.
[11] 张利丰, 田莹. 改进YOLOv8的多尺度轻量型车辆目标检测算法[J]. 计算机工程与应用, 2024, 60(3): 129-137.
Zhang Li-feng, Tian Ying. An improved YOLOv8-based multi-scale lightweight vehicle object detection algorithm[J]. Computer Engineering and Applications, 2024, 60(3): 129-137.
[12] Redmon J, Divvala S, Girshick R, et al. You only look once: unified, real-time object detection[C]∥IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, USA, 2016: 779-788.
[13] Redmon J, Farhadi A. YOLO9000: better, faster, stronger[C]∥IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, USA, 2017: 6517-6525.
[14] Redmon J, Farhadi A. YOLOv3: an incremental improvement[C]∥IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, USA, 2018:774-782.
[15] Bochkovskiy A, Wang C Y, Liao H. YOLOv4: optimal speed and accuracy of object detection[J/OL].[2020-04-23]. .
[16] 薛珊, 陈宇超, 吕琼莹, 等. 基于双支路神经网络的无人机图像识别方法[J]. 计算机仿真, 2023, 40(7): 233-238.
Xue Shan, Chen Yu-chao, Qiong-ying Lü, et al. UAV Image recognition method based on dual-branch neural network[J]. Computer Simulation, 2023, 40(7): 233-238.
[17] Wang A, Chen H, Liu L H, et al. YOLOv10: real-time end-to-end object detection[J/OL].[2020-04-23]. .
[18] Ben-Hamu H, Wolf L, Polyak A. Wavelet convolutions for large receptive fields[J/OL].[2020-04-23]. .
[19] Yao A, Shen Y, Guo Y. Omni-dimensional dynamic convolution[J/OL].[2020-04-23]. .
[20] Zhang Y, Ren W, Zhang Z, et al. Focal and efficient IOU loss for accurate bounding box regression[J/OL].[2020-04-23]. .
[21] 薛珊, 张振, 吕琼莹, 等. 基于卷积神经网络的反无人机系统图像识别方法[J]. 红外与激光工程, 2020, 49(7): 250-257.
Xue Shan, Zhang Zhen, Qiong-ying Lü, et al. Image recognition method of anti-UAV system based on convolutional neural network[J]. Infrared and Laser Engineering, 2020, 49(7): 250-257.
[22] Jocher G, Chaurasia A, Qiu J. YOLO by ultralytics[J/OL].[2020-04-23]..
[1] Fei SHAN,Hui LI,Hao SUN,Shi-gang NIE,Zhong-hu SHEN. Pavement distress identification method based on improved simAM-YOLOv8 [J]. Journal of Jilin University(Engineering and Technology Edition), 2026, 56(1): 219-230.
[2] Yan YANG,Wang-liang SHEN. Multi⁃scale detail enhancement and layered noise suppression algorithm for image dehazing [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(12): 4010-4023.
[3] Tian-min DENG,Peng-fei XIE,Yang YU,Yue-tian CHEN. Method of lane detection based on adaptive fusion of double branch features [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(12): 3840-3851.
[4] Xin GUAN,Zi-jian ZHOU,Qiang LI. Human pose estimation based on graph structure guidance and location information enhancement [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(10): 3283-3295.
[5] Lin LIN,Yu-xin CHEN,Wei-zhi NAI. Adaptive real⁃time gesture classification algorithm based on gesture frame sequence extraction [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(9): 3042-3048.
[6] Yan PIAO,Ji-yuan KANG. RAUGAN:infrared image colorization method based on cycle generative adversarial networks [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(8): 2722-2731.
[7] Shan-na ZHUANG,Jun-shuai WANG,Jing BAI,Jing-jin DU,Zheng-you WANG. Video-based person re-identification based on three-dimensional convolution and self-attention mechanism [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(7): 2409-2417.
[8] Xiang-jiu CHE,Liang LI. Graph similarity measurement algorithm combining global and local fine-grained features [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(7): 2365-2371.
[9] Bin WEN,Shun PENG,Chao YANG,Yan-jun SHEN,Hui LI. Multi⁃depth adaptive fusion dehazing generation network [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(6): 2103-2113.
[10] Rui-shan DU,Zi-shan WANG. Multi perspective facial expression recognition algorithm based on spatiotemporal attention [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(6): 2097-2102.
[11] Xiang-jiu CHE,Yu-peng SUN. Graph node classification algorithm based on similarity random walk aggregation [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(6): 2069-2075.
[12] Qing-liang JIN,Xin-sen ZHOU,Yi CHEN,Cheng-wen WU. Predictive model for identifying innovative university talents based on the swarm intelligence evolution enhanced kernel extreme learning machine [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(5): 1763-1771.
[13] Yun-fei QIU,Hong-miao YU,Xiang WANG. 3D laser point cloud recognition based on point-to-point feature algorithm and SVD decomposition [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(5): 1735-1741.
[14] Hong XIAO,Xian-de LIU. A facial subtle feature recognition algorithm considering the correlation between learning interests and micro expressions [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(5): 1728-1734.
[15] Bin WEN,Yi-fu DING,Chao YANG,Yan-jun SHEN,Hui LI. Self-selected architecture network for traffic sign classification [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(5): 1705-1713.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!