|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Camera finds overhead lights not green light
So I got it to track but in a roundabout way. The old java program that ifirobotics gave out last year that allowed us to download a frame and see the picture. The problem with that program is that it does not use the settings from Kevin's code. So I edited the source so it would use the settings from Kevin's code and downloaded a picture. The default settings for the light in Kevin's code also detected part of our overhead lights. I found a much smaller range for colors that works very well for our conditions.
By the way the camera using Kevin's default settings sees everything but the light as purple and the light as a blue. The fluorescent lights showed up as yellow/blue. |
|
#2
|
|||||
|
|||||
|
Re: Camera finds overhead lights not green light
That's because the camera is being told to look at the image using the YCrCb color space, but the program is presenting it as if it were RGB. The actual hue of the green light is very consistent even as the intensity varies with distance, so it's a lot easier to find a good range of values that will let you track it.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Green light same color as overhead light | Ethulin | Programming | 13 | 02-08-2007 15:24 |
| Green Camera Light Questions | Naveen | Electrical | 18 | 24-01-2007 22:52 |
| Lights (not the green target light) | FourPenguins | Electrical | 10 | 23-01-2007 13:23 |
| camera trouble,cant tell the green-light from regular white light | Nimmy | Programming | 26 | 14-01-2007 14:53 |
| Florescent lights green on both sides?!? | Calvin | Programming | 3 | 09-02-2006 11:02 |