microsoft / Deep3DFaceReconstruction

Accurate 3D Face Reconstruction with Weakly-Supervised Learning: From Single Image to Image Set (CVPRW 2019)
MIT License
2.18k stars 442 forks source link

Can I use 68 landmarks instead of ? #66

Closed DavisDDD closed 3 years ago

DavisDDD commented 4 years ago

I have a txt of 68 landmarks. But in program, it need five landmarks. How can I use landmark instead?

umarmuzammil commented 4 years ago

I am also trying to use 68 landmarks. Did you figure it out ?

YuDeng commented 4 years ago

The 5 landmarks we use are located at the center of right eye, the center of left eye, nose tip, right corner of mouth, and left corner of mouth respectively. You can transfer 68 landmarks to 5 accordingly.

umarmuzammil commented 4 years ago

yeah for 5 landmarks I am using this "shape_predictor_5_face_landmarks" in dlib library but I've no idea how to make "shape_predictor_68_face_landmarks" work. there is no example in input folder for 68 marks. Doesnt seem to work as expected when you generate 68 landmarks text doc instead of 5.

Timmate commented 4 years ago

The 5 landmarks we use are located at the center of right eye, the center of left eye, nose tip, right corner of mouth, and left corner of mouth respectively. You can transfer 68 landmarks to 5 accordingly.

@YuDeng, it would be nice if you could post that information right on the project's page so that people could find it more easily.