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

Need face alignment feature #44

Open
ghost opened this issue Aug 2, 2019 · 4 comments
Open

Need face alignment feature #44

ghost opened this issue Aug 2, 2019 · 4 comments

Comments

@ghost
Copy link

ghost commented Aug 2, 2019

Currently repo doesn't include face alignment which was part of the original work of joint face detection and alignment , does any body has an idea how it can be achieved ?

@neuneck
Copy link

neuneck commented Aug 21, 2019

If you want to align two faces, run MTCNN on both of them and use openCV to get an affine transformation matrix using getAffineTransform, matching the respective landmarks. Then take the first face and apply the resulting transformation using warpAffine.

@faybak
Copy link

faybak commented Sep 4, 2019

do you have an example of how to do that cause i don't really understand.
Which one is better between dlib cnn and mtcnn?

@nyaang
Copy link

nyaang commented Sep 16, 2019

Same problem. The original paper completes the face alignment. But current repo doesn't.
And if the face with a tilt angle of more than 45 degrees, the performance of marking the landmark by this repo is not very good.

@hemanathabi
Copy link

@neuneck can you provide an example for the alignment?

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

4 participants