首页|期刊导航|机电工程技术|基于改进YOLOv11算法的车辆类型及交通事故检测预警方法

基于改进YOLOv11算法的车辆类型及交通事故检测预警方法OA

Detection and Early Warning Method of Vehicle Type and Traffic Accident Based on Improved YOLOv11 Algorithm

中文摘要英文摘要

针对复杂交通环境中传统检测算法因小目标检测精度不足、特征融合不充分而出现误检漏检的问题,为满足该类场景下van、truck、oil tank car等车辆精准识别与事故实时预警的运输安全需求,基于YOLOv11研究了复杂交通场景下车辆及事故的检测预警技术,提出基于改进YOLOv11的检测预警方法.特征提取阶段设计带切片操作的SimAM注意力模块,将特征图切片为多张子图并分别施加SimAM注意力,强化各类型车辆的局部细节特征;特征融合阶段构建内容引导注意力(CGA)混合融合方案,结合特征金字塔网络(FPN)与路径聚合网络(PAN)优势,依据车辆与设备背景的特征差异动态分配权重,实现跨尺度特征高效融合.实验采用的自建数据集基于Roboflow的公开交通数据集,含6 832张图像,涵盖多种交通枢纽场景,目标类别为van、acci-dent、bus、car、oil tank car、truck.结果显示,改进算法均值平均精度(mAP@0.5)达91.3%,检测精度、召回率较原YOLOv11分别提升2.1%、1.9%,可有效适配众多交通场景,为交通运行安全管控提供技术支撑.

To address the problem of false detections and missed detections in traditional detection algorithms due to insufficient detection accuracy for small targets and inadequate feature fusion in complex traffic environments,and to meet the transportation safety requirements of accurate identification of vehicles such as vans,trucks,and oil tank trucks as well as real-time accident early warning in such scenarios,based on YOLOv11,the detection and early warning technology for vehicles and accidents in complex traffic scenarios is studied,and an improved YOLOv11-based detection and early warning method is proposed.In the feature extraction stage,a SimAM attention module with slicing operation is designed,which slices the feature map into multiple subgraphs and applies SimAM attention to each subgraph respectively to enhance the local detail features of various types of vehicles;in the feature fusion stage,a content-guided attention(CGA)hybrid fusion scheme is constructed,integrating the advantages of the Feature Pyramid Network(FPN)and Path Aggregation Network(PAN),dynamically assigning weights according to the feature differences between vehicles and the equipment background to achieve efficient fusion of cross-scale features.The self-built dataset used in the experiment is based on the public traffic dataset from Roboflow,containing 6 832 images,covering various traffic hub scenarios,with target categories including van,accident,bus,car,oil tank car,and truck.The results show that the mean average precision(mAP@0.5)of the improved algorithm reaches 91.3%,and the detection precision and recall rate are increased by 2.1%and 1.9%,respectively,compared with the original YOLOv11.It can be effectively applied to numerous traffic scenarios,providing technical support for the safety management and control of traffic operations.

郑运昌;吴建博;李凤元;马江平;李江

河北建筑工程学院 电气工程学院,河北 张家口 075000河北建筑工程学院 电气工程学院,河北 张家口 075000张家口通泰控股集团有限公司,河北 张家口 075000张家口通泰控股集团有限公司,河北 张家口 075000张家口通泰控股集团有限公司,河北 张家口 075000

信息技术与安全科学

YOLOv11车辆类型检测交通事故预警注意力机制特征融合检测精度

YOLOv11vehicle type detectiontraffic accident early warningattention mechanismfeature fusiondetection accuracy

《机电工程技术》 2026 (17)

6-10,5

张家口市重点研发计划项目(2421007B)河北省高等学校科学技术研究项目(QN2026016)

10.3969/j.issn.1009-9492.2026.00003

评论