Head pose estimation with Opencv

Wazy picture Wazy · Nov 11, 2011 · Viewed 10.9k times · Source

I am using OpenCV Haar Algorithm to track the Head and overlay an image over the Head.
What I am doing is saving frames generated by camera and overlaying image over each frames.
And time is not a constraint as I am not doing it Real-Time.

My code is working fine for say 45 degree of left and right rotation of Head.
But I need something which will track up to 90 degree of rotation.

Even I got many reference of OpenCV functions and link to estimate Head Pose

Please provide me some reference. Code Examples will be cool.
Thanks in advance

Answer

Jav_Rock picture Jav_Rock · Dec 20, 2011

You can use an algorithm like SURF (you have samples in OpenCV package) and use it over a picture of the face, the over the image, and then use SURF descriptors to match the points and estimate the 3d position of the face in the image. You can use the same code on the sample "find_obj" but replace the image by the face picture you want to track.

Hope this helps.