摘要
由于传统的机器视觉检测方法在小尺度钢材表面缺陷识别中存在检测精度较差的问题,提出了一种基于改进YOLOv5算法的钢材表面缺陷无损识别方法.将Res2Block模块应用于YOLOv5算法的骨干,在扩大感受野的同时提高计算效率;在YOLOv5算法的颈部融合g^(n) Conv结构,以提高表面缺陷识别方法的计算性能.为验证所提方法的有效性,进行了不同模块组合的消融试验,并与其他目标检测方法进行了对比.结果表明:所提方法在钢材表面缺陷识别中实现了67.8%的mAP和86.0%的F_(1)值;与原始YOLOv5算法相比,所提方法在小尺度钢材表面缺陷识别方面表现更为优越;与其他目标检测方法如SSD、YOLOv3、YOLOv5-Lite、YOLOv8相比,所提方法的计算精度有明显的提高.
Traditional machine vision detection methods suffer from low accuracy in identifying small-scale defects.To address this,a nondestructive identification method for steel surface defects is proposed based on an enhanced version of the fifth version of the You Only Look Once(YOLOv5)algorithm.In this improved approach,the Res2Block module is incorporated into the backbone of the YOLOv5 algorithm to expand the receptive field and improve computational efficiency.Additionally,the recursive gated convolution structure is fused into the neck of the YOLOv5 algorithm to further enhance the computational performance of the surface defect identification method.To validate the effectiveness of the proposed method,a series of ablation experiments were conducted using different module combinations.These results were then compared with those obtained through other object detection methods.This comparison reveals that the proposed method achieves a mean average precision of 67.8%and an F_(1)-score of 86.0%in steel surface defect identification.When compared with the original YOLOv5 algorithm,the proposed method exhibits superior performance,particularly in the identification of small-scale steel surface defects.Furthermore,it also surpasses other object detection methods,such as SSD,YOLOv3,YOLOv5-Lite,and YOLOv8,demonstrating significant improvements in computational accuracy.
作者
王硕
张燎军
尹国江
Wang Shuo;Zhang Liaojun;Yin Guojiang(College of Civil and Transportation Engineering,Hohai University,Nanjing 210098,China;College of Water Conservancy and Hydropower Engineering,Hohai University,Nanjing 210098,China;Safety Testing Center of Hydraulic Metal Structure of the Ministry of Water Resources,Hohai University,Nanjing 210098,China)
基金
The Natural Science Foundation of Jiangsu Province(No.BK20230956)
the Jiangsu Funding Program for Excellent Postdoctoral Talents(No.2022ZB188)
the Transportation Technology Plan Project of Jiangsu Province(No.2020QD28).
关键词
钢材
缺陷检测
卷积神经网络
YOLO
steel
defect detection
convolutional neural network
You Only Look Once(YOLO)