Inspiration

Thought it would be cool to use a single camera to plot an object in 3D using pixel based data.

What it does

Tracks a ball in 2D to generate a 3D graph of it's position and history.

How we built it

It was built using OpenCV for python and matplotlib for plotting the graphs in 3D.

Challenges we ran into

Completing the task with threading in the time limit was difficult due to having only around 4 hours to complete.

Accomplishments that we're proud of

It works! Nice to have the visual response of seeing the position of the ball change in real time on a 3D image.

What we learned

If this was to be done in a more performance oriented scenario it would be beneficial to complete in C++, allowing for direct access to memory locations and more advanced techniques.

What's next for 3D Ball Tracking

Making it perform faster.

Share this project:

Updates