|
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
|