facebookresearch/MHR
Momentum Human Rig is an anatomically-inspired parametric full-body digital human model developed at Meta. It includes: A parametric body skeletal model; A realistic 3D mesh skinned to the skeleton with levels of detail;A body blendshape and pose corrective model; A facial blendshape model. Its design is friendly for both CG and CV communities.
What it solves
MHR provides a high-fidelity, parametric 3D human body model that represents a person's identity, body pose, and facial expressions with a small set of numerical parameters. This makes it easy to generate, animate, and optimize 3D human meshes — for example, recovering a person's body pose and shape from images — while keeping the model differentiable so gradients can flow through it for machine-learning tasks.
How it works
MHR uses three sets of parameters: 45 identity coefficients (20 for body shape, 20 for head, 5 for hands), 204 pose parameters (joint angles and scalings), and 72 facial expression coefficients (artist-sculpted blendshape weights following FACS). The model comes in 7 levels of detail (LOD 0–6) to trade quality against speed, and it applies neural-network-based pose correctives for realistic non-linear deformations. It integrates with PyTorch for automatic differentiation on CPU or GPU, and with PyMomentum for a fast CPU solver. You can load the model from files (via MHR.from_files) or as a TorchScript model, and both support standard PyTorch autograd for optimization.
Who it’s for
Researchers and developers working on 3D human body modeling, animation, and human motion recovery from images. It is especially useful for those who need a differentiable body model that can be optimized end-to-end, or who want to convert between MHR and SMPL/SMPL-X formats, export to glTF for Blender, or visualize the model interactively in a Jupyter notebook.
Highlights
- 45 identity parameters (body, head, hands) for shape control
- 204 pose parameters for full-body articulation
- 72 facial expression blendshape weights following FACS
- 7 levels of detail (LOD 0–6) for different performance needs
- Neural-network-based pose correctives for non-linear deformations
- PyTorch integration with full autograd support for differentiable inference and optimization
- PyMomentum integration for fast CPU solving
- Multiple installation options: Pixi (recommended), pip with PyMomentum, pip without PyMomentum, or TorchScript model
- Tools for SMPL/SMPL-X conversion, glTF export, and interactive visualization
Related
- Project
- Project
- Project
- Project
- Project