facebook/sam-3d-body-dinov3
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.
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 coordinatespred\_keypoints\_3d: 3D pose keypointspred\_keypoints\_2d: 2D pose keypoints projected to imagepred\_cam\_t: Camera translation parametersfocal\_length: Estimated focal lengthbody\_pose\_params: Body pose parametershand\_pose\_params: Hand pose parametersshape\_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
- Paper:https://ai.meta.com/research/publications/sam-3d-body-robust-full-body-human-mesh-recovery/
- Code:https://github.com/facebookresearch/sam-3d-body
- Demo:https://www.aidemos.meta.com/segment-anything/editor/convert-body-to-3d
- Website:https://ai.meta.com/sam3d/
- Dataset:https://huggingface.co/datasets/facebook/sam-3d-body-dataset
Similar Articles
SAM 3D Body: Robust Full-Body Human Mesh Recovery
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.
SAM 3D Animal: Promptable Animal 3D Reconstruction from Images in the Wild
SAM 3D Animal introduces a promptable framework for multi-animal 3D reconstruction from single images in the wild, built on the SMAL+ model, achieving state-of-the-art results on multiple datasets.
facebook/sam3
Meta 发布 SAM 3,一个统一的图像与视频可提示分割基础模型,支持文本或视觉提示进行检测、分割与跟踪,并首次可穷举分割开放词汇概念的所有实例,在新的 SA-CO 基准上达到人类表现的 75-80%。
@simplifyinAI: A handful of well-known 3D human research projects, HumanNeRF, Neural Body, KeypointNeRF, all lean on the same open-sou…
EasyMocap is an open-source toolbox built by Zhejiang University that enables 3D human pose estimation from regular RGB videos, used by research projects like HumanNeRF, but with licensing considerations due to SMPL body models.
Segment Anything Model (SAM) 3.1 (2 minute read)
SAM 3.1 can detect, segment, and track objects in images and video using text prompts on the Meta Model API, with specified inference costs.