Machine vision systems are widely used in the fields of visual inspection, visual guidance of robots and automated assembly. Based on the vision guidance technology in machine vision, there is an increasing demand for robots to complete specific work tasks, prompting various universities and research institutions to increase and deepen their research efforts. Nowadays, the robot motion control technology based on vision guidance is more and more mature, widely used in automotive assembly, material grasping, unmanned welding and other industries. This program is to use vision technology to guide the four-axis robot to control the suction nozzle to grasp the object placed in the appropriate position.