View Single Post
  #15   Spotlight this post!  
Unread 21-01-2012, 16:48
Solauj's Avatar
Solauj Solauj is offline
Registered User
FRC #0461 (Westside Boiler Invasion)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: West Lafayette
Posts: 4
Solauj is on a distinguished road
Re: Calculating distance with an Axis Camera 206

We are using OpenCV to track the vision target this year. I have been fiddling around with color tracking over the summer, so I have a little experience with it. I have been able to track the tape up to 16ft. away. Due to a lack of smoked polycarbonate, I don't have the actual vision target built yet.

Does anyone known how dense the polycarbonate is? All the manual says is "1/2 in. smoked polycarbonate" with no more description.

As far as determining distance, I thought using the target's relative size to the image size would be viable because the target is 2ft. wide.

What problems are you having with OpenCV? I'll try to help. Also you should get a hold of the book Learning OpenCV: Computer Vision with the OpenCV Library (ISBN: 978-0-596-51613-0). It's great for reference and (obviously) learning the basics.
__________________