Face detection through skin colour
Afficher commentaires plus anciens
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.
Réponses (1)
Image Analyst
le 15 Déc 2011
0 votes
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.
Catégories
En savoir plus sur Detect, Extract, and Match Features dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!