(47-1) 13 * << * >> * Russian * English * Content * All Issues

Detection of surface defects in welded joints during visual inspections using machine vision methods
M.G. Yemelyanova 1, S.S. Smailova 1, O.E. Baklanova 1

D. Serikbayev East Kazakhstan Technical University,
070004, Ust-Kamenogorsk, Kazakhstan, Serikbayev 19

 PDF, 1369 kB

DOI: 10.18287/2412-6179-CO-1137

Pages: 112-117.

Full text of article: Russian language.

We discuss a problem of automatic defect detection in welded joints of stainless steel pipes in the production process. Possible defects that occur during tungsten inert gas welding are shown. The substantiation of the choice of the method for solving the problem based on modeling and background subtraction is given. An algorithm for defect detection in welded joints on frames of video sequences is proposed, taking into account the features of a specific area. The background models are built using the methods of averaging and a mixture of Gaussians. Experimental studies of the algorithm are carried out using examples of processing frames of video sequences received from a static camera. The obtained results confirm that the background modeling method based on frame averaging is suitable for the automatic detection of welding defects since the defects are different and have characteristic features. The proposed algorithm makes it possible to detect and highlight the defective area in a welded joint on frames of video sequences. The experimental results show that the algorithm satisfies the requirements for continuous rapid detection of surface defects.

visual inspection, welded joints, defect, machine vision, background subtraction.

Yemelyanova MG, Smailova SS, Baklanova OE. Detection of surface defects in welded joints during visual inspections using machine vision methods. Computer Optics 2023; 47(1): 112-117. DOI: 10.18287/2412-6179-CO-1137.


  1. ISO 17637:2016. Non-destructive testing of welds – Visual testing of fusion-welded joints. Vernier, Geneva, Switzerland: ISO; 2016.
  2. GOST R ISO 17637-2014. Non-destructive testing. Visual inspection of joints made by fusion welding [In Russian]. Moscow: "Standartinform" Publisher; 2015.
  3. ISO 6520-1:2007. Welding and allied processes – Classification of geometric imperfections in metallic materials – Part 1: Fusion welding. Vernier, Geneva, Switzerland: ISO; 2007.
  4. GOST R ISO 6520-1-2012. Welding and related processes. Classification of defects in geometry and continuity in metallic materials. Part 1. Fusion welding [In Russian]. Moscow: "Standartinform" Publisher; 2014.
  5. Muravyov SV, Pogadaeva EYu. Computer-aided recognition of defects in welded joints during visual inspections based on geometric attributes. Russ J Nondestruct Test 2020; 56(3): 259-267. DOI: 10.1134/S1061830920030055.
  6. Sun J, Li C, Wu XJ, Palade V, Fang W. An effective method of weld defect detection and classification based on machine vision. IEEE Trans Industr Inform 2019; 15(12): 6322-6333. DOI: 10.1109/TII.2019.2896357.
  7. Fan X, Gao X, Liu G, Ma N, Zhang Y. Research and prospect of welding monitoring technology based on machine vision. Int J Adv Manuf Technol 2021; 115: 3365-3391. DOI: 10.1007/s00170-021-07398-4.
  8. Li L, Xiao L, Liao H, Liu S, Ye B. Welding quality monitoring of high frequency straight seam pipe based on image feature. J Mater Process Technol 2017; 246: 285-290. DOI: 10.1016/j.jmatprotec.2017.03.031.
  9. Hou W, Zhang D, Wei Y, Guo J, Zhang X. Review on computer aided weld defect detection from radiography images. Appl Sci 2020; 10(5): 1878. DOI: 10.3390/app10051878.
  10. Boaretto N, Centeno TM. Automated detection of welding defects in pipelines from radiographic images DWDI. NDT & E Int 2017; 86: 7-13. DOI: 10.1016/j.ndteint.2016.11.003.
  11. Valavanis I, Kosmopoulos D. Multiclass defect detection and classification in weld radiographic images using geometric and texture features. Expert Syst Appl 2010; 37(12): 7606-7614. DOI: 10.1016/j.eswa.2010.04.082.
  12. Kazantsev I, Lemahieu I, Salov GI, Denys R. Statistical detection of defects in radiographic images in nondestructive testing. Signal Proces 2002; 82: 791-801. DOI: 10.1016/S0165-1684(02)00158-5.
  13. Zou Y, Du D, Chang B, Ji L, Pan J. Automatic weld defect detection method based on Kalman filtering for real-time radiographic inspection of spiral pipe. NDT & E International 2015; 72: 1-9. DOI: 10.1016/j.ndteint.2015.01.002.
  14. Nixon M, Aguado A. Feature extraction and image processing for computer vision. 4th ed. Academic Press; 2020. ISBN: 978-0-12-814976-8.
  15. Andriyanov NA, Dementiev VE, Tashlinskii AG. Detection of objects in the images: from likelihood relationships towards scalable and efficient neural networks. Computer Optics 2022; 46(1): 139-159. DOI: 10.18287/2412-6179-CO-922.
  16. Xu Y, Jixiang D, Zhang B, Xu D. Background modeling methods in video analysis: a review and comparative evaluation. CAAI Trans Intell Technol 2016; 1: 43-60. DOI: 10.1016/j.trit.2016.03.005.
  17. Sobral A, Vacavant A. A comprehensive review of background subtraction algorithms evaluated with synthetic and real videos. Comput Vis Image Underst 2014; 122: 4-21. DOI: 10.1016/j.cviu.2013.12.005.
  18. Stauffer C, Grimson WEL. Learning patterns of activity using real-time tracking. IEEE Trans Pattern Anal Mach Intell 2000; 22(8): 747-757. DOI: 10.1109/34.868677.
  19. Zivkovic Z. Improved adaptive Gaussian mixture model for background subtraction. Proc 17th IEEE Int Conf on Pattern Recognition (ICPR) 2004; 1: 28-31. DOI:10.1109/ICPR.2004.1333992.

© 2009, IPSI RAS
151, Molodogvardeiskaya str., Samara, 443001, Russia; E-mail: journal@computeroptics.ru ; Tel: +7 (846) 242-41-24 (Executive secretary), +7 (846) 332-56-22 (Issuing editor), Fax: +7 (846) 332-56-20