DeepAlignmentNetwork icon indicating copy to clipboard operation
DeepAlignmentNetwork copied to clipboard

How to Get Aligned Face?

Open bleakie opened this issue 5 years ago • 4 comments

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

bleakie avatar Jun 19 '19 09:06 bleakie

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

MarekKowalski avatar Jun 19 '19 20:06 MarekKowalski

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

bleakie avatar Jun 20 '19 01:06 bleakie

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.

MarekKowalski avatar Jun 23 '19 23:06 MarekKowalski

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

youthM avatar Aug 15 '19 02:08 youthM