Go to Post MAVERICKS, do ride horses...all while building robots. They also build horses. - Corey Balint [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-01-2012, 23:57
youxinche95 youxinche95 is offline
Registered User
AKA: Eugene Che
FRC #0649 (MSET)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Saratoga, CA
Posts: 18
youxinche95 is an unknown quantity at this point
Re: Anyone able to track targets?

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!
Reply With Quote
  #2   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
  #3   Spotlight this post!  
Unread 23-01-2012, 20:18
xmendude217 xmendude217 is offline
Registered User
FRC #3851
 
Join Date: Jan 2011
Location: Canoga Park, California 91303
Posts: 7
xmendude217 is an unknown quantity at this point
Re: Anyone able to track targets?

what is supposed to be done to the image after it's processed?
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:34.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi