CPC G06T 7/001 (2013.01) [G06T 1/20 (2013.01); G06T 2207/30108 (2013.01)] | 18 Claims |
1. A non-transitory computer readable medium storing a computer program, wherein when the computer program is executed by one or more processors of a computing device, the computer program performs operations to provide methods for detecting flaws, and the operations comprise:
extracting a flaw patch from a first flaw image including a flaw, wherein the first flaw image comprises one or more flaw regions and the operation of extracting the flaw patch comprises at least one of:
extracting the flaw patch so that at least one of the flaw regions is included in a center of the flaw patch;
extracting the flaw patch so that the at least one of the flaw regions is included in a boundary of the flaw patch; or
extracting the flaw patch so that a predetermined number or more of flaw regions placed side by side continuously are included in the flaw patch;
preprocessing at least one of the first flaw image or a non-flaw image not including a first flaw;
extracting a non-flaw patch from at least one of the preprocessed first flaw image or non-flaw image;
training a neural network model for classifying patches to flaw or non-flaw with a training data set comprising the flaw patch and the non-flaw patch; and
determining, using the trained neural network model, a flaw threshold number indicating a minimum number of flaw patches included in an image for the image to be classified as a flaw image.
|