ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
For better or for worse, robotics is a field that requires combining knowledge from many other fields. The problem you're referring to is a well-studied topic called tracking. OpenCV has some tracking functionality built in which may work for what you're doing. I would recommend looking at the various calcOpticalFlow functions provided by OpenCV.