Method for detecting defect of images and electronic device
AssigneeHon Hai Precision Industry Co., Ltd.
InventorsSHIH-CHAO CHIEN, CHIN-PIN KUO
Life of this patent
Estimating the term…
Loading patent…
AssigneeHon Hai Precision Industry Co., Ltd.
InventorsSHIH-CHAO CHIEN, CHIN-PIN KUO
Estimating the term…
A method for detecting defect of images applied in an electronic device inputs flawless sample training images into an autoencoder, and calculates first latent feature by a coding layer of the autoencoder, and calculates first reconstructed images by a decoding layer, and calculates a first reconstruction error by a first preset error function. The electronic device trains the discriminator according to the flawless sample training images and first reconstructed images, and calculates an adversarial learning error, and calculates a sample error, determines an error threshold based on the sample error, and obtains testing sample images, and calculates second latent feature of the testing sample images by the coding layer, and calculates the second reconstructed images of the testing sample images by the decoding layer, and calculate a difference between the testing sample images and the second reconstructed images, thus a detection result of the testing sample images is determined.
A method for detecting defect of images comprising:
An electronic device comprising:
A non-transitory storage medium having stored thereon instructions that, in response that executed by at least one processor of an electronic device, causes the least one processor to execute instructions of a method for detecting defect of images, the method comprising:
Dependencies are inferred from the claim text.