Laser & Optoelectronics Progress, Volume. 62, Issue 4, 0412005(2025)
Defect Detection Method for Vehicle Weld Porosity Based on Improved YOLOv5
To address the current challenges in detecting weld porosity during vehicle production, such as difficulty in detection, low efficiency, and low accuracy, an improved model based on YOLOv5s is proposed. The model incorporates both spatial and channel attention modules in the Backbone network to enhance the feature extraction capability for weld porosity. Additionally, a bidirectional feature pyramid module is introduced in the Neck network to improve the feature fusion capability for small targets. Then, the loss function of the model is adjusted to strengthen the generalization ability for detecting small targets, specifically improving the localization accuracy of small defects. The improved model is validated on a vehicle production weld dataset, results show that the proposed model achieved a mean average precision of 62.9% and a detection frame rate of 89.72 frame/s. Compared with current mainstream object detection algorithms, the proposed model demonstrates superior overall performance.
Get Citation
Copy Citation Text
Xiaolong Zhou, Changjie Liu. Defect Detection Method for Vehicle Weld Porosity Based on Improved YOLOv5[J]. Laser & Optoelectronics Progress, 2025, 62(4): 0412005
Category: Instrumentation, Measurement and Metrology
Received: Jun. 4, 2024
Accepted: Jul. 9, 2024
Published Online: Feb. 10, 2025
The Author Email:
CSTR:32186.14.LOP241418