Improved YOLOv7-based steel surface defect detection algorithm

被引:3
作者
Xie, Yinghong [1 ]
Yin, Biao [1 ]
Han, Xiaowei [2 ]
Hao, Yan [1 ]
机构
[1] ShenYang Univ Technol, Sch Informat Engn, Shenyang 110023, Peoples R China
[2] Shenyang Univ, Inst Innovat Sci & Technol, Shenyang 110003, Peoples R China
关键词
YOLOv7; transformer; attention mechanism; SPPFCSPC; defect detection;
D O I
10.3934/mbe.2024016
中图分类号
Q [生物科学];
学科分类号
07 ; 0710 ; 09 ;
摘要
In response to the limited detection ability and low model generalization ability of the YOLOv7 algorithm for small targets, this paper proposes a detection algorithm based on the improved YOLOv7 algorithm for steel surface defect detection. First, the TransformerInceptionDWConvolution (TI) module is designed, which combines the Transformer module and InceptionDWConvolution to increase the network's ability to detect small objects. Second, the spatial pyramid pooling fast cross-stage partial channel (SPPFCSPC) structure is introduced to enhance the network training performance. Third, a global attention mechanism (GAM) attention mechanism is designed to optimize the network structure, weaken the irrelevant information in the defect image, and increase the algorithm's ability to detect small defects. Meanwhile, the Mish function is used as the activation function of the feature extraction network to improve the model's generalization ability and feature extraction ability. Finally, a minimum partial distance intersection over union (MPDIoU) loss function is designed to locate the loss and solve the mismatch problem between the complete intersection over union (CIoU) prediction box and the real box directions. The experimental results show that on the Northeastern University Defect Detection (NEU-DET) dataset, the improved YOLOv7 network model improves the mean Average precision (mAP) performance by 6% when compared to the original algorithm, while on the VOC2012 dataset, the mAP performance improves by 2.6%. These results indicate that the proposed algorithm can effectively improve the small defect detection performance on steel surface defects.
引用
收藏
页码:346 / 368
页数:23
相关论文
共 20 条
  • [1] High Efficient Single-stage Steel Surface Defect Detection
    Akhyar, Fityanul
    Lin, Chih-Yang
    Muchtar, Kahlil
    Wu, Tung-Ying
    Ng, Hui-Fuang
    [J]. 2019 16TH IEEE INTERNATIONAL CONFERENCE ON ADVANCED VIDEO AND SIGNAL BASED SURVEILLANCE (AVSS), 2019,
  • [2] Bochkovskiy A, 2020, Arxiv, DOI [arXiv:2004.10934, DOI 10.48550/ARXIV.2004.10934, 10.48550/arXiv.2004.10934]
  • [3] Improved faster R-CNN for fabric defect detection based on Gabor filter with Genetic Algorithm optimization
    Chen, Mengqi
    Yu, Lingjie
    Zhi, Chao
    Sun, Runjun
    Zhu, Shuangwu
    Gao, Zhongyuan
    Ke, Zhenxia
    Zhu, Mengqiu
    Zhang, Yuming
    [J]. COMPUTERS IN INDUSTRY, 2022, 134
  • [4] Deep Regression Neural Network for Industrial Surface Defect Detection
    He, Zhiquan
    Liu, Qifan
    [J]. IEEE ACCESS, 2020, 8 : 35583 - 35591
  • [5] Li CY, 2022, Arxiv, DOI [arXiv:2209.02976, DOI 10.48550/ARXIV.2209.02976]
  • [6] Liu Y., arXiv
  • [7] FPCB Surface Defect Detection: A Decoupled Two-Stage Object Detection Framework
    Luo, Jiaxiang
    Yang, Zhiyu
    Li, Shipeng
    Wu, Yilin
    [J]. IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, 2021, 70
  • [8] Automatic Fabric Defect Detection with a Multi-Scale Convolutional Denoising Autoencoder Network Model
    Mei, Shuang
    Wang, Yudan
    Wen, Guojun
    [J]. SENSORS, 2018, 18 (04)
  • [9] S2D2NET: AN IMPROVED APPROACH FOR ROBUST STEEL SURFACE DEFECTS DIAGNOSIS WITH SMALL SAMPLE LEARNING
    Nath, Vikanksh
    Chattopadhyay, Chiranjoy
    [J]. 2021 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP), 2021, : 1199 - 1203
  • [10] LFF-YOLO: A YOLO Algorithm With Lightweight Feature Fusion Network for Multi-Scale Defect Detection
    Qian, Xiaohong
    Wang, Xu
    Yang, Shengying
    Lei, Jingsheng
    [J]. IEEE ACCESS, 2022, 10 : 130339 - 130349