Skip to content

tusharC95/Head-Pose-Estimation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

HeadPoseEstimation

I have used the tensorflow.js model MediaPipe Facemesh to estimate the head pose in real time using the device's camera as used in snake-face. The direction in which the head is pointing at start is estimated as a reference point. Subsequent estimates are compared to this to angle.

The head direction is estimated by calculating the vectors connecting the centre of the lips to the left and right cheeks. These two vectors lie on a plane that approximates the surface of the face. The cross product of these vectors is normal to this plane and thus points approximately in the direction of the head.

right.mov
left.mov
up.mov
down.mov

About

Estimate the head pose in real time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages