-
-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
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
Setting expression in Python #266
Comments
Hi,
|
Hi, |
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, |
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:
1. (morphable_model: eos.morphablemodel.MorphableModel, landmarks: List[eos.core.Landmark], landmark_mapper: eos.core.LandmarkMapper, image_width: int, image_height: int, edge_topology: eos.morphablemodel.EdgeTopology, contour_landmarks: eos.fitting.ContourLandmarks, model_contour: eos.fitting.ModelContour, num_iterations: int = 5, num_shape_coefficients_to_fit: Optional[int] = None, lambda_identity: float = 30.0, num_expression_coefficients_to_fit: Optional[int] = None, lambda_expressions: Optional[float] = 30.0) -> Tuple[eos.core.Mesh, eos.fitting.RenderingParameters, List[float], List[float]]
The text was updated successfully, but these errors were encountered: