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 条
  • [41] Surface Defect Detection of Aeroengine Components Based on Improved YOLOv4 Algorithm
    Li Bin
    Wang Cheng
    Wu Jing
    Liu Jichao
    Tong Lijia
    Guo Zhenping
    [J]. LASER & OPTOELECTRONICS PROGRESS, 2021, 58 (14)
  • [42] Surface defect detection algorithm of electronic components based on improved YOLOv5
    Zeng, Yao
    Gao, Fa-Qin
    [J]. Zhejiang Daxue Xuebao (Gongxue Ban)/Journal of Zhejiang University (Engineering Science), 2023, 57 (03): : 455 - 465
  • [43] Application of improved YOLOv7-based sugarcane stem node recognition algorithm in complex environments
    Wen, Chunming
    Guo, Huanyu
    Li, Jianheng
    Hou, Bingxu
    Huang, Youzong
    Li, Kaihua
    Nong, Hongliang
    Long, Xiaozhu
    Lu, Yuchun
    [J]. FRONTIERS IN PLANT SCIENCE, 2023, 14
  • [44] Multispectral Apple Surface Defect Detection Based on Improved YOLOv7-tiny
    Hua Chunjian
    Sun Mingchun
    Jiang Yi
    Yu Jianfeng
    Chen Ying
    [J]. LASER & OPTOELECTRONICS PROGRESS, 2024, 61 (10)
  • [45] 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
    [J]. IRONMAKING & STEELMAKING, 2024,
  • [46] Usage of an improved YOLOv5 for steel surface defect detection
    Wen, Huihui
    Li, Ying
    Wang, Yu
    Wang, Haoyang
    Li, Haolin
    Zhang, Hongye
    Liu, Zhanwei
    [J]. MATERIALS TESTING, 2024, 66 (05) : 726 - 735
  • [47] Lightweight Steel Surface Defect Detection Algorithm Based on Improved RetinaNet
    Wang, Weijia
    Zhang, Yu
    Wang, Jinghua
    Xu, Yong
    [J]. Moshi Shibie yu Rengong Zhineng/Pattern Recognition and Artificial Intelligence, 2024, 37 (08): : 692 - 702
  • [48] Improved YOLOv5 Network for Steel Surface Defect Detection
    Huang, Bo
    Liu, Jianhong
    Liu, Xiang
    Liu, Kang
    Liao, Xinyu
    Li, Kun
    Wang, Jian
    [J]. METALS, 2023, 13 (08)
  • [49] YOLOv7-based automated detection platform for scalp lesions
    Nguyen, Hung Viet
    Byeon, Haewon
    [J]. DIGITAL HEALTH, 2024, 10
  • [50] Research on surface defect detection algorithm of pipeline weld based on YOLOv7
    Xu, Xiangqian
    Li, Xing
    [J]. SCIENTIFIC REPORTS, 2024, 14 (01)