Classes | Functions
node_scripts::hmr::smpl Namespace Reference

Classes

class  SMPL

Functions

def batch_global_rigid_transformation
def batch_rodrigues
def batch_skew

Function Documentation

def node_scripts.hmr.smpl.batch_global_rigid_transformation (   Rs,
  Js,
  parent,
  rotate_base = False 
)
Computes absolute joint locations given pose.

rotate_base: if True, rotates the global rotation by 90 deg in x axis.
if False, this is the original SMPL coordinate.

Args:
  Rs: N x 24 x 3 x 3 rotation vector of K joints
  Js: N x 24 x 3, joint locations before posing
  parent: 24 holding the parent id for each index

Returns
  new_J : `Tensor`: N x 24 x 3 location of absolute joints
  A     : `Tensor`: N x 24 4 x 4 relative joint transformations for LBS.

Definition at line 12 of file smpl.py.

Theta is N x 3

Definition at line 99 of file smpl.py.

def node_scripts.hmr.smpl.batch_skew (   vec,
  batch_size = None 
)
vec is N x 3, batch_size is int

returns N x 3 x 3. Skew_sym version of each matrix.

Definition at line 75 of file smpl.py.



jsk_perception
Author(s): Manabu Saito, Ryohei Ueda
autogenerated on Tue Jul 2 2019 19:41:08