View Single Post
  #4   Spotlight this post!  
Unread 06-02-2017, 07:11
vScourge's Avatar
vScourge vScourge is offline
Videogame Developer
AKA: Adam Pletcher
FRC #4096 (Ctrl-Z)
Team Role: Coach
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Champaign, IL
Posts: 42
vScourge will become famous soon enough
Re: How to calculate target distance?

If you know the FOV of your camera in degrees, pixel resolution of the image and the real-world dimensions of the target, then you can compute the distance.

This page should get you going. Especially the "Measurements" section about half-way down.
Identifying and Processing the Targets
Reply With Quote