Hi there,

For my final year in highschool I have to do a project.
I chose to build a spotlight that can track people.
Doing that by detecting movement from a static camera and passing it to two motors that move it up/down and left-right.

As you might see, the movement left/right will create a circular motion in the camera's perspective.
My goal is to transform the circular motion into real left/right in camera perspective.

The ideas I have now are to calibrate on forehand (i.e. seeing what movement is required from topleft to midleft)
And then calculate the other pixellines.
But this seems to be harder than it looks.

So, does anyone have other ideas or can somebody help me?

Thanks.