If you use this, please do not give credit. If you need help adding Object Tracking into your project, please let me know. (Aim the mouse where you want the ball to go)
There are some comments inside the project to help you out.