首页|期刊导航|重庆工商大学学报(自然科学版)|基于改进YOLOv8的车辆检测算法研究

基于改进YOLOv8的车辆检测算法研究OA

Research on a Vehicle Detection Algorithm Based on Improved YOLOv8

中文摘要英文摘要

目的 解决道路交通环境中车辆目标较小、遮挡,以及目标不清晰、错检漏检等问题.方法 提出一种用于评估目标检测框与目标真实形状之间匹配程度的指标ShapeIoU,通过计算目标轮廓的相似性来衡量检测框与真实形状的匹配程度,以提高目标检测的精度和准确性;引进动态蛇形卷积(DSConv)模块调节的卷积核模块,能够根据目标形状和大小的变化自适应地调整卷积核形状,从而更有效地捕获目标的特征;为了提高多尺度检测能力,增强检测精度以及模型的表达能力,改进中增加P2检测头.结果 改进YOLOv8模型算法的Precision、Recall、Map@0.5 以及 mAP@0.5:0.95 分别提高了2.6%、3.2%、3.2%和 3.0%,达到了87.9%、84.2%、89.4%和 65.4%.结论 对于复杂的交通环境中车辆较小、遮挡,以及不清晰目标的检测有了明确提高,证实此改进方法有效解决了上述对于车辆检测目标精度低等问题.

Objective This study addresses the following challenges in vehicle detection under road traffic environments:small target sizes,occlusions,unclear targets,and the consequent false positives and missed detections.Methods An index named ShapeIoU was proposed to assess the matching degree between the target detection box and the real shape of the target.By calculating the similarity of the target contour,the matching degree between the detection box and the real shape was measured to enhance the precision and accuracy of object detection.A convolutional kernel module adjusted by the dynamic snake convolution(DSConv)module was introduced.This module could adaptively adjust the shape of the convolutional kernel according to the changes in the shape and size of the target,so as to capture the features of the target more effectively.To improve the multi-scale detection ability,enhance the detection accuracy and the expression ability of the model,a P2 detection head was added during the improvement.Results The Precision,Recall,mAP@0.5,and mAP@0.5:0.95 of the improved YOLOv8 model algorithm increased by 2.6%,3.2%,3.2%,and 3.0%respectively,reaching 87.9%,84.2%,89.4%,and 65.4%.Conclusion The detection of small,occluded,and unclear targets in complex traffic environments has been significantly improved.It is verified that this improved method can effectively solve problems such as low accuracy in vehicle target detection.

陈争志;刘国巍

安徽理工大学电气与信息工程学院,安徽淮南 232001安徽理工大学电气与信息工程学院,安徽淮南 232001

信息技术与安全科学

YOLOv8车辆检测动态蛇形卷积ShapeIoUP2检测头

YOLOv8vehicle detectiondynamic snake convolutionShapeIoUP2 detection head

《重庆工商大学学报(自然科学版)》 2026 (3)

38-44,7

安徽省研究生教育质量工程项目资助(2022CXCYJS016).

10.16055/j.issn.1672-058X.2026.0003.005

评论