![]() |
RGB colors in camera.h
Hey,
I am wondering, in camera.h it has the following set: Code:
#define R_MIN_DEFAULT 85 // Rmin for call to Track_Color()As far as I remember from RGB, 0,255,0 is looking for green, while 255,0,255 is looking for a mix of red and blue, which would be magenta. I am using the slimlined, sleek version of Kevin Watson's code, just to simplify things for now. |
Re: RGB colors in camera.h
You need to find out your own values for the light because it is not pure green so 0,255,0 will not find or track the color. Use the GUI to find the mean of the colors where the light is when seen.
|
Re: RGB colors in camera.h
Quote:
Cheers. Will play around with it then :D. |
Re: RGB colors in camera.h
Replying to my own post, Kevin Watson posted this:
Quote:
So i should be good to go out of the box :D. |
Re: RGB colors in camera.h
Quote:
Good luck, |
Re: RGB colors in camera.h
Quote:
I figured that part out :D. Thank you. |
| All times are GMT -5. The time now is 09:02. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi