Related Experiment Videos
YOLO11-Based Weld Defect Detection Method for X-Ray Images Integrating SIoU Bounding Box Regression and P2 Shallow
Li Gao1,2, Hailong Liu1,2, Weixin Gao1,2
1School of Electronic Engineering, Xi'an Shiyou University, Xi'an 710065, China.
Abstract:
X-ray inspection is crucial for pipeline weld non-destructive testing (NDT), yet automatic defect detection remains challenging due to low contrast, complex backgrounds, and significant variations in defect morphology. To address these issues, this paper proposes an improved YOLOv11-based method for X-ray weld images, integrating Smooth IoU (SIoU) bounding box regression and P2 shallow feature enhancement. First, to enhance the localization accuracy of elongated Region of Interest (ROI) targets in small-diameter pipe welds, the original CIoU loss is replaced with SIoU loss. By introducing an Angle Cost term, SIoU provides explicit directional constraints, guiding the predicted bounding box to align with the ground-truth orientation. Experimental results show the YOLOv11s + SIoU model achieves 99.5% mAP@50 and 99.9% precision, outperforming the baseline. Second, to improve the detection of larger defects (e.g., lack of fusion, incomplete penetration, and cracks) in long-distance pipeline welds, a P2 detection layer (stride 4) is added. This layer preserves high-resolution spatial details and shallow edge features that are typically lost during deep downsampling. Evaluated on a 960 × 960 input resolution, the YOLOv11s + P2 model achieves 93.07% precision, 94.8% mAP@50, and 72.01% mAP@50-95. The proposed method effectively combines directional constraint with shallow feature preservation, providing a robust solution for both ROI localization and large defect recognition in complex weld X-ray images.
Related Concept Videos
X-ray Imaging
Lumber Defects
Shakes are minor fractures that run along or across the wood's annual rings, while wane is...
Imaging Biological Samples with Optical Microscopy
In optical microscopy, the specimen to be viewed is placed on a glass slide and clipped on the stage...
Detection of Black Holes
Their closest cousins are neutron stars, which are composed almost entirely of neutrons packed against each other, making them extremely dense. A neutron star has the same mass as the Sun but its diameter is only a few kilometers. Therefore, the escape velocity from their surface is close to the speed of light.
Not until the 1960s, when the first neutron...