Quote:
Originally Posted by Greg McKaskle
The remaining steps are to isolate and track robots. Estimate their heading and velocity. Do the same for game objects. Perhaps superimpose your own graphic robot on top of the image showing how your AI would move your robot.
|
All it'd take is a simple background subtraction. Take a calibration image with nothing on the field. Then you grab an image during a match, and delete your calibration image from the image you just grabbed. As for velocity, you simply record the position of your object(s) , find the distance it traveled between frames and divide by frame time.
We do a background subtraction for depth tracking with the kinect (and asus xtion) and it works perfectly.
I don't think knowing the velocity (speed and heading) of another robot would be that useful considering most robots can turn on a dime, and some don't even hsbe to turn to go in a different direction. For game pieces it'd be somewhat useful, but I feel that having a camera above your intake would be more beneficial, but that's just me.