Skin detection in the CIELab and HSV color space

2019-07-22 05:57发布

I've seen CIELab and HSV suggested a few times here on stackoverflow, but I haven't been able to find any values corresponding to skin. What are good values to look for when doing skin detection in the CIELab and HSV color spaces?

For example in RGB I've seen this:

R > 95 AND G > 40 AND B > 20 AND
max{R, G, B} – min{R, G, B} >15 AND
|R – G| > 15 AND
R > G AND R > B
OR
R > 220 AND G > 210 AND B > 170 AND
|R – G| <= 15 AND
R > B AND G > B

Are there similar expressions for CIELab and HSV?

2条回答
甜甜的少女心
3楼-- · 2019-07-22 06:30

You could just measure it

Now if there was only a large set of images with large areas of flesh tones available on the internet?

查看更多
登录 后发表回答