Improved YOLOv5 Network for Steel Surface Defect Detection

被引:6
|
作者
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
相关论文
共 50 条
  • [41] Surface Defect Detection Method of Wooden Spoon Based on Improved YOLOv5 Algorithm
    Tian, Siqing
    Li, Xiao
    Fang, Xiaolin
    Qi, Xiaozhong
    Li, Jichao
    BIORESOURCES, 2023, 18 (04) : 7713 - 7730
  • [42] Improved Plate Defect Detection Algorithm Based on YOLOv5
    Wang, Zijie
    Wang, Lan
    Zheng, Sihui
    IOT AS A SERVICE, IOTAAS 2023, 2025, 585 : 371 - 384
  • [43] Fabric defect detection algorithm based on improved YOLOv5
    Feng Li
    Kang Xiao
    Zhengpeng Hu
    Guozheng Zhang
    The Visual Computer, 2024, 40 : 2309 - 2324
  • [44] Aero-Engine Surface Defect Detection Model Based on Improved YOLOv5
    Li, Xin
    Li, Xiangrong
    Wang, Cheng
    Li, Qiuliang
    Li, Zhuoyue
    LASER & OPTOELECTRONICS PROGRESS, 2023, 60 (16)
  • [45] Insulator defect detection based on improved YOLOv5 algorithm
    Wang, Yongheng
    Li, Qin
    Liu, Yachong
    Wang, Chao
    2023 IEEE 12TH DATA DRIVEN CONTROL AND LEARNING SYSTEMS CONFERENCE, DDCLS, 2023, : 770 - 775
  • [46] Research on Improved YOLOv5 Pipeline Defect Detection Algorithm
    Zeng, Jiangchao
    Zheng, Yiming
    Jin, Xinping
    Lin, Jinhong
    Feng, Yonghao
    JOURNAL OF PIPELINE SYSTEMS ENGINEERING AND PRACTICE, 2025, 16 (02)
  • [47] Bearing defect detection based on the improved YOLOv5 algorithm
    Li, Kangning
    Jiao, Peigang
    Ding, Jiaming
    Du, Weibo
    PLOS ONE, 2024, 19 (10):
  • [48] YOLO-VanNet: An Improved YOLOv5 Method for PCB Surface Defect Detection
    Chen, Fanglin
    Shi, Chenyang
    Zhu, Donglin
    Zhou, Changjun
    WEB AND BIG DATA, APWEB-WAIM 2024, PT I, 2024, 14961 : 451 - 465
  • [49] Surface Defect Detection for Automated Tape Laying and Winding Based on Improved YOLOv5
    Wen, Liwei
    Li, Shihao
    Ren, Jiajun
    MATERIALS, 2023, 16 (15)
  • [50] Defect identification method for steel surfaces based on improved YOLOv5
    Wang S.
    Zhang L.
    Yin G.
    Journal of Southeast University (English Edition), 2024, 40 (01) : 49 - 57