TF_FLAME icon indicating copy to clipboard operation
TF_FLAME copied to clipboard

About extract 3D landmarks from VOCA

Open kuanxin opened this issue 4 years ago • 5 comments

How to extract the 3d feature points of the obj mesh output by VOCA...>< Many thanks

kuanxin avatar Feb 19 '21 08:02 kuanxin

May I ask what you intend to do with the landmarks extracted from a VOCA mesh? VOCA outputs meshes in FLAME topology which provides a much denser correspondence than just 51 / 68 landmarks.

However, if you are still interested in the landmarks, just load the FLAME landmark embedding, the FLAME mesh output from VOCA, and call the function mesh_points_by_barycentric_coordinates in here. This returns you the 3D landmarks in that mesh.

TimoBolkart avatar Feb 24 '21 18:02 TimoBolkart

@TimoBolkart I try to change the 68/51 landmarks of the obj face model in unity3d to achieve the animation effect that the face model is talking. I am not sure is the correct way...

Thanks for your reply! It's very helpful.

kuanxin avatar Feb 25 '21 08:02 kuanxin

@TimoBolkart For example, I have a 3D face model generated by DECA, how to use VOCA to make this face model lip-sync in Blender or unity3d?

Thank you

kuanxin avatar Mar 02 '21 11:03 kuanxin

@TimoBolkart
May I ask how to calculate the two formal parameters mesh_vertsand mesh_facesof the function mesh_points_by_barycentric_coordinates from VOCA flame mesh output?

airfri avatar Nov 22 '21 07:11 airfri