吉林大学学报(信息科学版) ›› 2026, Vol. 44 ›› Issue (4): 908-915.

• • 上一篇    下一篇

基于Yolov7-Tiny的车身漆面损伤检测

任伟建1 , 佟宇航1 , 任 璐2 , 张永丰3   

  1. 1. 东北石油大学 电气信息工程学院, 黑龙江 大庆 163318; 2. 海洋石油工程股份有限公司海洋工程技术中心, 天津 300450; 3. 大庆油田有限责任公司 第二采油厂, 黑龙江 大庆 163414
  • 收稿日期:2025-05-07 出版日期:2026-08-06 发布日期:2026-08-06
  • 作者简介:任伟建(1963— ), 女, 黑龙江泰来人, 东北石油大学教授, 博士生导师, 主要从事油气集输过程故障诊断研究, (Tel) 86-15765988699(E-mail)renwj@ 126. com
  • 基金资助:
    河北省自然科学基金资助项目(D2022107001)

Surface Damage Detection of Vehicle Paint Based on Yolov7-Tiny

REN Weijian1, TONG Yuhang1, REN Lu2, ZHANG Yongfeng3   

  1. 1. School of Electrical and Information Engineering, Northeast Petroleum University, Daqing 163318, China;2. Marine Engineering Technology Center, Offshore Oil Engineering Company Limited, Tianjin 300450, China;3. No. 2 Oil Production Plant, Daqing Oilfield Company Limited, Daqing 163414, China
  • Received:2025-05-07 Online:2026-08-06 Published:2026-08-06

摘要:

针对 Yolov7-Tiny(You Only Look Once v7 Tiny)在车身漆面微小损伤以及不明显损伤检测中存在特征提取能力不足、 细节信息丢失和计算效率低的问题, 提出一种改进的 Yolov7-Tiny 算法。首先在主干网络中引入RepNCSPELAN4(Re-parameterizable Cross Stage Partial Efficient Layer Aggregation Networks) 模块替换 ELAN-Tiny(Efficient Layer Aggregation Networks Tiny)模块增强模型的特征提取能力; 其次引入 Swish 激活函数以提升模型的非线性表达能力; 最后在颈部网络引入空间到深度卷积 SPDConv( Space to Depth Convolution), 结合改进的SPDConv_Res(Space to Depth Convolution_Residual)检测头以保留微小目标的细节信息并平衡参数负担; 并在颈部网络引入分布偏移卷积 DSConv(Distribution Shift Convolution), 保证缺陷特征信息充分融合的同时提升计算效率。在自建数据集上的实验结果表明, 改进后的模型 mAP@50达到了86. 0%, 相比基线模型提升7. 4%,计算量降低 3. 3x109次。在提升精度的同时, 一定程度上减少了计算资源的需求。

关键词:

Abstract:

Aiming at the problems of insufficient feature extraction ability, loss of detail information, and low computational efficiency in the detection of minor damages and unobvious damages on the car body paint surface by Yolov7-Tiny(You Only Look Once v7 Tiny), an improved Yolov7-Tiny algorithm is proposed. Firstly, the RepNCSPELAN4 ( Re-parameterizable Cross Stage Partial Efficient Layer Aggregation Networks) module is introduced into the backbone network to replace the ELAN-Tiny(Eficienta Layer Aggregation Networks Tiny)module, to enhance the feature extraction ability of the model. Secondly, the Swish activation function is introduced to improve the nonlinear expression ability of the model. Finally, the SPDConv ( Space to Depth Convolution) is introduced into the neck network. Combined with the improved SPDConv_Res(Space to Depth Convolution _ Residual ) detection head, it retains the detail information of small targets and balances the parameter burden. The DSConv(Distribution Shift Convolution) is introduced into the neck network, ensuring the full fusion of defect feature information and improving the computational efficiency simultaneously.Experimental results on the self-built dataset show that the mAP@ 50 of the improved model reaches 86. 0% ,which is 7. 4% higher than that of the baseline model, and the computational amount is reduced by 3. 3 x109 times. While improving the accuracy, it also reduces the demand for computational resources to a certain extent.



Key words:

中图分类号: 

  • TP391