Research on Improved Lightweight Weld Defect Identification Algorithm Based on YOLOv5

Jingqi Yang,Xiaochuan Liu,Jinggang Qin,Li Liu,Dengcai Zhao,Yuan Liu
DOI: https://doi.org/10.1109/isceic59030.2023.10271180
2023-01-01
Abstract:Aiming to improve X-ray weld defect identification reliability and balancing detection speed and accuracy, this paper proposes an improved lightweight weld defect identification algorithm based on YOLOv5. Firstly, the algorithm designs a feature extraction module SPPSE, which integrates attention mechanisms to enhance the identification performance in complex scenarios. Secondly, the lightweight structure C3_Faster and FReLU activation function are combined to improve the computationally complex parts of the original YOLOv5s network, which is reducing the model’s parameters while accelerating the runtime speed. Finally, EIOU is utilized as the bounding box loss function, and the Anchor is optimized to improve the model’s detection accuracy. Experimental results show that the improved model achieves to mAP of 96.7% and fps of 90 on a custom dataset. The ablation experiments were conducted on the publicly available datasets NEU-DET and MS COCO, and their mAP@0.5 was improved by 4.4% and 2.3%,in the case of a 30% reduction in parameters. The improved model effectively balances detection performance and lightweight implementation.
What problem does this paper attempt to address?