The invention discloses an industrial image
anomaly detection method and device, equipment and a storage medium, and relates to the field of image recognition. Obtaining a defect-free product graph, making a comparison
data set based on the defect-free product graph, and performing pre-storage
processing; performing feature point
shape matching on the comparison
data set based on the received to-be-detected image and the extracted feature
point data, and determining a comparison image of the to-be-detected image; taking the to-be-detected image as a target object, correcting a
product image area in the image, and aligning the
product image area with the
product image area of the to-be-detected image according to a pixel shift operation; and comparing the aligned product image areas, and identifying abnormal defects in the to-be-detected image. According to the scheme, the comparison
data set of the defect-free product image is constructed, the
feature point matching and pixel-level alignment technologies are combined, the problem of
false detection caused
by product position deviation or form change in a traditional method is effectively solved, the adaptability to illumination change is improved through brightness adjustment and difference
matrix analysis, and the detection accuracy is improved. The method has the advantages of high detection precision, high environmental adaptability and high
processing efficiency.