SAM3DBody-cpp

Standalone C++ inference for SAM-3D-Body, with BVH motion capture

Video 1 of 2: SAM3DBody-cpp : Markerless MOCAP from Monocular video → BVH for Blender/Unity, C++ ONNX/GGML runtime

Takes a BGR image and produces per-person body pose, camera translation, 3D mesh and 70 keypoints through ONNX Runtime and ggml, with no Python at runtime. --bvh writes a motion-capture file per person, kept stable by an IoU tracker, and --arf writes MPEG avatars.

  • ~0.71 sFrame, default
  • ~0.89 sFrame, --refined-pose

Trade-offs

  • --refined-pose adds hand-crop decodes, a second pass and IK for about 0.18 s a frame. Hands improve, so it suits recorded video over fluid live use.
  • BVH joint offsets are auto-resized to the actor's measured bone lengths. Output drops straight into Blender, carrying the skeleton only, with --arf for mesh and skinning.

Q&A2

A built-in 2D bounding-box IoU tracker keeps identities stable, with one file per detected person.

Reviews

Loading reviews

    More in C++

    See all 44 →
    • OmarollPhoto and video viewer and library for Omarchy that follows the desktop theme
    • BigMoeOnEdgeEngine that streams MoE experts from flash to run models larger than memory
    • PXALLM server tuned for Tesla P100, V100 and GTX 10-series GPUs
    • gnss_gpuGPU GNSS positioning for urban canyons with particle filters and ray-traced NLOS
    • impLLM inference server built only for NVIDIA Blackwell GPUs
    • OmafilesKeyboard-first multi-panel file manager for Omarchy on Qt6

    More in Computer vision

    See all 16 →
    • PyVideoProcMulti-stream, multi-GPU video analytics in Python on CUDA and TensorRT
    • CorridorKey-RuntimeNative AI keying runtime and OFX plugin for Resolve and Nuke
    • px4-ros2-drone-navROS 2 stack that flies a PX4 drone through dark spaces with no GNSS or map
    • ML ForgeVisual node editor for building and training PyTorch image classifiers
    • LucidaBackground removal model fine-tuned for glass, camouflage, text and print
    • Texo20M-parameter LaTeX formula OCR model that runs in the browser