Research on X-Ray Weld Defect Detection of Steel Pipes by Integrating ECA and EMA Dual Attention Mechanisms
Source abstract
Abstract
The welding quality of industrial pipelines directly impacts structural safety. X-ray non-destructive testing (NDT), known for its non-invasive and efficient characteristics, is widely used for weld defect detection. However, challenges such as low contrast between defects and background, as well as large variations in defect scales, reduce the accuracy of existing object detection models. To address these, an optimized detection model based on You Only Look Once (YOLO) v5 is proposed. Firstly, the Efficient Multi-Scale Attention (EMA) attention mechanism is integrated into the first Cross Stage Partial (C3) module of the backbone to enhance the model’s receptive field and the initial feature extraction. Secondly, the Efficient Channel Attention (ECA) attention mechanism is embedded before the Spatial Pyramaid Pooling Fast (SPPF) layer to enhance the model’s ability to extract small targets and key features. Finally, the Complete Intersection over Union (CIoU) loss is replaced with Wise Intersection over Union (WIoU) to improve localization accuracy and multi-scale detection performance. The experimental results show that the optimized model achieves a precision of 94.1%, a recall of 89.2%, and an mAP@0.5 of 94.6%, representing improvements by 11.5%, 5.4%, and 6.9%, respectively, over the original YOLOv5. The optimized model also outperforms several mainstream object detection models in weld defect detection. In terms of mAP@0.5, the optimized YOLOv5 model shows improvements of 14.89%, 13.02%, 6.1%, 19.37%, 7.1%, 7.5%, and 10.7% compared with the Faster-RCNN, SSD, RT-DETR, YOLOv3, YOLOv8, YOLOv9, and YOLOv10 models, respectively. This optimized model significantly enhances X-ray weld defect detection accuracy, meeting industrial application requirements and offering another high-precision solution for weld defect detection.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Non-Destructive Testing Techniques · Welding Techniques and Residual Stresses · Industrial Vision Systems and Defect Detection
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
School of Mechanical Engineering, Guangxi University, Nanning 530004, China
Natural Gas Branch of SINOPEC, Beijing 100029, China
Funding
National Natural Science Foundation of China
References (24)
Show source-provided references
1. Deep learning based steel pipe weld defect detection10.1080/08839514.2021.1975391 ↗
2. An automatic welding defect location algorithm based on deep learning10.1016/j.ndteint.2021.102435 ↗
3. Defects detection in weld joints based on visual attention and deep learning10.1016/j.ndteint.2022.102764 ↗
4. Zuo, F., Liu, J., Fu, M., Wang, L., and Zhao, Z. (2024). An X-Ray-based multiexpert inspection method for automatic welding defect assessment in intelligent pipeline systems. IEEE/ASME Trans. Mechatron., 1–12.10.1109/TMECH.2024.3408337 ↗
5. One-stage identification method for weld defects based on deep learning network
6. Pipeline magnetic flux leakage image detection algorithm based on multiscale SSD network10.1109/TII.2019.2926283 ↗
7. Wu, Y., Yan, S., and Zhao, X. (2023, January 22–24). Weld defect detection model based on machine vision. Proceedings of the Third International Conference on Advanced Manufacturing Technology and Electronic Information (AMTEI 2023), Tianjin, China.10.1117/12.3025835 ↗
8. Context and scale-aware YOLO for welding defect detection10.1016/j.ndteint.2023.102919 ↗
9. Yao, J., Qi, J., Zhang, J., Shao, H., Yang, J., and Li, X. (2021). A real-time detection algorithm for Kiwifruit defects based on YOLOv5. Electronics, 10.10.3390/electronics10141711 ↗
10. Zhang, Y., and Ni, Q. (2023). A novel weld-seam defect detection algorithm based on the s-yolo model. Axioms, 12.10.3390/axioms12070697 ↗
11. A deep learning approach incorporating YOLO v5 and attention mechanisms for field real-time detection of the invasive weed Solanum rostratum Dunal seedlings10.1016/j.compag.2022.107194 ↗
12. Defect signal intelligent recognition of weld radiographs based on YOLO V5-IMPROVEMENT10.1016/j.jmapro.2023.05.058 ↗
13. Improved lightweight X-ray aluminum alloy weld defects detection algorithm based on YOLOv5
14. Xu, X., and Li, X. (2024). Research on surface defect detection algorithm of pipeline weld based on YOLOv7. Sci. Rep., 14.10.1038/s41598-024-52451-3 ↗
15. Sim-YOLOv8 Object Detection Model for DR Image Defects in Aluminum Alloy Welds
16. Remote Sensing Object Detection Methods Based on Improved YOLOv5s
17. Improved YOLOv5-Based Deeplearning Method for Detecting “Hot Spot Effect” in Phtotvoltaic Modules
18. Image analysis of the automatic welding defects detection based on deep learning10.1007/s10921-023-00992-4 ↗
19. Ouyang, D., He, S., Zhang, G., Luo, M., Guo, H., and Zhan, J. (2023, January 4–10). Efficient multi-scale attention module with cross-spatial learning. Proceedings of the ICASSP 2023—2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Rhodes Island, Greece.10.1109/ICASSP49357.2023.10096516 ↗
20. Detection of dress code violations based on improved YOLOv5s
21. Wang, Q., Wu, B., Zhu, P., Li, P., Zuo, W., and Hu, Q. (2020, January 13–19). ECA-Net: Efficient channel attention for deep convolutional neural networks. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR42600.2020.01155 ↗
22. Detection of wood surface defects using YOLOv5-LW model
23. Tong, Z., Chen, Y., Xu, Z., and Yu, R. (2023). Wise-IoU: Bounding box regression loss with dynamic focusing mechanism. arXiv.
24. Tomato Potting Seedling Classification and Recognition Model Based on Improved YOLOv5s