计算机工程2024,Vol.50Issue(4) :11-19.DOI:10.19678/j.issn.1000-3428.0068901

基于改进YOLOv8的高速公路服务区车辆违停检测

Vehicle Violation Detection Based on Improved YOLOv8 in Highway Service Areas

陈伟 王晓龙 张晏玮 安国成 江波
计算机工程2024,Vol.50Issue(4) :11-19.DOI:10.19678/j.issn.1000-3428.0068901

基于改进YOLOv8的高速公路服务区车辆违停检测

Vehicle Violation Detection Based on Improved YOLOv8 in Highway Service Areas

陈伟 1王晓龙 1张晏玮 1安国成 1江波2
扫码查看

作者信息

  • 1. 上海华讯网络系统有限公司行业数智事业部,上海 200127
  • 2. 中国电子科技集团公司第三十二研究所,上海 201808
  • 折叠

摘要

在高速公路服务区违停检测过程中光照、天气变化等复杂环境会使车辆检测精度急剧下降,同时摄像机拍摄角度、车体高度等因素会增加车辆违停检测的误报率和漏报率.为此,提出一种基于改进YOLOv8的高速公路服务区违停检测算法.在YOLOv8网络模型的特征金字塔池化层中,构建膨胀空间金字塔池化(DSPP)模块和基于分支注意力机制的膨胀空间金字塔池化(DSPPA)模块,减少特征提取网络中深层语义信息的丢失,同时利用DSPPA中的分支注意力(BA)机制为不同感受野分支特征赋予不同的权重,使模型更关注与目标尺寸相适应的特征.设计基于全局匹配的停车位分配策略,有效降低了视角倾斜、车辆重叠遮挡等情况下违规占用停车位的误报率与漏报率.实验结果表明,改进算法的违停检测误报率从15%下降至8%,违停检测漏报率从7.5%下降至6.1%,具有较好的车辆违停检测效果.

Abstract

In highway service areas,complex environments such as lighting and weather changes can cause a sharp decline in vehicle detection accuracy.In addition,factors such as the inclination angle of the camera and the height of installation can increase false-negative and false-positive rates.To this end,a vehicle violation detection algorithm based on the improved YOLOv8 is proposed for highway service areas.First,the feature pyramid pooling layer of the YOLOv8 network,a Dilated Space Pyramid Pooling(DSPP)module,and a DSPP based on branch Attention(DSPPA)module are constructed to reduce the loss of semantic information in the backbone.The Branch Attention(BA)mechanism in DSPPA assigns different weights to the branches with varying degrees of contribution,making the model focus more on features that are suitable for the target size.Second,a parking space allocation strategy based on global matching is designed to effectively reduce the false-negative and false-positive rates of illegal parking detection in situations involving tilted views and overlapping vehicles.The experimental results show that the improved algorithm reduces the false-negative rate of parking violation detection from 15%to 8%and the false-positive rate from 7.5%to 6.1%,demonstrating considerable performance improvement in vehicle violation detection.

关键词

YOLOv8/车辆检测/空间金字塔池化/全局匹配/车辆违停检测

Key words

YOLOv8/vehicle detection/Spatial Pyramid Pooling(SPP)/global matching/vehicle violation detection

引用本文复制引用

基金项目

国家重点研发计划(十四五)(2023YFC3006700)

出版年

2024
计算机工程
华东计算技术研究所 上海市计算机学会

计算机工程

CSTPCD北大核心
影响因子:0.581
ISSN:1000-3428
参考文献量25
段落导航相关论文