ageitgey / face_recognition

The world's simplest facial recognition api for Python and the command line
MIT License
53.57k stars 13.5k forks source link

Head pose estimation #667

Open alaa-yahia opened 6 years ago

alaa-yahia commented 6 years ago

Hello How I can determine the head pose angle using the landmarks obtained from face_recognition.face_landmarks(image)?

forwitai commented 4 years ago

Hello, did you find a solution to your problem ? I'm trying to do the same thing !

alaa-yahia commented 4 years ago

Hello.. Actually I didn't research it enough and left it unsolved but I am pretty sure it could be solved with some research

forwitai commented 4 years ago

Hello, In case you might be interested, I eventually used face_recognition for the face detection part, and managed to do the head pose estimation with another library "DeepGaze".

alaa-yahia commented 4 years ago

Thanks for sharing!

akeilox commented 4 years ago

@forwitai can that be used to Detect if person looking at the camera head on (like a passport picture) to ensure face is all centered ?

forwitai commented 4 years ago

I believe it's achievable with DeepGaze, since it allows you to calculate the yaw, pitch and roll angles.