I want to detect a fast moving ball in a video using opencv

asked 2016-06-30 18:59:24 -0500

Lafi gravatar image

I want to detect a fast moving ball in a video; I have tried using background subtraction. I can see the ball motion but I can't detect it as I have some other object moving (the spinning part on the middle) and they are so close!!

How I can ignore those objects, and focus just in the ball while moving.

here is the original video for the moving ball

And a screen-shot for the output video after background subtraction

imageedit__2277950122.png

Thank you

edit retag flag offensive close merge delete