Wenwen Lu, Haoyuan Zheng, Shouzhen Xiao, Weihua Xue, Shaobin Yang
{"title":"Application of the Improved YOLOv8 Algorithm for Small Object Detection in X-ray Weld Inspection Images","authors":"Wenwen Lu, Haoyuan Zheng, Shouzhen Xiao, Weihua Xue, Shaobin Yang","doi":"10.1007/s10921-025-01235-4","DOIUrl":null,"url":null,"abstract":"<div><p>The adoption of machine vision to replace manual inspection in X-ray non-destructive testing (NDT) for image defect detection has emerged as a significant trend in the advancement of welding defect detection. In this paper, an enhanced strategy is proposed to address the issue of low detection accuracy of YOLOv8 in X-ray weld defect detection. An extra tiny object detection head is added to the detection head, which enables more accurate capture of extremely small defect features, effectively expanding the lower detection limit and significantly enhancing the detection capability for extremely small weld defects. By employing serpentine deformable convolution, the model dynamically adjusts its receptive field, enabling it to flexibly adapt to variations in crack morphology, thereby improving the detection capability for small objects with special shapes. The integration of an advanced BiFPN structure enables three-level feature fusion, optimizing the detection performance for medium and large objects across multiple scales, and expanding the upper detection range. The results show that the proposed improvement strategy achieves the maximum detection scale while also significantly improving detection accuracy, with the overall mAP@50% reaching 97.2%, an increase of 17.1%. The proposed strategy in this study significantly improves the accuracy of weld defect detection. It also enhances the detection performance for small targets with specific shapes, extremely small defects, and expands the model’s scale adaptability. Validation experiments conducted on the GDXray weld dataset further demonstrate its effectiveness.</p></div>","PeriodicalId":655,"journal":{"name":"Journal of Nondestructive Evaluation","volume":"44 3","pages":""},"PeriodicalIF":2.4000,"publicationDate":"2025-07-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Nondestructive Evaluation","FirstCategoryId":"88","ListUrlMain":"https://link.springer.com/article/10.1007/s10921-025-01235-4","RegionNum":3,"RegionCategory":"材料科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"MATERIALS SCIENCE, CHARACTERIZATION & TESTING","Score":null,"Total":0}
引用次数: 0
Abstract
The adoption of machine vision to replace manual inspection in X-ray non-destructive testing (NDT) for image defect detection has emerged as a significant trend in the advancement of welding defect detection. In this paper, an enhanced strategy is proposed to address the issue of low detection accuracy of YOLOv8 in X-ray weld defect detection. An extra tiny object detection head is added to the detection head, which enables more accurate capture of extremely small defect features, effectively expanding the lower detection limit and significantly enhancing the detection capability for extremely small weld defects. By employing serpentine deformable convolution, the model dynamically adjusts its receptive field, enabling it to flexibly adapt to variations in crack morphology, thereby improving the detection capability for small objects with special shapes. The integration of an advanced BiFPN structure enables three-level feature fusion, optimizing the detection performance for medium and large objects across multiple scales, and expanding the upper detection range. The results show that the proposed improvement strategy achieves the maximum detection scale while also significantly improving detection accuracy, with the overall mAP@50% reaching 97.2%, an increase of 17.1%. The proposed strategy in this study significantly improves the accuracy of weld defect detection. It also enhances the detection performance for small targets with specific shapes, extremely small defects, and expands the model’s scale adaptability. Validation experiments conducted on the GDXray weld dataset further demonstrate its effectiveness.
期刊介绍:
Journal of Nondestructive Evaluation provides a forum for the broad range of scientific and engineering activities involved in developing a quantitative nondestructive evaluation (NDE) capability. This interdisciplinary journal publishes papers on the development of new equipment, analyses, and approaches to nondestructive measurements.