Ask Your Question
0

How to determine the similarity of face images?

asked 2015-01-16 10:51:02 -0600

ajman gravatar image

Hi everyone,

I have 3 face images of a person with different facial expressions namely sad, happy and shocked. They all have different backgrounds and lighting environments.

Now I captured a photo of the same person by using the webcam.


  1. How can I determine which facial expression is that photo corresponds to?
  2. What transformations or filters should be applied to the images before the matching is done?

Thanks a lot!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2015-01-16 22:29:10 -0600

The problem you face is "Facial expression recognition". Generally, each face image is represented as a feature vector resulted from a feature extraction algorithm, then a learning method might be used to eliminate redundant information and to reduce feature vector' length. In the classification phase, SVM can be used to determine the expression of the face. Thus, my suggestion for you is doing search with keyword to understand how to solve the problem more efficiently. Particularly on your question:

  1. You can use metric function like Chi-Square (Histogram based features, like LBP or its variants), euclidean, or correlation distance to compute the similarities between images of different expressions.

  2. The answer is depend on the images your have and the feature extraction algorithm you used, if any. And you need empirical experiments to see which one yields the highest accuracy. My suggestion is histogram equalization and retina filter, both are implemented in OpenCV (retina filter is in the opencv_contrib repo).

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-01-16 10:51:02 -0600

Seen: 718 times

Last updated: Jan 16 '15