Thread: Camera Problems
View Single Post
  #13   Spotlight this post!  
Unread 14-01-2005, 23:12
Phil Roth Phil Roth is offline
Registered User
#0011 (BASF)
 
Join Date: Jan 2003
Location: Mt. Olive New Jersey
Posts: 31
Phil Roth is an unknown quantity at this point
Send a message via AIM to Phil Roth Send a message via Yahoo to Phil Roth
Smile Re: Camera Problems

Quote:
Originally Posted by pickle
Alright, I'm about to go insane, I really need help. I'm trying to calibrate the camera, per the instructions provided, and I think I've followed them as exactly as I can, but I can't get the camera to see anything by yellow when calibrating for that color. Here's a picture of the red target:



Do you see anything in that image that would make it not be able to find the obvious red target? Its lined up, and the camera 3 ft off the ground as the instructions say. I'm completely out of ideas, can anyone help?
Pickle,
I set up a "test bed' with ideal conditions, a black sheet and mini triangles placed about 3 feet away from the camera to really get a good understanding of what's going on and how all the camera parameters work. The GUI stores "tuned" RGB values for FIRST's selected colors in config.txt in the .java folder. You might want to just highlight the triangle in the frame grab window and make sure the RGB values displayed next to the grab fall within range of the parameters for that particular color in config.txt. If not, your colors and/or lighting may be off. You might want to alter the values in config.txt to get it going.

After getting a firm understanding on how this thing finally works and how to tune it, I'm really concerned about how well everything will work as a "system" on the field dealing with variations in lighting and the field. I wonder if FIRST will allow us to read the mean values off the real targets before the competitions. I can see it now.....tee shirts with 120 255 0 20 25 300.... written all over them.

Good Luck. Let me know if I can help.

Last edited by Phil Roth : 14-01-2005 at 23:15.