Light Tracking

I have had a very tough time finding RGB values for the light to make the camera track it. I used the Java program from last year which allows you to download a frame to a computer and select which colors to track. The problem is the green light has the exact same color as the fluorescent lights in our lab. What are the strategies that you have used to determine the settings that track the light the best?

You don’t want to use RGB values. You want to use YCrCb values. You will find perfectly usable values in the camera code provided by Kevin Watson.

http://www.kevin.org/frc