We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, the following code (in Python) produces a "faulty" mesh:
mesh_sample = morphable_model.draw_sample(shape_coefficients=[0.5, -0.5], expression_coefficients=[0.5, 0], color_coefficients=[0, 0.5])
Because expression_coefficients needs to be a complete vector:
expression_coefficients
blendshape_coeffs = np.zeros(len(morphable_model.get_expression_model())) blendshape_coeffs[0] = 0.6 # Raise left mouth corner mesh_sample = morphable_model.draw_sample(shape_coefficients=[0.5, -0.5], expression_coefficients=blendshape_coeffs, color_coefficients=[0, 0.5])
We should check the input arguments more rigorously.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently, the following code (in Python) produces a "faulty" mesh:
Because
expression_coefficients
needs to be a complete vector:We should check the input arguments more rigorously.
The text was updated successfully, but these errors were encountered: