Abstract-The presented optical tracking system allows intuitive controlling and programming of industrial robots by demonstration. The system is engineered with low cost components. Using an active marker (IR-LEDs) in combination with a stereo vision configuration of the camera system and the selection of suitable algorithms for the process chain of the image processing a positioning accuracy in the range of millimeters has been achieved. The communication between the tracking system and the robot is realized by using the TCP/IP protocol via an Ethernet connection.