Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting the landmarks after frontalization #16

Open
ddyjis opened this issue Jul 24, 2017 · 1 comment
Open

Getting the landmarks after frontalization #16

ddyjis opened this issue Jul 24, 2017 · 1 comment

Comments

@ddyjis
Copy link

ddyjis commented Jul 24, 2017

Hi, is it possible to get the corresponding 68 landmarks after frontalization?

@TalHassner
Copy link
Collaborator

@ddyjis, Sure, you need to project the 3D landmarks (available in the mat file) down to the image plane using the projection matrix you get from alignment. The technical details are a too much for me to go into here, but you can look at the example here to try to figure it out.

Keep in mind, however, that an "ideal" frontalization would bring the landmarks to exactly the same coordinates in the image, every single time: these would be the target landmark coordinates stored in the alignment mat file. Any changes to these precise locations is due to noise in landmark detection and should be very small.

Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants