Detecting Hair Open CV iPhone
I just ran a sample code using opencv for face detection. It is detecting the edges and face quite nicely.
I was wondering, if anyone has any idea how I can somehow differentiate hair and face? I know we can probably use the hair colour contrast but someone else pointed out that if the person is开发者_开发百科 blond, it won't work.
Any ideas or suggestions are more than welcomed.
Many thanks.
Here is another thread in SO about detecting hair in a face picture with OpenCV: Detecting hair in a portrait image? . It has some cool ideas and links to a paper which might be the solution you're looking for.
精彩评论