Detection of Welding Defects Tracked by YOLOv4 Algorithm

被引:0
作者
Chen, Yunxia [1 ]
Wu, Yan [1 ]
机构
[1] Shanghai Polytech Univ, Sch Intelligent Mfg & Control Engn, Shanghai 201209, Peoples R China
来源
APPLIED SCIENCES-BASEL | 2025年 / 15卷 / 04期
基金
中国国家自然科学基金;
关键词
weld defects; deep learning; target detection; YOLOv4;
D O I
10.3390/app15042026
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
The recall rate of the original YOLOv4 model for detecting internal defects in aluminum alloy welds is relatively low. To address this issue, this paper introduces an enhanced model, YOLOv4-cs1. The improvements include optimizing the stacking method of residual blocks, modifying the activation functions for different convolutional layers, and eliminating the downsampling layer in the PANet (Pyramid Attention Network) to preserve edge information. Building on these enhancements, the YOLOv4-cs2 model further incorporates an improved Spatial Pyramid Pooling (SPP) module after the third and fourth residual blocks. The experimental results demonstrate that the recall rates for pore and slag inclusion detection using the YOLOv4-cs1 and YOLOv4-cs2 models increased by 28.9% and 16.6%, and 45% and 25.2%, respectively, compared to the original YOLOv4 model. Additionally, the mAP values for the two models are 85.79% and 87.5%, representing increases of 0.98% and 2.69%, respectively, over the original YOLOv4 model.
引用
收藏
页数:15
相关论文
共 25 条
  • [1] Du W., Shen H., Fu J., Zhang G., He Q., Approaches for improvement of the X-ray image defect detection of automobile casting aluminum parts based on deep learning, NDT E Int, 107, (2019)
  • [2] Arkin E., Yadikar N., Xu X., Aysa A., Ubul K., A survey: Object detection methods from CNN to transformer, Multimed. Tools Appl, 82, pp. 21353-21383, (2023)
  • [3] He K., Zhang X., Ren S., Sun J., Spatial pyramid pooling in deep convolutional networks for visual recognition, IEEE Trans. Pattern Anal. Mach. Intell, 37, pp. 1904-1916, (2015)
  • [4] Girshick R., Fast R-CNN, arXiv, (2015)
  • [5] Ren S., Faster R-CNN: Towards real-time object detection with region proposal networks, arXiv, (2015)
  • [6] Zhou H.-Y., Gao B.-B., Wu J., Adaptive feeding: Achieving fast and accurate detections by adaptively combining object detectors, Proceedings of the 2017 IEEE International Conference on Computer Vision, pp. 3505-3513
  • [7] Jiang P., Ergu D., Liu F., Cai Y., Ma B., A review of yolo algorithm developments, Procedia Comput. Sci, 199, pp. 1066-1073, (2022)
  • [8] Ross T.-Y., Dollar G., Focal loss for dense object detection, Proceedings of the 2017 IEEE International Conference on Computer Vision, pp. 2980-2988
  • [9] Liu W., Anguelov D., Erhan D., Szegedy C., Reed S., Fu C.-Y., Berg A.C., SSD: Single shot multibox detector, Computer Vision–ECCV 2016: 14th European Conference, pp. 21-37, (2016)
  • [10] Zhao Z., He P., Yolo-mamba: Object detection method for infrared aerial images, Signal Image Video Process, 18, pp. 8793-8803, (2024)