Abstract:With the rapid development of industrial automation level, industrial robots have been more and more widely used, especially the serial robot with six degrees of freedom (6DOF) is widely used in various profession and industries in a great amount. It was mainly relyed on teaching to complete its assigned working tasks, with online and offline teaching methods most widely used in industrial production. But the traditional teaching method had some shortcomings and limitations. Therefore, aimed at the deficiency of traditional teaching method, a new teaching method was presented, which adopted the visual positioning technology to track and collect the visual teaching trajectory data. The robot can realize playback of the complex trajectory according to the data collected.