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

被引:0
作者
Song, Hongru [1 ,2 ]
机构
[1] Zhejiang Univ Technol, Coll Informat Engn, Hangzhou 31002, Peoples R China
[2] Tongling Univ, Coll Elect Engn, Tongling 244061, Peoples R China
关键词
Surface defect detection; Feature extraction; YOLOv7; Swin transformer;
D O I
10.1038/s41598-025-04811-w
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
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.
引用
收藏
页数:13
相关论文
共 50 条
[31]   Surface Defect Detection of Preform Based on Improved YOLOv5 [J].
Hou, Jiatong ;
You, Bo ;
Xu, Jiazhong ;
Wang, Tao ;
Cao, Moran .
APPLIED SCIENCES-BASEL, 2023, 13 (13)
[32]   Improved YOLOv7 models based on modulated deformable convolution and swin transformer for object detection in fisheye images [J].
Zhou, Jie ;
Yang, Degang ;
Song, Tingting ;
Ye, Yichen ;
Zhang, Xin ;
Song, Yingze .
IMAGE AND VISION COMPUTING, 2024, 144
[33]   Surface defect detection algorithm based on improved YOLOv4 [J].
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
[34]   Underwater Target Detection Based on Improved YOLOv7 Algorithm With BiFusion Neck Structure and MPDIoU Loss Function [J].
Ou, Jinyu ;
Shen, Yijun .
IEEE ACCESS, 2024, 12 :105165-105177
[35]   Detection of Bolt Defects on Transmission Lines Based on Multi-Scale YOLOv7 [J].
Peng, Lincong ;
Wang, Kerui ;
Zhou, Hao ;
Li, Haiyan ;
Yu, Pengfei .
IEEE ACCESS, 2024, 12 :156639-156650
[36]   Surface Defect Detection of Industrial Components Based on Improved YOLOv5s [J].
Liu, Li ;
Feng, Xuefeng ;
Li, Feng ;
Xian, Qinglong ;
Chen, Zhendong ;
Jia, Zhenhong .
IEEE SENSORS JOURNAL, 2024, 24 (15) :23940-23950
[37]   Fast PCB Defect Detection Method Based on FasterNet Backbone Network and CBAM Attention Mechanism Integrated With Feature Fusion Module in Improved YOLOv7 [J].
Chen, Boyuan ;
Dang, Zichen .
IEEE ACCESS, 2023, 11 :95092-95103
[38]   A SURFACE DEFECT DETECTION METHOD OF STEEL PLATE BASED ON YOLOV3 [J].
Ouyang, G. Z. ;
Zhang, W. Y. .
METALURGIJA, 2023, 62 (01) :61-64
[39]   Fast and accurate detection of surface defect based on improved YOLOv4 [J].
Lian, Jiawei ;
He, Junhong ;
Niu, Yun ;
Wang, Tianze .
ASSEMBLY AUTOMATION, 2022, 42 (01) :134-146
[40]   Sign-YOLO: Traffic Sign Detection Using Attention-Based YOLOv7 [J].
Mahadshetti, Ruturaj ;
Kim, Jinsul ;
Um, Tai-Won .
IEEE ACCESS, 2024, 12 :132689-132700