Closed ria-kim closed 5 years ago
Is it possible you're using an outdated demo.py
file? I think there is no overload to fit_shape_and_pose
anymore that takes blendshapes
as a parameter, but you can check the documentation/headers. The expressions are integrated into the MorphableModel
class. The latest demo.py
reflects that by constructing a morphablemodel_with_expressions
and passing that to fit_shape_and_pose
.
I'm closing this, feel free to re-open if you're still having an issue or if that piece of code is really still wrong somewhere in the eos repo.
Thanks! Switching to the new demo.py worked great- thank you for such a prompt response~
I've tried to run the demo in python, but it breaks when running the fit_shape_and_pose() at the line where there is the model_contour. Following is the error message:
I'm not sure why I'm getting this message, or what I would be able to do about this, since I'm just running the demo on an image I already have. I can provide more information if neccessary!