Abstract:Aimed to the problems of spattered fused dregs blocking the laser path on the cover len during on-line operation, the hardware and software design of a cover lens visual inspection system based on Linux in laser soldering was developed with the introduction. A solution with an imaging sensor to detect the lens was provided. MT9M031, as the imaging sensor, mapped images acquired to the user space by the interface of V4L2 and the system recognized the bad point in the image with the core algorithm. The system also warned the robot through CAN bus immediately after the recognition of bad points and stopped the on-line operation. The equipment developed is utilized in the experiment which improves the good performance of the visual inspecting quality.So far, there is no effective method for the visual inspection of cover lens and the visual inspection is applied to the measuring area for the first time.