Wasim Karani
Wasim Karani

Reputation: 8886

Head pose estimation with Opencv

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

Upvotes: 13

Views: 11241

Answers (3)

Jav_Rock
Jav_Rock

Reputation: 22245

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.

Upvotes: 7

dannyxyz22
dannyxyz22

Reputation: 988

You could check the EHCI project at http://code.google.com/p/ehci/ as it gives a nice overview about POSIT and Lukas Kanade.

Upvotes: 5

Titus Pullo
Titus Pullo

Reputation: 3851

There is a functionc in openCV called POSIT that permit to estimate the pose of 3d object in a single image. It implements POSIT algorithm. Try to have a look there.

Upvotes: 6

Related Questions