Automatic fault detection and diagnosis. We use images from non-destructive inspection, such as radiography and ultrasound, to verify the automation of the quality of the images and to carry out the automatic detection and diagnosis of weld failures. Therefore, we prevent fraud by recognizing repeated welds in different reports by a visual signature.