Go to Post The point of FRC (in my opinions) is to teach the kids that might have no skills, new skills. - dirtbikerxz [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-01-2014, 22:27
lucas.alvarez96's Avatar
lucas.alvarez96 lucas.alvarez96 is offline
Registered User
AKA: Lucas Alvarez
FRC #2576 (Chilean Heart)
 
Join Date: Dec 2013
Rookie Year: 2013
Location: Chile
Posts: 123
lucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to all
2014 Ball HSV Values

Has anybody determined the HSV values of the blue ball? My team received the red ball and I've been using the minimum range as (160, 50, 50) and maximum as (180, 200, 200). These values are for OpenCV, so hue is considered form 0 to 180, instead of 0 to 360 as usual. The same for saturation and value, which are 0 to 255 in OpenCV, whereas they're usually taken from 0 to 100.
  #2   Spotlight this post!  
Unread 28-01-2014, 22:32
jmartin jmartin is offline
Registered User
AKA: Joseph Martin
FRC #0172 (Northernforce)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Gorham
Posts: 30
jmartin is on a distinguished road
Re: 2014 Ball HSV Values

Regardless of what works for others, it is probably a good idea to calibrate these values on the field, as they may vary greatly depending on lighting and camera settings.
  #3   Spotlight this post!  
Unread 28-01-2014, 22:38
lucas.alvarez96's Avatar
lucas.alvarez96 lucas.alvarez96 is offline
Registered User
AKA: Lucas Alvarez
FRC #2576 (Chilean Heart)
 
Join Date: Dec 2013
Rookie Year: 2013
Location: Chile
Posts: 123
lucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to all
Re: 2014 Ball HSV Values

Yes, it's very important to calibrate them on the field, but it's good to have a range with which to work. Also, the hue value won't change to much. Or so I've been told
  #4   Spotlight this post!  
Unread 28-01-2014, 22:44
jmartin jmartin is offline
Registered User
AKA: Joseph Martin
FRC #0172 (Northernforce)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Gorham
Posts: 30
jmartin is on a distinguished road
Re: 2014 Ball HSV Values

Ideally, hue wouldn't change too much, but under white lights vs yellow lights etc, I think it would vary some. And auto white balance or auto exposure can really screw with this kind of thresholding.

Anyway, our team has a blue ball. If I get a chance to find a good range, I'll try to remember to post it here. Can't promise it would be anytime soon -- we have a lot of other things to get working first.
  #5   Spotlight this post!  
Unread 29-01-2014, 00:11
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,384
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: 2014 Ball HSV Values

I just did some testing today with OpenCV and one of the JPGs that came with LV of the red and blue ball. This was from a print, not a real blue ball. Calibration on the field is a must!

Here are the Upper and Lower values for HSV I found worked for testing purposes:

UH = 135
LH = 70
US = 186
LS = 25
UV = 227
LV = 100

Hope those help.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Closed Thread


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 02:47.

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