Can projectile motion of a ball be predicted using opencv?

asked 2015-06-10 18:30:33 -0500

m897 gravatar image

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?

edit retag flag offensive close merge delete

Comments

It's definitely possible to track a ball, so OpenCV is a good choice.

FooBar gravatar imageFooBar ( 2015-06-11 02:47:01 -0500 )edit
1

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.

StevenPuttemans gravatar imageStevenPuttemans ( 2015-06-11 08:06:44 -0500 )edit

would there be a way to add gravity to the KF transition Matrix ?

berak gravatar imageberak ( 2015-06-11 09:10:52 -0500 )edit

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?

StevenPuttemans gravatar imageStevenPuttemans ( 2015-06-12 01:50:17 -0500 )edit
1

I think it is!

StevenPuttemans gravatar imageStevenPuttemans ( 2015-06-12 02:08:55 -0500 )edit