Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

facebook
/
sam-3d-body-vith

SAM 3D Body
English
sam-3d
3d-human-mesh-recovery
human-pose-estimation
meta
Model card Files Files and versions
xet
Community
7

Instructions to use facebook/sam-3d-body-vith with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • SAM 3D Body

    How to use facebook/sam-3d-body-vith with SAM 3D Body:

    import cv2
    import numpy as np
    from notebook.utils import setup_sam_3d_body
    from tools.vis_utils import visualize_sample_together
    
    estimator = setup_sam_3d_body("facebook/sam-3d-body-vith")
    
    img_bgr = cv2.imread("path/to/image.jpg")
    outputs = estimator.process_one_image(cv2.cvtColor(img_bgr, cv2.COLOR_BGR2RGB))
    
    rend_img = visualize_sample_together(img_bgr, outputs, estimator.faces)
    cv2.imwrite("output.jpg", rend_img.astype(np.uint8))
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Request to reconsider SAM 3D Body ViT-H model access

#7 opened 6 days ago by
huangxiaowen

Request for access review – rehabilitation RGB-D pose estimation research

#6 opened 27 days ago by
james0214

Rejected?

#5 opened 3 months ago by
ZhouFengCN

Can this be run in real time?

#4 opened 9 months ago by
aspangler

Request: DOI

#3 opened 10 months ago by
torouni

Request: DOI

#1 opened 11 months ago by
dragonGreen
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs