View Single Post
  #4   Spotlight this post!  
Unread 18-01-2012, 00:09
Robby Unruh's Avatar
Robby Unruh Robby Unruh is offline
*insert random dial-up tone here*
FRC #3266 (Robots R Us)
Team Role: Coach
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Eaton, OH
Posts: 338
Robby Unruh will become famous soon enough
Re: Anyone able to track targets?

Yes, we have! In fact, there's a really good example on FIRST Forge to find reflective tape (or other?). It's one of the coolest thing's I've worked with to date, for sure. I couldn't be more excited about it.

Quote:
Originally Posted by youxinche95 View Post
Correct, you getImage().thresholdHSL(bla,bla,bla,bla,bla,bla)

then you take that binary image and getParticles or something like that...

Those particles give you the essentially the loops.

NOTE! the threshold is set to the color of the color hoop, so the binaryimage will only be on if it fits those requirements.

Good luck!
Sidenote: You can get these "bla bla bla" arguments from the NI Vision Assistant. Simply run an HSL threshold over your image (after acquiring one, of course) and mess with the cool sliders until it's only seeing the tape.
__________________
[Robots R Us #3266]
2015: Georgia Southern Classic (Winners / Thanks 1319 & 1648!), Queen City
2014: Crossroads, Queen City
2013: Buckeye, Queen City, Crossroads
2012: Buckeye, Queen City

2011: Buckeye
2010: Buckeye
Reply With Quote