Face detection through skin colour
Mostra commenti meno recenti
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.
Risposte (1)
Image Analyst
il 15 Dic 2011
0 voti
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.
Categorie
Scopri di più su Detect, Extract, and Match Features in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!