CPC G06T 7/0004 (2013.01) [G06V 10/25 (2022.01); G06V 10/26 (2022.01); G06T 2207/30121 (2013.01)] | 19 Claims |
1. A method for detecting a display panel defect, comprising:
collecting a panel image of a to-be-detected display panel, a plurality of first pixels of the display panel corresponding to a plurality of second pixels in the panel image;
converting the panel image into a binary image;
dilating each bright spot region in the binary image such that adjacent bright spot regions communicate with each other to form at least one closed communication region in the binary image;
determining a region of interest mask image in the binary image in accordance with the at least one closed communication region;
determining a region of interest in accordance with the region of interest mask image and the panel image; and
performing feature identification on the region of interest to determine a defect of the display panel, wherein subsequent to identifying the line defect in the region of interest, the method further comprises, when an angle between an identified line and a predetermined direction is greater than a threshold, excluding the line defect.
|