Study improves surface defect detection in stainless steel pipes, indicating enhanced inspection reliability.
Stainless steel pipes are critical components in industrial systems such as oil and gas transportation and nuclear power cooling. Surface defects can severely degrade their mechanical performance and operational safety. However, existing inspection methods still face challenges including difficult feature extraction, strong reflection interference, and limited accuracy in small-target detection. To address these issues, this paper proposes an improved detection algorithm termed YOLOv8s-BISW (incorporating BiFPN, SGE attention, and WIoU loss), which introduces multidimensional optimizations based on the YOLOv8s baseline. First, an image enhancement module combining Gamma correction and Contrast Limited Adaptive Histogram Equalization (CLAHE) is designed to mitigate uneven illumination and blurred defect imaging. Second, a Bidirectional Feature Pyramid Network (BiFPN) structure is introduced to strengthen multi-scale feature fusion and improve adaptability to defects of different sizes. Meanwhile, a Spatial Group-wise Enhance (SGE) attention module is embedded into the backbone to enhance defect feature representation while suppressing background interference. Furthermore, the Wise Intersection over Union (WIoU) loss function replaces Complete IoU (CIoU) to improve bounding box regression for irregular defects. Experimental results show that the proposed model achieves an mAP of 0.979 on a self-constructed Stainless-steel Tube Flaw (STF) dataset. Compared with the original YOLOv8s, precision, recall, and mAP are improved by 0.007, 0.010, and 0.033, respectively, while the average detection time per image is only 3.7 ms, achieving a favorable balance between accuracy and real-time performance. Compared with mainstream algorithms such as SSD, YOLOv3, and Faster R-CNN, the proposed method demonstrates superior overall performance, providing reliable technical support for automated surface defect detection of stainless steel pipes and offering practical value for intelligent manufacturing quality control.
No takes yet. Share an insight, caveat, or question.
Yang et al. (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: