Supplementary material for "Machine learning–driven flaw detection for ultrasonic pipe inspections with acoustic lens" (ECNDT 2026)
收藏资源简介:
This repository contains the data and source code used to produce the results presented in: Kalid, T., Lazzaretti, A., Prado, T., Pires, G., Pipa, D., & Passarin, T. (2026). Machine learning–driven flaw detection for ultrasonic pipe inspections with acoustic lens. ECNDT 2026. https://www.ndt.net/?id=33475 Abstract Acoustic lenses have been recently employed during ultrasonic pipe inspection to increase the phased-array transducer coverage area. However, the lens also introduces geometrical artefacts, which affect the flaw detection process. Classic flaw detection methodologies commonly rely on thresholding, which becomes problematic when geometrical artifacts closely match the desired signal amplitude. We propose an adaptive method for flaw detection from ultrasonic inspections of tubes with acoustic lenses based on anomaly detection techniques. A machine-learning model was trained on data from flawless pipe specimens using an acoustic lens. During training, the model captures patterns associated with the flawless pipe and lens. Then, during testing, it analyzes newly observed data and classifies it either as a flaw (anomaly) or a normal response (as in the training set). Our model, based on the Local Outlier Factor, achieved an area under the receiver operating characteristic curve of 0.96, a global accuracy of 0.95, a recall of 0.91, and an F2-score of 0.84. These results, achieved across a wide range of flaw geometries, suggest that our model could be part of an automated flaw detection system for pipeline inspections. License All Python source code (.py) is made available under the MIT license. You can freely use and modify the code, without warranty, so long as you provide attribution to the authors. See LICENSE-MIT.txt for the full license text. Figures and data produced as part of this research are available under the Creative Commons Attribution 4.0 License (CC-BY). See LICENSE-CC-BY.txt for the full license text.



