Visual inspection is mainly used for automatic production line equipment, the use of visual inspection products on the target to capture the image information, industrial computer after processing, to judge the quality of the picture, analysis of the production line product appearance quality, and the results will be returned to PLC. PLC according to the industrial computer feedback results, combined with the timing information to eliminate the cylinder control, the production line of defective products out, and trigger the alarm signal.