Improved YOLOv5 Network for Steel Surface Defect Detection

被引:8
作者
Huang, Bo [1 ]
Liu, Jianhong [1 ]
Liu, Xiang [1 ]
Liu, Kang [1 ]
Liao, Xinyu [1 ]
Li, Kun [1 ]
Wang, Jian [1 ]
机构
[1] Sichuan Univ Sci & Engn, Coll Mech Engn, Yibin 644000, Peoples R China
关键词
YOLOv5; deformable convolution; attention mechanism; Focal EIOU; K-means;
D O I
10.3390/met13081439
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
Steel surface defect detection is crucial for ensuring steel quality. The traditional detection algorithm has low detection probability. This paper proposes an improved algorithm based on the YOLOv5 model to enhance detection probability. Firstly, deformable convolution is introduced in the backbone network, and a traditional convolution module is replaced by deformable convolution; secondly, the CBAM attention mechanism is added to the backbone network; then, Focal EIOU is used instead of the CIOU loss function in YOLOv5; lastly, the K-means algorithm is used to cluster the Anchor box, and the Anchor box parameters that are more suitable for this paper are obtained. The experimental results show that using deformable convolution instead of traditional convolution can get more feature information, which is more conducive to the learning of the network. This paper uses the CBAM attention mechanism, and the heat map of the attention mechanism shows that the CBAM attention mechanism is beneficial for feature extraction. Focal EIOU is optimized in high and wide loss compared with the CIOU loss function, which accelerates the convergence of the model. The Anchor box is more favorable for feature extraction. The improved algorithm achieved a detection probability of 78.8% in the NEU-DET dataset, which is 4.3% better than the original YOLOv5 network, and the inference time of each image is only increased by 1 ms; therefore, the optimized algorithm proposed in this paper is effective.
引用
收藏
页数:16
相关论文
共 25 条
[1]   Synthetic Data Generation for Steel Defect Detection and Classification Using Deep Learning [J].
Boikov, Aleksei ;
Payor, Vladimir ;
Savelev, Roman ;
Kolesnikov, Alexandr .
SYMMETRY-BASEL, 2021, 13 (07)
[2]   Adaptive deformable convolutional network [J].
Chen, Feng ;
Wu, Fei ;
Xu, Jing ;
Gao, Guangwei ;
Ge, Qi ;
Jing, Xiao-Yuan .
NEUROCOMPUTING, 2021, 453 :853-864
[3]   A weighted block cooperative sparse representation algorithm based on visual saliency dictionary [J].
Chen, Rui ;
Li, Fei ;
Tong, Ying ;
Wu, Minghu ;
Jiao, Yang .
CAAI TRANSACTIONS ON INTELLIGENCE TECHNOLOGY, 2023, 8 (01) :235-246
[4]   Surface Defect Detection Methods for Industrial Products: A Review [J].
Chen, Yajun ;
Ding, Yuanyuan ;
Zhao, Fan ;
Zhang, Erhu ;
Wu, Zhangnan ;
Shao, Linhao .
APPLIED SCIENCES-BASEL, 2021, 11 (16)
[5]   Deformable Convolutional Networks [J].
Dai, Jifeng ;
Qi, Haozhi ;
Xiong, Yuwen ;
Li, Yi ;
Zhang, Guodong ;
Hu, Han ;
Wei, Yichen .
2017 IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV), 2017, :764-773
[6]   Application of YOLOv5 Neural Network Based on Improved Attention Mechanism in Recognition of Thangka Image Defects [J].
Fan, Yao ;
Li, Yubo ;
Shi, Yingnan ;
Wang, Shuaishuai .
KSII TRANSACTIONS ON INTERNET AND INFORMATION SYSTEMS, 2022, 16 (01) :245-265
[7]  
Fang B, 2022, Journal of Computational and Cognitive Engineering, V1, P174, DOI [10.47852/bonviewJCCE2202319, DOI 10.47852/BONVIEWJCCE2202319]
[8]   Research Progress of Automated Visual Surface Defect Detection for Industrial Metal Planar Materials [J].
Fang, Xiaoxin ;
Luo, Qiwu ;
Zhou, Bingxing ;
Li, Congcong ;
Tian, Lu .
SENSORS, 2020, 20 (18) :1-35
[9]   X-SDD: A New Benchmark for Hot Rolled Steel Strip Surface Defects Detection [J].
Feng, Xinglong ;
Gao, Xianwen ;
Luo, Ling .
SYMMETRY-BASEL, 2021, 13 (04)
[10]   Intelligent Detection of Steel Defects Based on Improved Split Attention Networks [J].
Hao, Zhiqiang ;
Wang, Zhigang ;
Bai, Dongxu ;
Tao, Bo ;
Tong, Xiliang ;
Chen, Baojia .
FRONTIERS IN BIOENGINEERING AND BIOTECHNOLOGY, 2022, 9