(mano)
return mpii
Map data from MANOHandJoints order to MPIIHandJoints order.

  Parameters
  ----------
  mano : np.ndarray, [21, ...]
    Data in MANOHandJoints order. Note that the joints are along axis 0.

  Returns
  -------
  np.ndarray
    Data in MPIIHandJoints order.
Map data from MANOHandJoints order to MPIIHandJoints order.
Map data from MANOHandJoints order to MPIIHandJoints order .
def mano_to_mpii(mano):
  """
  Map data from MANOHandJoints order to MPIIHandJoints order.

  Parameters
  ----------
  mano : np.ndarray, [21, ...]
    Data in MANOHandJoints order. Note that the joints are along axis 0.

  Returns
  -------
  np.ndarray
    Data in MPIIHandJoints order.
  """
  mpii = []
  for j in range(MPIIHandJoints.n_joints):
    mpii.append(
      mano[MANOHandJoints.labels.index(MPIIHandJoints.labels[j])]
    )
  mpii = np.stack(mpii, 0)
  return mpii
def mano_to_mpii ( mano ) : mpii = [ ] for j in range ( MPIIHandJoints . n_joints ) : mpii . append ( mano [ MANOHandJoints . labels . index ( MPIIHandJoints . labels [ j ] ) ] ) mpii = np . stack ( mpii , 0 ) return mpii