This is my first year, and I found this really helpful paper on finding the angle and distance from the backboard from an image: http://www.chiefdelphi.com/media/papers/2324
The only problem is, it wants the height of the image vs the height of the actual tape square. I think i can get a particle analysis report and do getBoundingRectHeight() to find the height of the section but i don’t know what units that would be in. pixels? if so, is there any way to convert that to inches so i can use it?
I found that distance is inversely proportional to height of the bounding rectangle in pixels. d = about 15000/h, if anyone wants to know. That’s also very close to nick’s idea, which is 14,720 / width.