Best way to calculate speed of a Bowling Ball

asked 2016-10-03 02:54:28 -0500

c0dehunter gravatar image

updated 2016-10-03 03:25:52 -0500

image description

I am working on detecting Bowling Lane and Ball on it and my final objective is to calculate speed of the ball between two fixed points (see two yellow lines). The phone is mounted on a fixed tripod. I am looking for input on how to implement this. I am working with OpenCV3, Android and NDK (native C++).

I think I need two things done correctly to get good results:

  • mapping of lane (I need to detect first two edges and angle, then I can calculate the length because I know the real-life measurements of the lane). If this step is done correctly, I can (mathematically) reconstruct a top-down view.

  • ball detection

With these two steps I know how much time have passed before the ball gets from first yellow line to the second hence I can calculate the speed. I do not need to do this in real-time therefore I can save all the frames and do all the heavy calculations after the ball gets off the lane.

Does this sound reasonable and feasible?

edit retag flag offensive close merge delete



Some possible hints:

I would suggest you to place the camera at a fixed location where you will not see the players at all.

Related question: Tracking a bowling ball down the lane.

Eduardo gravatar imageEduardo ( 2016-10-03 04:31:37 -0500 )edit

Thanks Eduardo, this will help a lot! Others are still encouraged to comment on this.

c0dehunter gravatar imagec0dehunter ( 2016-10-03 05:08:20 -0500 )edit