基于 Yolov7-Tiny 的车身漆面损伤检测
任伟建 , 佟宇航 , 任璐 , 张永丰
吉林大学学报(信息科学版) ›› 2026, Vol. 44 ›› Issue (4) : 908 -915.
基于 Yolov7-Tiny 的车身漆面损伤检测
Surface Damage Detection of Vehicle Paint Based on Yolov7-Tiny
针对 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. 3×109 次。 在提升精度的同时, 一定程度上减少了计算资源的需求。
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×10 9 times. While improving the accuracy, it also reduces the demand for computational resources to a certain extent.
| [1] |
邹彦艳, 曹衍芬, 张馨月, |
| [2] |
|
| [3] |
程晓雪, 张亚磊, 毕静, |
| [4] |
|
| [5] |
|
| [6] |
|
| [7] |
|
| [8] |
张利巍, 杨万帅. 基于改进 Yolov3-Tiny 的加油站目标检测算法研究[J]. 吉林大学学报(信息科学版), 2024, 42(3): 559-566. |
| [9] |
|
| [10] |
|
| [11] |
徐威, 李为相, 方志, |
| [12] |
|
| [13] |
阳丽莎, 李茂军, 胡建文, |
| [14] |
|
| [15] |
周世睿, 陶楚青, 费敏学. 基于多传感器融合的隧道运营风险感知方法[J]. 吉林大学学报(信息科学版), 2025, 43(2): 347-354. |
| [16] |
|
| [17] |
罗箫瑜, 张志. 基于改进 YOLOX 的变电站设备缺陷检测方法[J]. 吉林大学学报(信息科学版), 2023, 41(5): 848-857. |
| [18] |
|
| [19] |
|
| [20] |
袁硕, 刘玉敏, 安志伟, |
| [21] |
|
| [22] |
|
| [23] |
江晟, 张仲义, 汪宗洋, |
| [24] |
|
| [25] |
欧阳继红, 王梓明, 刘思光. 改进多尺度特征的 Yolo_v4 目标检测方法[J]. 吉林大学学报(理学版), 2022, 60(6): 1349-1355. |
| [26] |
|
| [27] |
|
| [28] |
何乐华, 谢光珍, 刘柯翔, |
| [29] |
HE L H, |
河北省自然科学基金资助项目(D2022107001)
/
| 〈 |
|
〉 |