Morphing a face into a vector

3 views (last 30 days)
I'm currently taking up Vector Analysis and is currently working on a research paper. Is there a way, using matlab, wherein I can input a face picture of someone and represent that face as a vector? I was planning on inputting numerous faces, representing each as a vector, take the average of those vectors and use it as a basis. I would then input a separate face, represent it as a vector and compare it with the basis to compute for the difference.
Basically, I want to create a program/code and database of faces, and when I input an individual's face, the program would output the percentage as to how similar that face is with the database.
Thanks, in advance.
  2 Comments
Jess Marcos
Jess Marcos on 7 Apr 2016
Thank you. I'm new to matlab and this might be too much to ask, but may I know the basic code for said extraction? Basically, may I have your help in the whole procedure?
Walter Roberson
Walter Roberson on 7 Apr 2016
I have not done any work on feature extraction for images. If you search the forum you will find a lot of discussion of it.

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 7 Apr 2016
Yes. If the face is stored in YourFaceArray then
YourFaceVector = YourFaceArray(:);
You will probably find in practice that you instead want to do feature extraction, but you could certainly true with complete faces.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!