Classes | Functions | Variables
node_scripts.hmr.smpl Namespace Reference

Classes

class  SMPL
 

Functions

def batch_global_rigid_transformation (Rs, Js, parent, rotate_base=False)
 
def batch_rodrigues (theta)
 
def batch_skew (vec, batch_size=None)
 

Variables

 file
 

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 32 of file smpl.py.

def node_scripts.hmr.smpl.batch_rodrigues (   theta)
Theta is N x 3

Definition at line 119 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 95 of file smpl.py.

Variable Documentation

node_scripts.hmr.smpl.file

Definition at line 14 of file smpl.py.



jsk_perception
Author(s): Manabu Saito, Ryohei Ueda
autogenerated on Mon May 3 2021 03:03:28