|
Re: Depth Perception
If you have the camera mounted at a fixed angle, you can use the screen coordinates of the hoop in the image to determine the angle between the horizontal plane the camera occupies and the line between the camera and the hoop. As you know the height of the hoop from the ground, you can then use trig to calculate the distance.
|