esc
Start typing to search the docs
Navigate Open

Image and video understanding

SAM 3D body: robust Full-Body human mesh recovery

SAM 3D Body is a promptable model for single-image full-body 3D human mesh recovery (HMR) from Meta. This example showcases an unofficial playground with promptable SAM3 masks and live Rerun visualization, using Gradio for the UI and Pixi for one-command setup.

Background

SAM 3D Body (3DB) demonstrates state-of-the-art performance for 3D human mesh recovery with strong generalization in diverse in-the-wild conditions.

Key features of the model:

This Rerun integration provides:

Run the code

This is an external example. Check the repository for more information.

Requirements: Linux with an NVIDIA GPU

The SAM3 and SAM3D Body checkpoints are gated on Hugging Face. Request access for both facebook/sam-3d-body-dinov3 and facebook/sam3, then authenticate by setting HF_TOKEN=<your token> or running huggingface-cli login.

Make sure you have the Pixi package manager installed and run:

git clone https://github.com/rerun-io/sam3d-body-rerun.git
cd sam3d-body-rerun
pixi run app