The invention relates to an intelligent detection method for appearance flaws of an
OLED display
optical film, and the method comprises the steps: carrying out the gray value difference according to an
optical film gray image, obtaining a product region, carrying out the
Gaussian filtering
processing, obtaining an initial preprocessing gray image, and calculating an overall gray mean value; and performing linear scaling
processing on the initial pre-processed
grayscale image according to the overall
grayscale mean value to obtain a first enhanced image, calculating a maximum
grayscale value by using a specific structure element according to the first enhanced image, and taking the maximum grayscale value as a current pixel grayscale value to obtain a second enhanced image, and extracting all defect areas in the product area according to the first enhanced image and the second enhanced image,
cutting the original
gray level image according to the
centroid coordinates of the defect areas, sending the
cut defect
cut image into a classification
network model for category judgment, and outputting bubbles, foreign matters and concave-convex defects. According to the
OLED display
optical film defect detection device, the
OLED display optical film defect detection efficiency and the detection result accuracy and reliability are greatly improved.