Related Experiment Video
Updated: Aug 14, 2026

11:34
Subsurface Defect Localization by Structured Heating Using Laser Projected Photothermal Thermography
Published on: May 15, 2017
11.1K
Detection method of small size defects on pipeline weld surface based on improved YOLOv7
Xiangqian Xu1, Wenting Hou1, Xing Li1
1School of Material Science and Engineering, Xi'an Shiyou University, Xi'an, China.
Plos One
|December 12, 2024
Summary
This study introduces an improved YOLOv7 algorithm for detecting small defects in pipeline weld images. The enhanced model significantly improves detection accuracy and reduces computational load, effectively addressing missed detections.
Area of Science:
- Computer Vision
- Machine Learning
- Materials Science
Background:
- Pipeline weld surface defect images present complex backgrounds and small defect sizes.
- Small defects are prone to missed detection and false positives in automated inspection.
Purpose of the Study:
- To develop a lightweight target detection algorithm for accurately identifying small defects in pipeline weld images.
- To improve the efficiency and reliability of automated weld inspection systems.
Main Methods:
- An improved YOLOv7 algorithm incorporating a 160*160 small target detection head was developed.
- Depthwise separable convolutions replaced standard convolutions to reduce computational overhead.
- The CIoU loss function was optimized to the EIoU loss function for faster model convergence.
Main Results:
- The improved YOLOv7 algorithm achieved a mean average precision (mAP@0.5) of 72.2%, an 11% increase over the original YOLOv7.
- Model computation and parameter count were reduced by 75.6% and 60.3%, respectively.
- The algorithm demonstrated high confidence in detecting small-sized defects.
Conclusions:
- The proposed lightweight YOLOv7 algorithm effectively detects small defects on pipeline weld surfaces.
- The enhancements lead to superior detection performance and reduced computational resources.
- This method offers a promising solution for automated inspection in industrial settings.

