BodyFitter#

class smplfitter.np.BodyFitter(body_model, enable_kid=False)[source]#

Fits body model (SMPL/SMPL-X/SMPL+H) parameters to lists of target vertices and joints.

Parameters:
  • body_model (BodyModel) – The SMPL model instance we wish to fit, of a certain model variant and gender.

  • enable_kid (bool) – Enables the use of a kid blendshape, allowing for fitting kid shapes as in AGORA.

Instance Methods#

fit(target_vertices[, target_joints, vertex_weights, ...])

Fits the body model to target vertices and optionally joints by optimizing for shape and

fit_with_known_pose(pose_rotvecs, target_vertices[, ...])

Fits the body shape and translation with known output pose.

fit_with_known_shape(shape_betas, target_vertices[, ...])

Fits the body pose and translation with known shape parameters.