Improved YOLOv7-based steel surface defect detection algorithm

被引:2
|
作者
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
相关论文
共 50 条
  • [1] A Steel Surface Defect Detection Algorithm Based on Improved YOLOv7
    Mao, Yihai
    Zhang, Hongyi
    Gao, Xingen
    Luan, Shen
    Lin, Yuxing
    Qi, Xuanhao
    [J]. PROCEEDINGS OF 2023 7TH INTERNATIONAL CONFERENCE ON ELECTRONIC INFORMATION TECHNOLOGY AND COMPUTER ENGINEERING, EITCE 2023, 2023, : 1096 - 1101
  • [2] Improved Yolov7-tiny Algorithm for Steel Surface Defect Detection
    Qi, Xiangming
    Dong, Xu
    [J]. Computer Engineering and Applications, 2023, 59 (12) : 176 - 183
  • [3] Research on Steel Surface Defect Detection with Improved YOLOv7 Algorithm
    Gao, Chunyan
    Qin, Shen
    Li, Manhong
    Lyv, Xiaoling
    [J]. Computer Engineering and Applications, 2024, 60 (07) : 282 - 291
  • [4] Steel Surface Defect Detection Based on Improved YOLOv7
    Li, Ming
    Wei, Lisheng
    Zheng, Bowen
    [J]. 2024 4TH INTERNATIONAL CONFERENCE ON COMPUTER, CONTROL AND ROBOTICS, ICCCR 2024, 2024, : 51 - 55
  • [5] Surface Defect Detection Algorithm for Strip Steel Based on Improved YOLOv7 Model
    Wang, Zhu
    Liu, Weisheng
    [J]. IAENG International Journal of Computer Science, 2024, 51 (03) : 308 - 316
  • [6] SURFACE DEFECT DETECTION OF STEEL BASED ON IMPROVED YOLOv7 MODEL
    Teng, W. Z.
    Zhang, Y. J.
    Zhang, H. G.
    Gao, D. X.
    [J]. METALURGIJA, 2024, 63 (3-4): : 402 - 402
  • [7] Surface defect detection of steel based on improved YOLOv5 algorithm
    Jiang, Yiwen
    [J]. MATHEMATICAL BIOSCIENCES AND ENGINEERING, 2023, 20 (11) : 19858 - 19870
  • [8] Improved Steel Surface Defect Detection Algorithm Based on YOLOv8
    You, Congzhe
    Kong, Haozheng
    [J]. IEEE ACCESS, 2024, 12 : 99570 - 99577
  • [9] Lightweight strip steel defect detection algorithm based on improved YOLOv7
    Lu, Jianbo
    Yu, MiaoMiao
    Liu, Junyu
    [J]. SCIENTIFIC REPORTS, 2024, 14 (01):
  • [10] Improved YOLOv7 Algorithm for Small Sample Steel Plate Surface Defect Detection
    Dou, Zhi
    Hu, Chenguang
    Li, Qinghua
    Zheng, Liming
    [J]. Computer Engineering and Applications, 2023, 59 (23) : 283 - 292