Homerun?
Problem 8You work
for a robotics company and, for a demo project, you are helping design
a robotic skeet shooter. All that remains is developing a tracking
algorithm. You are receiving a video image with sufficient frame speed
to track the target. You need an algorithm to help guess where the
target will be in successive video frames. What would you suggest?
Answer:
After each frame is captured, scan the perimeter of the target. Using
the perimeter points, you can calculate x and y coordinates for the
center of gravity of the target. Using the center of gravity coordinate
from the current frame and the previous frame, you can determine a
direction and speed of travel to compute the expected location for
the next frame.
8-99
|