Open eous opened 9 months ago
Hi! Main goal of this repo is face recognition. Those models make no improvements in terms of recognition - recognition module uses 5 key points for recognition, so 106 and 68 keypoints models are excessive.
Also those models requires loose crops of faces for landmark detection, and uses non standard WxH input size, so those models could be added to pipeline, but at cost of huge performance loses.
Currently pipeline looks like this:
detect -> crop 112x112 -> embed -> return [kps, embeddings, crops]
With models above it would look like this:
detect -> crop 112x112 -> embed ----------------->--> return [kps, 106\68kps, embeddings, crops]
\-> crop 256x256 -> detect 106\68 kps---/
Understood, I was looking to do something along the lines of friendly face detection which requires more points but it sounds like this project isn’t a great fit. Thank you for your response.
Yes, as I said before, it can be done, but will break performance. Though I'll keep in mind that this feature might be useful.
landmark_2d_106: https://github.com/deepinsight/insightface/blob/master/alignment/coordinate_reg/image_infer.py#L9
landmark_3d_68: https://github.com/deepinsight/insightface/blob/master/python-package/insightface/app/mask_renderer.py#L94