Defect detection method for laser welding line X-ray image
Патент · CN B
Полный текст
The invention relates to a defect detection method for a laser welding seam X-ray image, and belongs to the technical field of welding seam defect detection. The method comprises the steps of obtaining sample data, establishing an X-ray image data set, processing the X-ray image data set to obtain a welding seam positioning data set, inputting the welding seam positioning data set to YOLOv network training to obtain a welding seam positioning model, processing the welding seam positioning data set to obtain a first defect detection data set, expanding the first defect detection data set by using a negative sample copy-pasting data enhancement method to obtain a second defect detection data set, inputting the second defect detection data set to YOLOv network training to obtain a defect detection model, inputting an image to be detected to the welding seam positioning model to position a welding seam area of the image to be detected, cutting out a small image based on a sliding window mode to obtain a series of welding seam small images, inputting the series of welding seam small images to the defect detection model to detect the images, and outputting a final detection result of the X-ray image defects of the laser welding seam to be detected.