Giter Site home page Giter Site logo

FLAME parameters from VOCA model about voca HOT 6 CLOSED

jzf2101 avatar jzf2101 commented on September 3, 2024
FLAME parameters from VOCA model

from voca.

Comments (6)

TimoBolkart avatar TimoBolkart commented on September 3, 2024 3

Thanks for pointing this out. This is actually a problem of the L-BFGS-B solver used in the TF_FLAME fitting. Weighting the data term higher, will give you a better result. Alternatively you could change the convergence parameters of the solver. Below, you can see your input mesh (left), a fitting based on the Chumpy code (middle), and a fitting using TF_FLAME with higher weighted data term, and using BFGS instead of L-BFGS-B (right). They look much more similar compared to your fitting before. Just pull the TF_FLAME repository and you will get the changes.

mesh_fitting

Increasing the parameter weights in for jaw_pose by 8 orders of magnitude (1000) leads to a slightly more open mouth, which is still not close to the VOCA mesh.

The weights for shape, expression, neck_pose, jaw_pose, and eyeball_pose are actually weights of the regularizers. Increasing these weights leads to more regularization and hence it even looks more like the mean face.

from voca.

TimoBolkart avatar TimoBolkart commented on September 3, 2024 1

VOCA outputs meshes in FLAME mesh topology. However, it does not directly output FLAME parameters but you can easily compute this using this code TF_FLAME. The demo to fit the 3D model to registered 3D meshes should do the job

from voca.

jzf2101 avatar jzf2101 commented on September 3, 2024

@tursmanor and I have tried to run TF_FLAME/fit_3D_mesh.py on the mesh output of VOCA. However, we find that there are notable differences in pose, specifically with regards to the mouth position.

The mesh on the left is the output of VOCA and the one on the right is the result of fit_3D_mesh.py

fitting-results

Given the fact that the output of VOCA is already in FLAME topology, is there another way to get the FLAME parameters directly from the VOCA model without rerunning it through FLAME?

from voca.

TimoBolkart avatar TimoBolkart commented on September 3, 2024

The mesh on the left is the output of VOCA and the one on the right is the result of fit_3D_mesh.py

This looks not right, FLAME should be much better in fitting this mesh. Can you please provide this particular mesh to me?

Given the fact that the output of VOCA is already in FLAME topology, is there another way to get the FLAME parameters directly from the VOCA model without rerunning it through FLAME?

VOCA outputs meshes in FLAME topology, but there is no way to directly go from a FLAME mesh to the model parameters without optimization.

from voca.

jzf2101 avatar jzf2101 commented on September 3, 2024

Thanks, the file is below:

00056.obj.zip

We have attempted to vary the weight parameters in TF_FLAME/fit_3D_mesh.py to improve performance with little luck. Increasing the parameter weights in for jaw_pose by 8 orders of magnitude (1000) leads to a slightly more open mouth, which is still not close to the VOCA mesh.

inc-jaw-pose-weight

from voca.

jzf2101 avatar jzf2101 commented on September 3, 2024

Thank you !!!!

from voca.

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.