Open Fivetuple opened 5 years ago
Hi,
fit_shape_and_pose(...)
estimates face shape (identity & expression), so you can't set it there. The expression coefficients are a return parameter of that function.
Hi, I want to use starting values of expression coefficients in fitting. So can I overload the fit_shape_and_pose(...) function to set starting values for them? But how to overload in Python?
Hi @ArisTing,
I would suggest that you have a look at pybind11's documentation. It should be easy to add the function to the Python bindings with the parameters that you need. Pybind11 also supports optional and default arguments.
Hi @ArisTing, what you asked was added to my fork of eos, see the py_bindings branch: https://github.com/kanonet/eos/tree/py_bindings maybe you can use this changes for your project? Once @patrikhuber reviews my other PRs I plan to also suggest my pybind additions to get accepted here.
Hi,
How do I set the facial expression using Python if the fit_shape_and_pose function does not have a blendshape_coefficients argument?
The following argument types are supported: