View Single Post
  #4   Spotlight this post!  
Unread 06-02-2012, 22:28
severhale severhale is offline
Registered User
FRC #4097
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Northampton, MA
Posts: 10
severhale is an unknown quantity at this point
Re: getBoundingRectHeight() Units?

kyle, i used your idea and got accuracy to within about 2 inches even at an angle 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.
Reply With Quote