计算机工程与设计2024,Vol.45Issue(10) :3120-3127.DOI:10.16208/j.issn1000-7024.2024.10.031

基于改进注意力与多尺度特征的车辆识别

Vehicle recognition based on improved attention and multi-scale features

敬辉 葛动元 姚锡凡
计算机工程与设计2024,Vol.45Issue(10) :3120-3127.DOI:10.16208/j.issn1000-7024.2024.10.031

基于改进注意力与多尺度特征的车辆识别

Vehicle recognition based on improved attention and multi-scale features

敬辉 1葛动元 1姚锡凡2
扫码查看

作者信息

  • 1. 广西科技大学机械与汽车工程学院,广西柳州 545006
  • 2. 华南理工大学 机械与汽车工程学院,广东 广州 510640
  • 折叠

摘要

为提高车辆检测算法精度,提出一种基于YOLOv5框架上增添新型轻量化注意力机制(novel lightweight attention module,NLAM)和多尺度特征检测层的算法.NLAM模块将深度可分离卷积的空间注意力模块和一维卷积的通道注意力模块进行并联融合,使NLAM模块参数量仅为8;增添多尺度特征检测层,提升小目标的检测精度.该算法在KITTI数据集训练和测试,实验结果表明,改进后算法平均精度为89.9%,相较于原始算法平均精度上涨2%,检测帧率为90 frame/s.该算法对车辆检测具有更高的小目标检测精度和更好的鲁棒性.

Abstract

To improve the accuracy of the vehicle detection algorithm,an algorithm based on the YOLOv5 framework with the addition of a novel lightweight attention module(NLAM)and a multi-scale feature detection layer was proposed.The NLAM module was a parallel fusion of the spatial attention module with depth-separable convolution and the channel attention module with one-dimensional convolution,which made the number of parameters of the NLAM module only 8.The multi-scale feature detection layer was added to improve the detection accuracy of small targets.The algorithm was trained and tested on the KITTI dataset.Experimental results show that the average accuracy of the improved algorithm is 89.9%,which is 2%higher than that of the original algorithm,and the detection frame rate is 90 frames/s.The algorithm has higher small target detection accuracy and better robustness for vehicle detection.

关键词

深度学习/目标检测/注意力模块/新型轻量化/多尺度特征/车辆检测/YOLOv5s算法

Key words

deep learning/target detection/attentional module/novel lightweight/multiscale features/vehicle detection/YOLOv5s algorithm

引用本文复制引用

基金项目

国家自然科学基金项目(51765007)

广西科技大学研究生教育创新计划基金项目(GKYC202307)

出版年

2024
计算机工程与设计
中国航天科工集团二院706所

计算机工程与设计

CSTPCD北大核心
影响因子:0.617
ISSN:1000-7024
段落导航相关论文