Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facial Feature Points Detection using OpenCV

I want to detect the points on a face as shown in the picture

enter image description here

I am using OpenCV CascadeClassifier::detectMultiScale.
I am using the haarcascade_frontalface_alt, haarcascade_eye, haarcascade_mcs_mouth xml files.

I am satisfied with the face detection but not with the facial feature points detection.

I want the feature points detection to work for the images upto a distance of 8 feet.

I am looking for more accuracy and robustness wrt pose(15 degrees) and opening of mouth, without compromising speed.
I am looking for speed of 25fps on an i5 processor.

Can anyone suggest/refer me any libraries/open source codes for my problem.

C++ platform.

like image 688
2vision2 Avatar asked Mar 13 '13 14:03

2vision2


People also ask

How can you do face detection in OpenCV?

Various face detection algorithms are there but the Viola-Jones Algorithm is the oldest method that is also used today. Face detection is generally the first step towards many face-related applications like face recognition or face verification. But, face detection has very useful applications.

Which algorithm is used in face recognition using OpenCV?

The haar like cascade algorithm is used for face detection. There are various algorithms for face recognition, but LBPH is easy and popular algorithm among them.


1 Answers

Try Flandmarks http://cmp.felk.cvut.cz/~uricamic/flandmark/ It extracts 7 feature points but you will not be able to get the feature points for upperlip and the lower lip.

You can try using an ASM mesh to fit the face. There are several implementations that use ASM/AAM. https://code.google.com/p/asmlib-opencv/ is an open source library which has built in dataset for face images. Do look into it.

Cheers

like image 89
Ganesh Iyer Avatar answered Oct 02 '22 15:10

Ganesh Iyer