Product flaw detection method, electronic device and storage medium
Патент · CN B
Полный текст
The application provides a product flaw detection method, electronic equipment and a storage medium. The method comprises the steps of performing flaw detection on a product image by using a first flaw detection model in a preset period to obtain a detection result, if the negative sample rate is higher than a preset threshold, training a product positive sample image in the detection result to obtain a trained self-encoder model, obtaining a product history positive sample image, inputting the product history positive sample image into the trained self-encoder model, calculating to obtain a new positive sample image, training the first flaw detection model according to the new positive sample image, the product history positive sample image and the positive sample image of the product to obtain a second flaw detection model, and inputting the detection image of the product into the second flaw detection model to obtain the flaw detection result of the detection image of the product. The application can detect flaws of products, reduce production cost and improve productivity.