Deep3DFaceReconstruction icon indicating copy to clipboard operation
Deep3DFaceReconstruction copied to clipboard

how to get 3d coordinates for 68 landmarks

Open aadha3 opened this issue 5 years ago • 4 comments

Hi @YuDeng Thanks for the library, Can you please tell me how to get the 68 landmarks in 3D instead of 2D ? I see here: https://github.com/microsoft/Deep3DFaceReconstruction/blob/138ff7399d8cca8096f814c7f2aa9db5dee40986/reconstruct_mesh.py#L182 you are able to get the landmarks in 2D, how do I convert them to 3D coordinates ?

Thanks.

aadha3 avatar Aug 31 '19 22:08 aadha3

Hi, you can directly get 3D landmarks using face_shape[:,facemodel.keypoints,:] where face_shape is one of the returns of the Reconstruction function .

YuDeng avatar Sep 02 '19 04:09 YuDeng

Hi @YuDeng Thanks for the response. Is the reconstruction from multiple images(set of images from different angles) is available?

aadha3 avatar Sep 04 '19 12:09 aadha3

Sorry, it is not available yet :p

YuDeng avatar Sep 06 '19 06:09 YuDeng

Hi @aadha3 did u find any codes for reconstruction from multiple images.

sidis8066 avatar Oct 16 '19 09:10 sidis8066