Patent ID: 11010888

Abstract:
A computer-implemented method is provided for image-based defect detection. The method includes performing, by a processor device, template matching and subtraction on a set of training images and at least one template image to obtain a set of difference images. The difference images have defects, if any, highlighted therein. The method further includes generating, by the hardware processor applying a binary classification model to each of the training images in the set, activation heatmaps. The method also includes identifying, by the hardware processor, rough defect areas of interest in the activation heatmaps. The method additionally includes super-imposing, by the hardware processor, the activation heatmaps onto the difference images to obtain a set of super-imposed images, and highlight, as true defect areas, any areas in the super-imposed images having the defects from the difference images that overlap with the rough defect areas of interest from the activation heatmaps.