Small project that uses OpenCV to track a dot and then move a light to the position.
This is a small project where I used OpenCV to learn about object tracking. There are two videos below, the left is a simple program that creates a line behind the dot as it moves. The right video shows a green LED mounted to two servos, where the LED follows the Dot. You can see in the left video I had the coordinates output as the dot moved, almost like making a 2D space. In the right video I then made a small algorithm that would convert the coordinates into degrees for the servos to move to.