I am using the following algorithm to detect skin color, but its not working real well in different lighting conditions. Can anybody offer any advice how to improve it or su
If you are using RGB, you will have problems with lighting(luminance). Best way to deal with skin color detection is YCbCr composition. Y for luminance Cb and Cr for chrominance. Each are expressed as weighed expression of RGB colors. But you use only Cb and Cr to identify skin colors. Y is discarded since you don't want the luminace in your analysis. So use YCbCr instead of RGB. Hope I helped!