![]() |
Is anyone else having this problem
Our team hooked up the green lights, however, the camera picks the light up as white light, except for the green tint around the edges. We are using the software that allows us to grab a frame and tell it to track. I don't know if that is the same as Kevins. THe camera also locks onto the flourescent light in the room. They are both white. I don't really understand this. Any ideas.
Also, after we played with the cam for a while today it would move sideways wonderfully but not up and down very well at all. what can cause this?? thanks for your help. |
Re: Is anyone else having this problem
The camera tracks colors much better in YCrCb color mode. That's what the provided LabView calibration uses, and that's what Kevin's camera code uses. Fluorescent lights are sufficiently more blue than the goal target, and gymnasium-style vapor lights are more red, so the camera can discriminate well between them.
(Sunlight still tricks ours on occasion, with the camera locking on to a window off to the left side of our test bench. I found a way to fix that, but only at the expense of not being able to find the green target more than about 30 feet away.) |
Re: Is anyone else having this problem
I dont really understand why the camera "sees" the green light as white. The floruescent lights appear as white also. This seems to be causing the problem.
|
Re: Is anyone else having this problem
Change the color mode from RGB to YCrCb and try again. You'll have much better results.
|
Re: Is anyone else having this problem
also lower the brightness that seemed to work for us very well.
|
Re: Is anyone else having this problem
If you actually read the workbook, it tells you how to fix this problem.
http://kevin.org/frc/CMUcam2_workbook.pdf |
Re: Is anyone else having this problem
Quote:
|
Re: Is anyone else having this problem
In the locking code we changed it from using the location of the "target centroid" to using the confidence value. In testing we found low hanging flourescent lights are picked up in the mx,my values but the confidence for those lights is near zero. But the green target has very high confidence.
|
Re: Is anyone else having this problem
Quote:
|
Re: Is anyone else having this problem
Quote:
|
Re: Is anyone else having this problem
what i would do is try the YCrCb mode, try it again, you should end up with better results, hope it helps
|
| All times are GMT -5. The time now is 17:53. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi