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 条
  • [21] An Improved YOLOv5 Algorithm for Tyre Defect Detection
    Xie, Mujun
    Bian, Heyu
    Jiang, Changhong
    Zheng, Zhong
    Wang, Wei
    ELECTRONICS, 2024, 13 (11)
  • [22] Fabric Defect Detection Method with Improved YOLOv5
    Zhu, Lei
    Wang, Qianqian
    Yao, Lina
    Pan, Yang
    Zhang, Bo
    Computer Engineering and Applications, 2024, 60 (20) : 302 - 311
  • [23] Research on Steel Surface Defect Detection Based on YOLOv5 with Attention Mechanism
    Shi, Jianting
    Yang, Jian
    Zhang, Yingtao
    ELECTRONICS, 2022, 11 (22)
  • [24] Car Brake Disc Surface Defect Detection Based on Improved YOLOv5
    Guo, Yuan
    Zhang, Xuecheng
    Dong, Zhenbiao
    IEEE ACCESS, 2024, 12 : 68601 - 68610
  • [25] Improved YOLOv5 Model for Surface Defect Detection of Automotive Gear Components
    Zhu, Deping
    Cheng, Guang
    Yao, Jingli
    Computer Engineering and Applications, 2024, 60 (05) : 321 - 327
  • [26] Surface defect detection algorithm of electronic components based on improved YOLOv5
    Zeng Y.
    Gao F.-Q.
    Zhejiang Daxue Xuebao (Gongxue Ban)/Journal of Zhejiang University (Engineering Science), 2023, 57 (03): : 455 - 465
  • [27] RESEARCH ON SURFACE DEFECT DETECTION OF SOLAR CELL WITH IMPROVED YOLOv5 ALGORITHM
    Peng Z.
    Zhang Y.
    Xiao S.
    Taiyangneng Xuebao/Acta Energiae Solaris Sinica, 2024, 45 (06): : 368 - 375
  • [28] Research on strip surface defect detection based on improved YOLOv5 algorithm
    Lv, Shuaishuai
    Tao, Chuanzhen
    Hao, Zhuangzhuang
    Ni, Hongjun
    Hou, Zhengjie
    Li, Xiaoyuan
    Gu, Hai
    Shi, Weidong
    Chen, Linfei
    IRONMAKING & STEELMAKING, 2024, 51 (10) : 1046 - 1064
  • [29] Improved YOLOv5 Based on the Mobilevit Backbone for the Detection of Steel Surface Defects Improved YOLOv5 based on the mobilevit backbone and BiFPN
    Qiu, Kun
    Wang, Changkun
    PROCEEDINGS OF 2024 3RD INTERNATIONAL CONFERENCE ON CYBER SECURITY, ARTIFICIAL INTELLIGENCE AND DIGITAL ECONOMY, CSAIDE 2024, 2024, : 305 - 309
  • [30] ST-CA YOLOv5: Improved YOLOv5 Based on Swin Transformer and Coordinate Attention for Surface Defect Detection
    Yang, Wen
    Wu, Hongjie
    Tang, Chenwei
    Lv, Jiancheng
    2023 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS, IJCNN, 2023,