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

How to Get Aligned Face? #55

Open
bleakie opened this issue Jun 19, 2019 · 4 comments
Open

How to Get Aligned Face? #55

bleakie opened this issue Jun 19, 2019 · 4 comments

Comments

@bleakie
Copy link

bleakie commented Jun 19, 2019

After landmark is obtained, how to get aligned faces suitable for face recognition?

@MarekKowalski
Copy link
Owner

Hi,

This likely depends on the face recognition method and what type of normalization it requires.
The most common method is to transform the image with an affine or similarity transform that will align the landmarks with some template.

Marek

@bleakie
Copy link
Author

bleakie commented Jun 20, 2019

Thank you for your reply. How can I use meanFaceShape. npz for affine transformation?

@MarekKowalski
Copy link
Owner

If you want to align the image you have with the mean face shape you can do it using the CropResizeRotate in the ImageServer.py file. The shape you want to align to will have to be passed as initShape.

@youthM
Copy link

youthM commented Aug 15, 2019

Hi,你有找到较好的人脸校正方法吗? @bleakie

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

3 participants