Patent ID: 11881186
Assignee: SKYVERSE TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A detection method, wherein the detection method comprises:
creating a plurality of template images based on a reference object, wherein the reference object includes a plurality of units, and the plurality of template images are unit images with different average grayscale values;
calculating a first average grayscale value of a unit image to be detected;
selecting a first template image from the plurality of template images based on the first average grayscale value, wherein a difference between an average grayscale value of the first template image and the first average grayscale value is smallest; and
performing detection on the unit image to be detected based on the first template image including;
determining whether an average grayscale value difference between a pixel point of the first template image and the corresponding pixel point of the unit image to be detected exceeds a predetermined threshold; and
determining that the unit image to be detected has a defect in a case where the average grayscale value difference exceeds the predetermined threshold.