creating a grid to detect where a ball will land

asked 2018-01-30 15:51:01 -0600

Hello, I'm currently working on a project to track a ping pong ball and where players return it on the table. I have the camera on a side profile to the table. Right now I am able to track if the ball hits the table or not by tracking the direction of the ball and seeing if it bounces. Now I want to create a grid on the table and track if the ball hits a square on the grid. I'm wondering if anyone has ideas on how to go about doing this.

edit retag flag offensive close merge delete

Comments

Is it a 1d grid or a 2d grid? Since you're side on, you don't have depth, so you'll have to do some calibration to figure out how far away the ping-pong ball is from the camera if it's 2d.

Tetragramm gravatar imageTetragramm ( 2018-01-30 17:46:18 -0600 )edit