open-body-tracker
Track 23 full-body keypoints and, with the hand model, 21 points per hand (beta), in 2D and metric 3D from one RGB camera.
Browser demo Β· Code and quick start Β· Benchmarks and older models
obt-body-v0.5.0-small (body only; the hands are a beta) on a held-out ASPset-510 clip (CC0). Grey is the multi-view reference. PA-MPJPE is 60 mm with ASPset person boxes and no smoothing. Watch the MP4
| Model | Hands | Harmony4D 06/16 PA-MPJPE | COCO val2017 clean AP | CPU INT8 |
|---|---|---|---|---|
| obt-body-v0.5.0-small (default, ViT-S/14) + obt-hand-v0.5.0-small | 21 points per hand (beta) | 48.8 mm | 69.1 | 52 ms + 17 ms (both hands) |
| obt-body-v0.4.0 (ViT-B/14) | β | 45.2 mm | 72.8 | 120 ms |
| obt-body-v0.4.0-small (ViT-S/14) | β | 49.4 mm | 69.9 | 48 ms |
Harmony4D 06/16 was held out until the v0.4.0 models were fixed, then scored once per release. The hands have no published accuracy numbers: we have not found a public hand benchmark whose licence lets us publish results. CPU times are for one person on a Core i5-12600 with four ONNX Runtime threads.
Weights and inference
Every model comes in ONNX FP32 (.onnx), FP16 (-fp16.onnx) and CPU INT8 (-int8.onnx); the person models also in PyTorch (.safetensors; the v0.5.0 file includes the hand pass). File checksums
ONNX input crop is a float32 RGB batch of shape (N, 3, 256, 192) with values 0β255. Outputs include xy in crop pixels, score for each joint, and xyz in metres relative to the hip midpoint. Raw v0.4.0 and later xyz uses the crop's ray frame. PosePipeline(..., focal=focal_px) converts it to camera axes.
v0.5.0-small also outputs hand_xy and hand_score: rough hand points for placing the hand crops. The hand model takes a 140Γ140 RIGHT-hand crop (mirror a left hand first), float32 RGB 0β255, and outputs xy in hand-crop pixels, score and xyz in metres relative to the wrist in the hand crop's ray frame. PosePipeline(..., hand_model=...) does all of this (hands.py).
Weights are released under Apache-2.0. See the model card for training data (from v0.5.0 the hand labels also come from SAM 3D Body, checked with MediaPipe Hand Landmarker) and limitations, NOTICE for third-party credits, and the licensing notes for license history.