Binding Computer Vision to Physics Based Simulation: The Case Study of a Bouncing Ball