4 views (last 30 days)

I am doing face recognition using matlab software. I already managed to get the interested features (L_eye, R_eye, nose, mouth, center_eye). From here i have calculated the distance and ratios.

from the calculated ratios, i want to , for any two pair of faces, find the difference between all the features to get a difference vector.

Can anyone guide me how to calculate it?

Image Analyst
on 4 Dec 2012

differenceVector = face1Vector - face2Vector;

Image Analyst
on 6 Dec 2012

I don't know what those first two paragraphs are doing, but it does not look like proper MATLAB syntax. I have no idea what any of those numbers or variables mean.

As far as the vectors in the third paragraph go, yes you are creating vectors and yes, you are subtracting them but that's about all I can say. They seem to be created with just some arbitrary numbers, and you don't do anything after that with them other than subtracting them. What did you expect to happen?

Opportunities for recent engineering grads.

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

Start Hunting!
## 1 Comment

## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/55638-i-want-to-find-the-difference-between-all-the-features-to-get-a-difference-vector-for-any-two-face-o#comment_809808

⋮## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/55638-i-want-to-find-the-difference-between-all-the-features-to-get-a-difference-vector-for-any-two-face-o#comment_809808

Sign in to comment.