Can projectile motion of a ball be predicted using opencv?
I am trying to make a robot balance a ball. I was planning to do image processing and predict the position of the ball at different time. Is it possible using opencv?
It's definitely possible to track a ball, so OpenCV is a good choice.
Yep, for testing purposes, color based segmentation and Kalman filter for tracking will get you pretty far! In more challenging environments detecting the ball can be done with more color robust techniques and more shape based techniques.
would there be a way to add gravity to the KF transition Matrix ?
hmm interesting thought. For now I have only used constant velocity Kalman Filtering, so no clue on how to implement the gravity there. Up for a challenge?
I think it is!