Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facial expression recognition from webcam [closed]

I am currently working on a project where I have to extract the facial expression of a user (only one user at a time from a webcam) like sad or happy.

There are a lot of programs/APIs to do face detection but I did not find any one to do automatic expression recognition.

The best possibility I found so far:

I used OpenCV for face detection earlier, which was working great, so If anyone has some tips on how to do it with OpenCV, that would be great!

Some user on a OpenCV board suggested looking for AAM (active apereance models) and ASM (active shape models), but all I found were papers.

-So i'm Using Active Shape Models with Stasm, which will give me access to 77 different points within the face, so I would still have to manually map them to expressions.

Any programming language is welcome.

like image 639
TIBOU Avatar asked Jul 07 '13 15:07

TIBOU


2 Answers

After 2.4 release, opencv came with a face recognition API. You may define sad and happy faces as two different faces and use the API to classify them. If you are looking for any tutorials you can check out opencv's tutorial page, too.

like image 53
baci Avatar answered Sep 22 '22 20:09

baci


Maybe this article can help you.

It is explanation of concepts used to achieve result shown here:

Also, you might want to have a look here.

All of above mentioned is a work of people who more or less achieved what you watn.

I want to do same as you - facial expression recognition with OpenCV, so I hope sooner or later we can exchange our ideas.

like image 43
Nenad Bulatović Avatar answered Sep 24 '22 20:09

Nenad Bulatović