Patent ID: 8515156

Claim:
A computer-implemented image analysis method being executed by a processor of a computing device, comprising: reading a reference image of a printed circuit board (PCB) from a design of the PCB stored in a storage device by the processor, and reading a real-time image of the PCB captured by a camera and stored in the storage device by the processor; determining feature points and feature information of the feature points in the reference image using a mathematical algorithm by the processor; determining feature point pairs of the reference image and the real-time image based on the feature information of the feature points by the processor, wherein a feature point pair consists of a feature point in the reference image and a corresponding feature point in the real-time image; creating two 1×N matrices based on the feature point pairs, and determining a mapping matrix based on the two 1×N matrices by the processor; reading coordinates of base points designated in the reference image by the processor; determining matching points in the real-time image based on the coordinates of the base points and the mapping matrix by the processor; determining a reference region in the reference image based on all the base points, and determining a matching region in the real-time image based on all the matching points by the processor; and comparing the reference region with the matching region to determine surface feature defects of the PCB by the processor.