deepinsight / insightface

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

How to get src points for face alignment transformation ? #1866

Open yijliu7 opened 2 years ago

yijliu7 commented 2 years ago

I saw the code in face_align.py: arcface_src = 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)

but what's the specific method for acquiring those values ?

nttstar commented 2 years ago

Any reasonable reference points are acceptable, we just use them for many years.