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

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

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

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

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