US 12,236,580 B2
Detection method, electronic device and non-transitory computer-readable storage medium
Yongzhang Liu, Beijing (CN); Zhaoyue Li, Beijing (CN); Dong Chai, Beijing (CN); and Hong Wang, Beijing (CN)
Assigned to BOE TECHNOLOGY GROUP CO., LTD., Beijing (CN)
Filed by BOE TECHNOLOGY GROUP CO., LTD., Beijing (CN)
Filed on Dec. 18, 2023, as Appl. No. 18/543,121.
Application 18/543,121 is a continuation of application No. 17/417,487, granted, now 11,900,589, previously published as PCT/CN2020/093281, filed on May 29, 2020.
Prior Publication US 2024/0119584 A1, Apr. 11, 2024
Int. Cl. G06T 7/00 (2017.01); G06V 10/764 (2022.01); G06V 10/82 (2022.01); G01N 29/44 (2006.01)
CPC G06T 7/001 (2013.01) [G06V 10/764 (2022.01); G06V 10/82 (2022.01); G01N 29/4445 (2013.01); G06T 2207/20081 (2013.01); G06T 2207/20084 (2013.01); G06T 2207/30121 (2013.01)] 13 Claims
OG exemplary drawing
 
1. A detection method, comprising:
inputting an image to be detected into a detection model being pre-constructed and detecting the image to be detected;
wherein the detection model comprises:
a defect classification identification sub-model configured to identify a classification of a defect in the image to be detected; wherein the defect classification identification sub-model comprises a plurality of base models and a secondary model;
the plurality of base models are configured to respectively determine an initial classification of the defect in the image to be detected; and
the secondary model is configured to determine a final classification of the defect in the image to be detected according to input data obtained by integrating output data of the plurality of base models;
wherein the detection model further comprises: a defect position identification sub-model configured to mark a position of the defect in the image to be detected;
wherein the defect position identification sub-model is an object detector; and
wherein the defect position identification sub-model is obtained by training the object detector based on an original data set;
the training the object detector based on the original data set comprises:
acquiring the original data set comprising a plurality of images to be detected with known defects; and
classifying first regions corresponding to defects of all classifications of defects in the plurality of images to be detected with known defects into one classification as a foreground and classifying regions outside the first regions in the plurality of images to be detected with known defects into the other classification as a background such that the object detector only distinguishes between the foreground and the background when the object detector is trained, to identify only positions of the defects.