Face detection through skin colour
Mostrar comentarios más antiguos
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.
Respuestas (1)
Image Analyst
el 15 de Dic. de 2011
0 votos
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.
Categorías
Más información sobre Detect, Extract, and Match Features en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!