Exact Skin color HSV range

后端 未结 8 876
独厮守ぢ
独厮守ぢ 2021-02-02 03:34

I have seen all questions on SO for range of HSV color space for skin
But I can only figure out this

Code -

CvScalar  hsv_min = cv         


        
8条回答
  •  青春惊慌失措
    2021-02-02 03:58

    According to this : http://matmidia.org/sibgrapi2009/media/posters/59928.pdf

    The skin in channel H is characterized by values between 0 and 50, in the channel S from 0.23 to 0.68 for Asian and Caucasian ethnics.

    You'll have to take extra care with very dark parts of the image and probably discard them altogether, as the HSV conversion gets really noisy for small values of V.

    Depending on what your constraints are, you could also consider using a coloured glove (some colour that is not appearing normally in the scene), or setting a background of different colour than red, that is further away from skin colours (magenta, green, whatever).

提交回复
热议问题