Face shape Extraction using MATLAB

4 views (last 30 days)
Tehreem Fatima
Tehreem Fatima on 14 Apr 2013
I want to extract shape of human face like square, oblong etc. Can anyone guide me how should I approach this problem?

Answers (1)

Image Analyst
Image Analyst on 14 Apr 2013
You could use image processing. First find the face, for example with the Computer Vision System Toolbox ( http://www.mathworks.com/products/computer-vision/description4.html), then call regionprops to make the measurements you need.
  3 Comments
Tehreem Fatima
Tehreem Fatima on 14 Apr 2013
What do you mean by 'find the face'? I am able to find face with CV toolbox and draw the rectangle around it. Are you asking me to crop the image leaving the face only and then apply regionprops or something else? Sorry I could not understand it properly.
Image Analyst
Image Analyst on 14 Apr 2013
Somehow you need to find the face and get just the face. I don't have any algorithm or code to suggest to you for doing that. You gave some code above but it doesn't look very robust along. For example how are you going to separate the face pixels from the neck pixels when they are essentially the same color and are next to each other.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!