Method for detecting defects in product and computer device
Abstract:
A method for detecting defects in product applied in a computer device inputs an image of a product under test to an automatic encoder to obtain a reconstructed image, and the image is segmented into N image blocks and the reconstructed image is segmented into N image blocks. The computer device associates each of the N testing blocks with one reconstructed blocks according to positions of the N testing blocks in the image and positions of the N reconstructed blocks in the reconstructed image. The computer device further calculates mean square errors between each of the N testing blocks and each of the N reconstructed blocks, and associates each mean square error with each of the N testing blocks, whether the product has defects being determined based on the mean square errors corresponding to each of the N testing blocks.
Public/Granted literature
Information query
Patent Agency Ranking
0/0