Lightweight Surface Defect Detection Algorithm Based on Improved YOLOv5

被引:1
作者
Yang, Kaijun [1 ]
Chen, Tao [1 ]
机构
[1] Kunming Univ Sci & Technol, Fac Informat Engn & AutoMat, Kunming, Yunnan, Peoples R China
来源
2024 5TH INTERNATIONAL CONFERENCE ON MECHATRONICS TECHNOLOGY AND INTELLIGENT MANUFACTURING, ICMTIM 2024 | 2024年
关键词
surface defects; Defect detection; Loss function; YOLOv5; Attention mechanism;
D O I
10.1109/ICMTIM62047.2024.10629491
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
In response to the current issues of low detection accuracy and slow detection speed of detection algorithms in detecting surface defects on metal surfaces, a lightweight surface defect detection algorithm based on improved YOLOv5 is proposed. Firstly, a lightweight spatial attention module is introduced into the SPP module to extract effective information in the spatial dimension. Secondly, a new feature fusion network Amsf is designed to replace the original feature fusion network, which integrates feature information of different scales. Furthermore, the FAM attention mechanism is added to this network to enhance the detection capability for different types of targets. Finally, the SIoU loss function is used to replace the GIoU loss function to reduce boundary loss errors and improve the accuracy of target localization. Experimental results show that the improved model achieves an average detection accuracy of 81.97% on the NEU-DET dataset, which is 7.74% higher than YOLOv5. The model size and detection speed are comparable to YOLOv5. Effective improvement in detection accuracy is achieved while ensuring detection speed.
引用
收藏
页码:798 / 802
页数:5
相关论文
共 11 条
[1]  
[高嘉 Gao Jia], 2023, [仪器仪表学报, Chinese Journal of Scientific Instrument], V44, P223
[2]  
He KM, 2017, IEEE I CONF COMP VIS, P2980, DOI [10.1109/TPAMI.2018.2844175, 10.1109/ICCV.2017.322]
[3]  
JingR Li, 2012, J Foreign Electronic Measurement Technology, V31, P28
[4]   SSD: Single Shot MultiBox Detector [J].
Liu, Wei ;
Anguelov, Dragomir ;
Erhan, Dumitru ;
Szegedy, Christian ;
Reed, Scott ;
Fu, Cheng-Yang ;
Berg, Alexander C. .
COMPUTER VISION - ECCV 2016, PT I, 2016, 9905 :21-37
[5]  
[刘艳菊 Liu Yanju], 2021, [仪器仪表学报, Chinese Journal of Scientific Instrument], V42, P211
[6]   Defect Detection of Steel Surfaces with Global Adaptive Percentile Thresholding of Gradient Image [J].
Neogi N. ;
Mohanta D.K. ;
Dutta P.K. .
Journal of The Institution of Engineers (India): Series B, 2017, 98 (06) :557-565
[7]   Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks [J].
Ren, Shaoqing ;
He, Kaiming ;
Girshick, Ross ;
Sun, Jian .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2017, 39 (06) :1137-1149
[8]   Research and Application Assumptions of Health Management Theory of Large Mechanical System [J].
Shen, Gongtian ;
Liu, Yuan .
Jixie Gongcheng Xuebao/Journal of Mechanical Engineering, 2017, 53 (06) :1-9
[9]  
Xing Haiyan, 2010, Refining and Chemical Industry, V21, P3, DOI [10.3969/j.issn.1671-4962.2010.02.003, DOI 10.3969/J.ISSN.1671-4962.2010.02.003]
[10]   Analysis of Infrared Polarization Characteristics of Target in Thermal Radiation Environment [J].
Yang Zhiyong ;
Lu Gaoxiang ;
Zhang Zhiwei ;
Song Junchen .
ACTA OPTICA SINICA, 2022, 42 (02)