Robot control using top camera image analysis?

thats really great
would you gimme an idea how to track the track and navigate the robot?