fastdev.smplx

Submodules

Package Contents

fastdev.smplx.build_mano_layer(hand_side: Literal['left', 'right'] = 'left', create_transl: bool = False, flat_hand_mean: bool = False, use_pca: bool = False, num_pca_comps: int = 6) smplx.MANO[source]
Parameters:
  • hand_side (Literal['left', 'right'])

  • create_transl (bool)

  • flat_hand_mean (bool)

  • use_pca (bool)

  • num_pca_comps (int)

Return type:

smplx.MANO

fastdev.smplx.build_mano_layer_manopth(hand_side: Literal['left', 'right'] = 'left', flat_hand_mean: bool = False, use_pca: bool = False, num_pca_comps: int = 6)[source]
Parameters:
  • hand_side (Literal['left', 'right'])

  • flat_hand_mean (bool)

  • use_pca (bool)

  • num_pca_comps (int)

fastdev.smplx.get_local_mano_model_path(hand_side: Literal['left', 'right'] = 'left') str[source]
Parameters:

hand_side (Literal['left', 'right'])

Return type:

str

fastdev.smplx.transform_mano_pose(mano: smplx.MANO, betas: torch.Tensor, global_orient: torch.Tensor, transl: torch.Tensor, tf_rot: torch.Tensor, tf_transl: torch.Tensor | None = None) Tuple[torch.Tensor, torch.Tensor][source]

Change mano parameters to the new coordinate system.

Reference

Parameters:
  • mano (smplx.MANO)

  • betas (torch.Tensor)

  • global_orient (torch.Tensor)

  • transl (torch.Tensor)

  • tf_rot (torch.Tensor)

  • tf_transl (Optional[torch.Tensor])

Return type:

Tuple[torch.Tensor, torch.Tensor]