Face detection through skin colour
이전 댓글 표시
Hey, Could somebody please send me the code to detect skin in an image, and the value for skin should be taken using ginput. After that image is coverted into RGB and later on, using connected components(may be), find holes in each of connected component. And if there are 2 wholes, it is detected as a face. I need urgently. Thanks.
답변 (1개)
Image Analyst
2011년 12월 15일
0 개 추천
You'll need to convert your image into hsv space and carve out a banana or boomerang shaped 3D color gamut. Of you can check out my File Exchange for some color segmentation demos. None on skin color though because that is an unusual-shaped gamut. For holes (not "wholes") you'll need to ask regionprops for the Euler number.
카테고리
도움말 센터 및 File Exchange에서 Detect, Extract, and Match Features에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!