|
Re: Image Processing
Excellent write up!! Thanks for sharing. Depending on the game this year, this WILL help a lot of teams.
May I make one suggestion to help handle and even negate problems with different lighting conditions?
Using "Florescent1" as a default is a good compromise, but there is a better option. It entails setting and locking the camera's White Balance to the actual environment.
All that is required it creating a simple vi that places the camera in "Auto" White Balance mode. The hold a white piece of paper in front of the camera close enough that it completely fills the image. Hold it steady for 15+ seconds. Then once the camera has adjusted it's self to that lighting condition, exit the loop and have the last step set the camera to "Hold Current" for the White Balance just before the vi ends.
Now, whenever you power up, have the camera set to use "Hold Current" and it will use the calibrated value for White Balance.
This can be useful in any environment and will also allow you to calibrate for the exact lighting on the playing field as long as you take advantage of the time provided at each tournament.
__________________
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
|