Skin Color Detection

前端 未结 5 2056
终归单人心
终归单人心 2020-12-29 16:53

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

5条回答
  •  感动是毒
    2020-12-29 17:40

    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!

提交回复
热议问题