Sunday, August 17, 2008
Face extraction from an image
Automatically face extraction from an image is essential for many advance application developers or intelligent robot developers. I have worked on face extraction. Think some important tips to be write on blogg. Three basic steps required:
1. Skin Color Segmentation
2. Extract Connected components
3. Extract faces
1. Skin color segmentation
Two vital rules for skin color segmentation:
R1: R>G>B
R2: R-G>=45
When Both R1 and R2 are true, the pixel is considered as skin color pixel. Where R, G, B are red, green and blue components of a pixel.
2. Extract Connected components
We put skin color pixel as black and non skin color pixel as white color. Then after skin color segmentatin operatoin we will find out an image of black and white color. Now will find out the black connected components. Because through this method we can extract multiple faces from an group photo. Each large components are probable face area.
3. Extract faces
Now cut faces from original image using each connected component.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment