Computer Science ›› 2024, Vol. 51 ›› Issue (6A): 230800018-5.doi: 10.11896/jsjkx.230800018

• Image Processing & Multimedia Technolog • Previous Articles     Next Articles

Steel Defect Detection Based on Improved YOLOv7

HUANG Haixin, WU Di   

  1. School of Automation and Electrical Engineering,Shenyang Ligong University,Shenyang 110159,China
  • Published:2024-06-06
  • About author:HUANG Haixin,born in 1973,Ph.D,associate professor.Her main research interests include machine learning,artificial intelligence and intelligent grid.
  • Supported by:
    National Natural Science Foundation of China(61672359).

Abstract: Steel surface defect detection is very important in actual production.In order to accurately detect defects,this paper designs a steel surface defect detection model based on improved YOLOv7.Firstly,the Ghost module is introduced into the backbone network structure to enhance the ability of the model to extract features and identify small features while reducing the number of model parameters.Secondly,the attention mechanism is embedded in the pooling module.Finally,the loss function is improved by introducing EIOU,so as to better optimize the YOLOv7 network model,which can better deal with the imbalance of samples,so as to achieve better optimization similarity.Experimental results show that,compared with the original model,the mAP of the proposed model increases by 4.2% to 76.9%.The model can meet the needs of accurate detection and identification of steel surface defects.

Key words: YOLOv7, Defect detection, Deep learning, Attention module

CLC Number: 

  • TP391
[1]TANG B,KONG J Y,WU S Q.A review of surface defect detection in machine vision[J].China figure Journal of Elephant Graphics,2017,22(12):1640-1663.
[2]GUAN S,CHANG J,SHI H,et al.Strip steel defect classification using the improved GAN and EfficientNet[J].Applied Artificial Intelligence,2021,35(15):1887-1904.
[3]REDMON J,DIVVALA S,GIRSHICK R,et al.You only look once:Unified,real-time object detection[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.2016:779-788.
[4]TONG L,WONG W K,KWONG C K.Differential evolution-based optimal Gabor filter model for fabric inspection[J].Neurocomputing,2016,173:1386-1401.
[5]TSAI D M,CHEN M C,LI W C,et al.A fast regularity measure for surface defect detection[J].Machine Vision and applications,2012,23:869-886.
[6]WANG J,LI Q,GAN J,et al.Surface defect detection via entity sparsity pursuit with intrinsic priors[J].IEEE Transactions on Industrial Informatics,2019,16(1):141-150.
[7]LIU K,WANG H,CHEN H,et al.Steel surface defect detection using a new Haar-Weibull-variance model in unsupervised manner[J].IEEE transactions on instrumentation and measurement,2017,66(10):2585-2596.
[8]CHOI D,JEON Y J,KIM S H,et al.Detection of pinholes in steel slabs using Gabor filter combination and morphological features[J].Isij International,2017,57(6):1045-1053.
[9]WANG C Y,BOCHKOVSKIY A,LIAO H Y M.YOLOv7:Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.2023:7464-7475.
[10]NIU J,LI H,CHEN X,et al.An improved YOLOv5 network for detection of printed circuit board defects[J/OL].https://www.hindawi.com/journals/js/2023/7270093/.
[11]DING F,SHI J,WU H J.Improving the Lightweight RemoteSensing Image of YOLOv4 for Building Inspection[J].Computer Engineering and Applications,2023,59(10):213-220.
[12]SUN Y Z,GAO J W.Wheelset Tread Defect Detection Based on Improved YOLOv5[J].Advances in Laser and Optoelectronics,2022,59(22):228-234.
[13]WU D,LI M H,MA W K,et al.Steel surface defects based on improving YOLOv5[J].Journal of Shaanxi University of Science and Technology,2023,41(2):162-169.
[14]HE Y,SONG K,MENG Q,et al.An end-to-end steel surfacedefect detection approach via fusing multiple hierarchical features[J].IEEE Transactions on Instrumentation and Measurement,2019,69(4):1493-1504.
[1] HUANG Haixin, CAI Mingqi, WANG Yuyao. Review of Point Cloud Semantic Segmentation Based on Graph Convolutional Neural Networks [J]. Computer Science, 2024, 51(6A): 230400196-7.
[2] WANG Yingjie, ZHANG Chengye, BAI Fengbo, WANG Zumin. Named Entity Recognition Approach of Judicial Documents Based on Transformer [J]. Computer Science, 2024, 51(6A): 230500164-9.
[3] LIANG Fang, XU Xuyao, ZHAO Kailong, ZHAO Xuanfeng, ZHANG Guijun. Remote Template Detection Algorithm and Its Application in Protein Structure Prediction [J]. Computer Science, 2024, 51(6A): 230600225-7.
[4] PENG Bo, LI Yaodong, GONG Xianfu, LI Hao. Method for Entity Relation Extraction Based on Heterogeneous Graph Neural Networks and TextSemantic Enhancement [J]. Computer Science, 2024, 51(6A): 230700071-5.
[5] ZHANG Tianchi, LIU Yuxuan. Research Progress of Underwater Image Processing Based on Deep Learning [J]. Computer Science, 2024, 51(6A): 230400107-12.
[6] WANG Guogang, DONG Zhihao. Lightweight Image Semantic Segmentation Based on Attention Mechanism and Densely AdjacentPrediction [J]. Computer Science, 2024, 51(6A): 230300204-8.
[7] ZHANG Le, YU Ying, GE Hao. Mural Inpainting Based on Fast Fourier Convolution and Feature Pruning Coordinate Attention [J]. Computer Science, 2024, 51(6A): 230400083-9.
[8] WU Yibo, HAO Yingguang, WANG Hongyu. Rice Defect Segmentation Based on Dual-stream Convolutional Neural Networks [J]. Computer Science, 2024, 51(6A): 230600107-8.
[9] HOU Linhao, LIU Fan. Remote Sensing Image Fusion Combining Multi-scale Convolution Blocks and Dense Convolution Blocks [J]. Computer Science, 2024, 51(6A): 230400110-6.
[10] HUANG Yuanhang, BIAN Shan, WANG Chuntao. Gaussian Enhancement Module for Reinforcing High-frequency Details in Camera ModelIdentification [J]. Computer Science, 2024, 51(6A): 230700125-5.
[11] CHEN Yuzhang, WANG Shiqi, ZHOU Wen, ZHOU Wanting. Small Object Detection for Fish Based on SPD-Conv and NAM Attention Module [J]. Computer Science, 2024, 51(6A): 230500176-7.
[12] SUN Yang, DING Jianwei, ZHANG Qi, WEI Huiwen, TIAN Bowen. Study on Super-resolution Image Reconstruction Using Residual Feature Aggregation NetworkBased on Attention Mechanism [J]. Computer Science, 2024, 51(6A): 230600039-6.
[13] SHI Songhao, WANG Xiaodan, YANG Chunxiao, WANG Yifei. SAR Image Target Recognition Based on Cross Domain Few Shot Learning [J]. Computer Science, 2024, 51(6A): 230800136-7.
[14] LI Yuanxin, GUO Zhongfeng, YANG Junlin. Container Lock Hole Recognition Algorithm Based on Lightweight YOLOv5s [J]. Computer Science, 2024, 51(6A): 230900021-6.
[15] DAI Yongdong, JIN Yang, DAI Yufan, FU Jing, WANG Maofei, LIU Xi. Study on Intelligent Defect Recognition Algorithm of Aerial Insulator Image [J]. Computer Science, 2024, 51(6A): 230700172-5.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!