
13
7.4 Camera lens calibration (the lens calibration will be completed before leaving the factory,
and the camera needs to be calibrated again when moving the camera position)
The lens calibration is to measure the vertical and horizontal deviation of the camera lens by
specific software, and then compensate and correct it by software. The horizontal deviation of
the camera should be within the preset [Inherent Resolution]±1%, and the deviation between X
and Y should not be greater than 0.3. the vertical deviation angle of the camera must be within±1
degree.
Calibration method: after debugging the camera definition, find a PCB and put it in AOI,
then open AOI software and find a single figure (such as screen printing, patch material, through
hole, etc.) on the PCB in [Working Mode]-[New Mode]. Note: if it is a unique figure, there
cannot be the same figure around it), and move the camera to this position. Then, in the menu bar
[System Configuration]-[Camera Calibration], select the selected graphics on the PCB with the
left mouse button, click [Set Image], and then click [Calibrate], then the camera will
automatically move from right to left and from top to bottom. After completion, the current
image scale and angle will be automatically generated. Then click [OK]-[Save Parameters], as
shown below: