Thread
:
How do I calculate the distance between an object and the camera?
View Single Post
#
4
05-02-2013, 20:36
catacon
Registered User
FRC #1444 (Lightning Lancers)
Team Role: Mentor
Join Date: Jan 2009
Rookie Year: 2006
Location: St. Louis
Posts: 154
Re: How do I calculate the distance between an object and the camera?
2*theta is the field of view of the camera you are using. You should be able to find that value in the datasheet for the camera.
So... tan(FOV/2) = w/d
catacon
View Public Profile
Find all posts by catacon
Find CD-Media Photos by catacon
Find CD-Media Papers by catacon