首页|期刊导航|工程科学与技术|基于改进YOLOv5和CombineSORT的车联网路侧视觉感知

基于改进YOLOv5和CombineSORT的车联网路侧视觉感知OA

Roadside Visual Perception in Internet of Vehicles Based on Improved YOLOv5 and CombineSORT

中文摘要英文摘要

车路协同是中国实现智能汽车与智慧城市协同发展的重要战略,是弥补自动驾驶与欧美技术差距的核心路线.路侧视觉感知作为车路协同的关键技术手段,能够通过固定视角的摄像头实时监测交通目标,为智能网联系统提供高精度环境感知数据.然而,由于广角镜头下远端目标过小、复杂交通流下车辆相互遮挡频繁、低码率视频中目标运动模糊,以及高流量路口的多路数据同步处理需求,路侧视觉感知在实际应用中往往存在目标漏检、误检或目标ID变换问题.为此,本文兼顾检测精度与运算效率,提出一种基于改进YOLOv5模型和CombineSORT算法的图像识别及跟踪方法.在目标识别环节,通过引入多尺度特征增强模块优化YOLOv5的特征金字塔网络,结合超高效交并比损失函数与网络剪枝技术,显著增强了对小目标及遮挡目标浅层细节特征的提取能力,消融实验表明,在几乎不改变原模型大小的前提下,将mAP@90从0.894提升至0.937.在目标跟踪环节,通过在DeepSORT框架基础上集成Bot-SORT算法的强特征提取网络与StrongSORT算法的联合相似度矩阵,提出了CombineSORT算法,该算法以多项式拟合取代传统的卡尔曼滤波进行运动轨迹预测,舍弃了相机运动补偿,从而在复杂场景下实现了更平滑、更准确的跟踪.实验结果表明,在高流量十字路口场景下,召回率达到96.27%,多目标跟踪精度为0.900,且整体处理时间控制在80 ms以内,显著优于YOLOX、YOLOv7结合DeepSORT等主流组合,证明了其工程实用性.该方法采用轻量化设计,适配现有的边缘计算设备,可直接部署于车联网路侧单元,为智慧交通管理和高级别自动驾驶提供可靠的技术支撑,具有广阔的车路协同应用前景.

Objective Visual inspection is a critical technology for roadside perception in vehicle-road cooperative systems.However,in practical applica-tions,achieving both high detection accuracy and computational efficiency simultaneously remains challenging due to limited computing re-sources.This study proposes a novel method based on an improved YOLOv5 combined with CombineSORT for image recognition and target tracking,which achieves strong detection performance while maintaining low computational time cost,as demonstrated through experimental results. Methods Firstly,Multi-scale Feature Enhancement(MFE)was applied to the FPN of YOLOv5 to extract shallow target details.This module was mainly composed of Scale Fusion,CombineFPN,and Pixel‒Region Attention.A super-efficient IOU(SEIOU)loss function and network pruning were applied to improve convergence and reduce model complexity.In this process,the loss was calculated based on differences in length,width,and diagonal between the detection boxes and the ground-truth boxes,while batch normalization(BN)layer sparsification was applied for convo-lutional channel filtering.Secondly,by combining DeepSORT,StrongSORT,and Bot-SORT,a new multi-target tracking method named Combine-SORT was presented.In this approach,the basic framework of DeepSORT was adopted,and the BotNet with ResNet50 as the backbone was uti-lized to extract appearance features.Kalman filtering was replaced by polynomial fitting to improve trajectory smoothness,while the joint similar-ity matrix from StrongSORT was utilized to match targets with trajectories.Based on the operational procedure of the proposed algorithm,a se-ries of experiments was designed to validate its effectiveness.Using images from real intersections,ablation tests verified the effectiveness and data volume contribution of each improved module.The algorithm was then compared to classical methods using intersection video streams with varying traffic volumes,all of which were executed on a mobile edge computer(MEC)with limited computing resources. Results and Discussions Through ablation tests,the original YOLOv5 achieved an mAP@90 of 0.894 with a parameter quantity of 21.2 M.Scale Fusion,CombineFPN,and Pixel‒Region Attention increased the mAP@90 of the original model to 0.91,0.923,and 0.916,respectively,while the parameter quantity increased to 24.4,25.3,and 24.1 M,respectively.The YOLOv5 model integrating all three modules achieved an mAP@90 of 0.939 with a parameter quantity of 31.0 M,after which network pruning reduced the parameter quantity to 6.6 M while maintaining an mAP@90 of 0.937.Through three groups of real intersection experiments,the average recall rates for Group 1 to 3 were 97.68%,95.83%,and 96.76%,while the multiple object tracking accuracy(MOTA)values were 0.944,0.890,and 0.910,respectively.Among all target categories,pedestrians and non-motorized vehicles exhibited relatively poor detection performance.Especially in Group 2,the recall rate and MOTA for pedestrians were 89.98%and 0.75,respectively,while those for non‒motorized vehicles were as low as 84.5%and 0.675.This behavior occurred because these two target types had relatively small sizes and did not strictly follow traffic rules,which caused frequent occlusion and increased trajectory prediction difficulty.In addition,the recall rates of buses and trucks were nearly 3 percentage points lower than those of cars,especially in the group,where the recall rates were only 94.81%and 94.92%,respectively.This issue occurred because box trucks and buses exhibited similar ap-pearance features,which increased the likelihood of misidentification from rear perspectives.When comparing the overall processing perfor-mance of different algorithms at low-volume intersections,the worst test result achieved a recall rate of 96.54%with a MOTA value of 0.938,while the best result achieved a recall rate of 97.69%with a MOTA value of 0.946.These results indicated that most algorithms achieved good de-tection performance under sparse target conditions,and lightweight models demonstrated advantages when considering computational resource constraints.However,for high-volume intersections,although the lightweight algorithm based on EfficientNet and ByteTrack exhibited the short-est computation delay,its recall rate and MOTA value were only 91.75%and 0.817,respectively.In contrast,algorithms based on YOLOv5,YOLOX,YOLOv7,and the improved YOLOv5 proposed in this study achieved recall rates ranging from 95.26%to 96.28%,while algorithms combined with DeepSORT,StrongSORT,Bot-SORT,and CombineSORT achieved MOTA values ranging from 0.887 to 0.901.However,most of these methods exhibited computation times exceeding 80 ms,which prevented real-time operation.Among algorithms with computation times be-low 80 ms,the proposed method based on improved YOLOv5 and CombineSORT achieved the best overall performance,with a recall rate of 96.27%and an MOTA value of 0.900,which confirmed its ability to balance detection accuracy and computational efficiency. Conclusions This study focuses on traffic target perception from a fixed roadside perspective,and the results demonstrate the effectiveness and accuracy of the proposed algorithm.Compared to other commonly used algorithms,the proposed approach simultaneously achieves higher detec-tion accuracy and lower time cost at high-volume intersections,indicating strong application potential in vehicle road collaboration scenarios.For improved engineering practices,further research can be conducted to enhance recognition and tracking performance based on continuous image sequences under adverse weather conditions.

李晓晖;杨杰;夏芹

中国汽车工程研究院股份有限公司,重庆 401122||中汽院(江苏)汽车工程研究院有限公司,江苏 苏州 215153中国汽车工程研究院股份有限公司,重庆 401122中国汽车工程研究院股份有限公司,重庆 401122

交通工程

车路协同路侧感知图像识别YOLOv5CombineSORT

vehicle-road cooperativeroadside perceptionimage recognitionYOLOv5CombineSORT

《工程科学与技术》 2026 (2)

46-56,11

江西省重点研发计划项目(20243BBG71033)

10.12454/j.jsuese.202400467

评论