DeepAlignmentNetwork
DeepAlignmentNetwork copied to clipboard
How to Get Aligned Face?
After landmark is obtained, how to get aligned faces suitable for face recognition?
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
Thank you for your reply. How can I use meanFaceShape. npz for affine transformation?
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.
Hi,你有找到较好的人脸校正方法吗? @bleakie