View Single Post
  #5   Spotlight this post!  
Unread 26-02-2016, 22:41
SamCarlberg's Avatar
SamCarlberg SamCarlberg is offline
GRIP, WPILib. 2084 alum
AKA: Sam Carlberg
no team
Team Role: Mentor
 
Join Date: Nov 2015
Rookie Year: 2009
Location: MA
Posts: 43
SamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to behold
Re: Computer Vision Processing - Team 5450

I think it would be more reliable to calculate distance based on the y position of the goal in the image rather than trying to use it's apparent width. It would be much more robust when the camera isn't face-on to a goal, though it assumes a known camera height and angle.
__________________
WPILib
GRIP, RobotBuilder