facebook/sam-3d-body-dinov3

Hugging Face Models Trending Models

Summary

Meta Superintelligence Labs released SAM 3D Body (3DB), a promptable model for single-image full-body 3D human mesh recovery that achieves state-of-the-art performance in the wild, built on the new Momentum Human Rig parametric mesh representation and supporting auxiliary prompts like 2D keypoints and masks.

Tags: sam-3d-body, sam-3d, 3d-human-mesh-recovery, human-pose-estimation, meta, en, license:other, region:us
Original Article
View Cached Full Text

Cached at: 11/20/26, 03:33 PM

facebook/sam-3d-body-dinov3 · Hugging Face

Source: https://huggingface.co/facebook/sam-3d-body-dinov3

https://huggingface.co/facebook/sam-3d-body-dinov3#sam-3d-body-robust-full-body-human-mesh-recoverySAM 3D Body: Robust Full-Body Human Mesh Recovery

Meta Superintelligence Labs

**SAM 3D Body (3DB)**is a promptable model for single-image full-body 3D human mesh recovery (HMR). Our method demonstrates state-of-the-art performance, with strong generalization and consistent accuracy in diverse in-the-wild conditions. 3DB estimates the human pose of the body, feet, and hands based on theMomentum Human Rig(MHR), a new parametric mesh representation that decouples skeletal structure and surface shape for improved accuracy and interpretability.

3DB employs an encoder-decoder architecture and supports auxiliary prompts, including 2D keypoints and masks, enabling user-guided inference similar to the SAM family of models. Our model is trained on high-quality annotations from a multi-stage annotation pipeline using differentiable optimization, multi-view geometry, dense keypoint detection, and a data engine to collect and annotated data covering both common and rare poses across a wide range of viewpoints.

https://huggingface.co/facebook/sam-3d-body-dinov3#key-featuresKey Features

  • Robust Full-Body Performance: Superior handling of occlusions, hard poses, and challenging viewpoints
  • Promptable Model: Supports auxiliary prompts including 2D keypoints and masks for user-guided inference
  • Momentum Human Rig (MHR): New parametric mesh representation that decouples skeletal structure and surface shape
  • Large-Scale and High-Quality Data: Multi-stage annotation pipeline for large-scale, diverse, and high-quality data

https://huggingface.co/facebook/sam-3d-body-dinov3#quick-startQuick Start

https://huggingface.co/facebook/sam-3d-body-dinov3#installationInstallation

Please refer toINSTALL.mdfor detailed installation guidelines.

https://huggingface.co/facebook/sam-3d-body-dinov3#inferenceInference

# Download assets from HuggingFace
hf download facebook/sam-3d-body-dinov3 --local-dir checkpoints/sam-3d-body-dinov3

# Run demo script
python demo.py \
    --image_folder <path_to_images> \
    --output_folder <path_to_output> \
    --checkpoint_path ./checkpoints/sam-3d-body-dinov3/model.ckpt \
    --mhr_path ./checkpoints/sam-3d-body-dinov3/assets/mhr_model.pt

You can also try the following lines of code with models loaded directly fromHugging Face

import cv2
import numpy as np
from notebook.utils import setup_sam_3d_body
from tools.vis_utils import visualize_sample_together

# Set up the estimator
estimator = setup_sam_3d_body(hf_repo_id="facebook/sam-3d-body-dinov3")

# Load and process image
img_bgr = cv2.imread("path/to/image.jpg")
outputs = estimator.process_one_image(cv2.cvtColor(img_bgr, cv2.COLOR_BGR2RGB))

# Visualize and save results
rend_img = visualize_sample_together(img_bgr, outputs, estimator.faces)
cv2.imwrite("output.jpg", rend_img.astype(np.uint8))

For a complete demo with visualization, seedemo_human.ipynb.

https://huggingface.co/facebook/sam-3d-body-dinov3#output-formatOutput Format

Each detected person returns a dictionary containing:

  • pred\_vertices: 3D mesh vertices in camera coordinates
  • pred\_keypoints\_3d: 3D pose keypoints
  • pred\_keypoints\_2d: 2D pose keypoints projected to image
  • pred\_cam\_t: Camera translation parameters
  • focal\_length: Estimated focal length
  • body\_pose\_params: Body pose parameters
  • hand\_pose\_params: Hand pose parameters
  • shape\_params: Body shape parameters

https://huggingface.co/facebook/sam-3d-body-dinov3#citationCitation

If you use SAM 3D Body or the SAM 3D Body dataset in your research, please use the following BibTeX entry.

@article{yang2025sam3dbody,
  title={SAM 3D Body: Robust Full-Body Human Mesh Recovery},
  author={Yang, Xitong and Kukreja, Devansh and Pinkus, Don and Sagar, Anushka and Fan, Taosha and Park, Jinhyung and Shin, Soyong and Cao, Jinkun and Liu, Jiawei and Ugrinovic, Nicolas and Feiszli, Matt and Malik, Jitendra and Dollar, Piotr and Kitani, Kris},
  journal={arXiv preprint; identifier to be added},
  year={2025}
}

https://huggingface.co/facebook/sam-3d-body-dinov3#licenseLicense

The SAM 3D Body model is licensed underSAM License.

https://huggingface.co/facebook/sam-3d-body-dinov3#linksLinks

Similar Articles

SAM 3D Body: Robust Full-Body Human Mesh Recovery

Papers with Code Trending

SAM 3D Body is a promptable 3D human mesh recovery model using a novel parametric representation (MHR) and encoder-decoder architecture, achieving state-of-the-art performance with strong generalization. The model supports auxiliary prompts and is open-source.

facebook/sam3

Hugging Face Models Trending

Meta 发布 SAM 3,一个统一的图像与视频可提示分割基础模型,支持文本或视觉提示进行检测、分割与跟踪,并首次可穷举分割开放词汇概念的所有实例,在新的 SA-CO 基准上达到人类表现的 75-80%。