Instructions to use YuanBaoSMadLab/velomocap-sam3d-torchscript with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- SAM 3D Body
How to use YuanBaoSMadLab/velomocap-sam3d-torchscript 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("YuanBaoSMadLab/velomocap-sam3d-torchscript") 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
Commit History
6 days ago
-
Upload folder using huggingface_hub
Verified signature7003b5e -
initial commit
Verified signature5fd3776