Coder Social home page Coder Social logo

Comments (5)

YuDeng avatar YuDeng commented on August 17, 2024 1

The rescale factor is to ensure that faces in images have a proper scale. Our model is trained using this scale so if you change it the performance might drop.

The similarity_Lm3D_all.mat contains 68 3D landmarks of the BFM2009 mean shape. We use them to align the size of faces in different images.

from deep3dfacerecon_pytorch.

humannumber196 avatar humannumber196 commented on August 17, 2024

The rescale factor is to ensure that faces in images have a proper scale. Our model is trained using this scale so if you change it the performance might drop.

The similarity_Lm3D_all.mat contains 68 3D landmarks of the BFM2009 mean shape. We use them to align the size of faces in different images.

Thanks for your reply, Yu! I tried to extract the 68 3D landmarks from the mean shape, but the coordinates value are very large, it seems you normalized them? I used the 68 landmarks indices from https://github.com/anilbas/BFMLandmarks and tried to normalize them, but the results are still different from yours. Could you please tell me how did you normalize them or how did you get these values?

from deep3dfacerecon_pytorch.

YuDeng avatar YuDeng commented on August 17, 2024

Yes, we rescale the BFM meanshape. For details you can check https://github.com/sicxu/Deep3DFaceRecon_pytorch/blob/master/util/load_mats.py.
After the preprocessing, we extract the 68 landmarks using the indices in facemodel_info.mat. We get the keypoints indices information from https://github.com/Juyong/3DFace.

from deep3dfacerecon_pytorch.

humannumber196 avatar humannumber196 commented on August 17, 2024

Yes, we rescale the BFM meanshape. For details you can check https://github.com/sicxu/Deep3DFaceRecon_pytorch/blob/master/util/load_mats.py.
After the preprocessing, we extract the 68 landmarks using the indices in facemodel_info.mat. We get the keypoints indices information from https://github.com/Juyong/3DFace.

OK. Thanks a lot, Yu!

from deep3dfacerecon_pytorch.

giracle avatar giracle commented on August 17, 2024

Hi, Thanks for sharing your code, it is a great work! But I have a question about it. How do you normalize the 3D landmarks? Thank you.

from deep3dfacerecon_pytorch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.