RSTD-YOLOv7: a steel surface defect detection based on improved YOLOv7

被引:0
作者
Hongru Song [1 ]
机构
[1] Zhejiang University of Technology,College of Information Engineering
[2] Tongling University,College of Electrical Engineering
关键词
Surface defect detection; Feature extraction; YOLOv7; Swin transformer;
D O I
10.1038/s41598-025-04811-w
中图分类号
学科分类号
摘要
Steel surface defect detection is one of the important applications of object detection technology in industry, which can accurately detect surface defects and improve the quality of products. To address the issues of low detection accuracy caused by less area, small scale and similarity between defects and background of steel surface defects. We proposes a RSTD-YOLOv7 method based on YOLOv7 for steel surface defect detection. First, the RFBVGG module and SimAM attention mechanism are integrated into the YOLOv7 backbone network to expand the receptive field, reduce the loss of texture information, and enhance the target feature extraction ability of the model. Second, the STRVGG module, constructed using the Swin Transformer, is incorporated into the neck network. This enhancement improves the extraction ability to capture deep information concealed within the feature maps, reduces feature loss, and improve the ability of feature detection. Then, an improved DSDH detector head is employed to elevate the model’s detection precision and network convergence speed. Finally, comparative experiments are conducted on the NEU-DET and GC10-DET datasets. The results show that our proposed method attains the highest detection accuracy, achieving an mAP of 79.3% and 73.2% respectively, compared with the original YOLOv7 model, the mAP increased by 15.9% and 9.6% respectively, the parameters were reduced by 11.3 M and 11.5 M, respectively, the FPS increased by 15.7% and 11.5%, respectively. These results show that our proposed model excels in detection accuracy and speed, exhibiting remarkable generalization capabilities.
引用
收藏
相关论文
共 50 条
  • [21] Steel Surface Defect Detection Method Based on Improved YOLOv9 Network
    Zou, Jialin
    Wang, Hongcheng
    IEEE ACCESS, 2024, 12 : 124160 - 124170
  • [22] An improved YOLOv7 model based on Swin Transformer and Trident Pyramid Networks for accurate tomato detection
    Liu, Guoxu
    Zhang, Yonghui
    Liu, Jun
    Liu, Deyong
    Chen, Chunlei
    Li, Yujie
    Zhang, Xiujie
    Mbouembe, Philippe Lyonel Touko
    FRONTIERS IN PLANT SCIENCE, 2024, 15
  • [23] Small object detection model for UAV aerial image based on YOLOv7
    Jinguang Chen
    Ronghui Wen
    Lili Ma
    Signal, Image and Video Processing, 2024, 18 : 2695 - 2707
  • [24] Small object detection model for UAV aerial image based on YOLOv7
    Chen, Jinguang
    Wen, Ronghui
    Ma, Lili
    SIGNAL IMAGE AND VIDEO PROCESSING, 2024, 18 (03) : 2695 - 2707
  • [25] Smoke and Fire Detection Based on YOLOv7 With Convolutional Structure Reparameterization and Lightweighting
    Hu, Junjie
    He, Yun
    Zeng, Ming
    Qian, Yingjing
    Zhang, Renmin
    IEEE SENSORS LETTERS, 2024, 8 (08)
  • [26] A YOLOv7-Based Defect Detection Method for Metal Surfaces
    Sun, Zhiwei
    Feng, Siyuan
    Li, Kai
    Liu, Yuliang
    Li, Yufeng
    ADVANCED INTELLIGENT COMPUTING TECHNOLOGY AND APPLICATIONS, PT VI, ICIC 2024, 2024, 14867 : 473 - 483
  • [27] Surface Defect Detection of Preform Based on Improved YOLOv5
    Hou, Jiatong
    You, Bo
    Xu, Jiazhong
    Wang, Tao
    Cao, Moran
    APPLIED SCIENCES-BASEL, 2023, 13 (13):
  • [28] Improved YOLOv7 models based on modulated deformable convolution and swin transformer for object detection in fisheye images
    Zhou, Jie
    Yang, Degang
    Song, Tingting
    Ye, Yichen
    Zhang, Xin
    Song, Yingze
    IMAGE AND VISION COMPUTING, 2024, 144
  • [29] Surface defect detection algorithm based on improved YOLOv4
    Li B.
    Wang C.
    Ding X.
    Ju H.
    Guo Z.
    Li Z.
    Beijing Hangkong Hangtian Daxue Xuebao/Journal of Beijing University of Aeronautics and Astronautics, 2023, 49 (03): : 710 - 717
  • [30] Underwater Target Detection Based on Improved YOLOv7 Algorithm With BiFusion Neck Structure and MPDIoU Loss Function
    Ou, Jinyu
    Shen, Yijun
    IEEE ACCESS, 2024, 12 : 105165 - 105177