Morphing a face into a vector

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 个评论

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?
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.

请先登录,再进行评论。

 采纳的回答

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.

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by