deepinsight / insightface

State-of-the-art 2D and 3D Face Analysis Project
https://insightface.ai
23.34k stars 5.41k forks source link

face alignment using 106 landmarks #2629

Open ZubairKhan001 opened 2 months ago

ZubairKhan001 commented 2 months ago

arcface_dst = np.array( [[38.2946, 51.6963], [73.5318, 51.5014], [56.0252, 71.7366], [41.5493, 92.3655], [70.7299, 92.2041]], dtype=np.float32)

is provided in face_align.py for 5 keypoinst. Can we make it work for 106 landmarks, do we have arcface_dst for landmarks?

nttstar commented 2 months ago

Yes you only need to specify the locations of the 5 landmarks out of the 106 keypoints.

ZubairKhan001 commented 2 months ago

OK, thanks, can we remove the extra space that is added to the facial image after alignment.

sriram-dsl commented 2 months ago

can we mesh the face into more than 5 key points