File size: 2,128 Bytes
827d2e2
8de9a9c
827d2e2
 
 
 
 
 
 
 
 
8de9a9c
827d2e2
6b83ec8
827d2e2
6b83ec8
8de9a9c
6b83ec8
eb8de39
6b83ec8
8de9a9c
6b83ec8
 
 
 
8de9a9c
6b83ec8
eb8de39
6b83ec8
8de9a9c
6b83ec8
827d2e2
6b83ec8
827d2e2
6b83ec8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
license: apache-2.0
library_name: onnx
pipeline_tag: keypoint-detection
tags:
  - pose-estimation
  - 3d-human-pose
  - onnx
  - webgpu
---

# open-body-tracker

Track 23 full-body keypoints in 2D and metric 3D from one RGB camera.

[Browser demo](https://yuru-lab.github.io/open-body-tracker/) · [Code and quick start](https://github.com/yuru-lab/open-body-tracker) · [Benchmarks and older models](https://github.com/yuru-lab/open-body-tracker/blob/main/docs/MODELS.md)

![2D pose overlay and 3D prediction beside the ASPset reference](https://huggingface.co/Yurup/open-body-tracker/resolve/main/sample-aspset.gif)

*obt-body-v0.4.0-small on a held-out [ASPset-510](https://github.com/anibali/aspset-510) clip (CC0). Grey is the multi-view reference. PA-MPJPE is 59 mm with ASPset person boxes and no smoothing.* [Watch the MP4](https://huggingface.co/Yurup/open-body-tracker/resolve/main/sample-aspset.mp4)

| Model | Harmony4D 06/16 PA-MPJPE | COCO val2017 clean AP | CPU INT8 |
|---|---:|---:|---:|
| **obt-body-v0.4.0-small** (default, ViT-S/14) | 49.4 mm | 69.9 | **48 ms** |
| **obt-body-v0.4.0** (ViT-B/14) | **45.2 mm** | **72.8** | 120 ms |

Harmony4D 06/16 was held out until both models were fixed. CPU times are for one person on a Core i5-12600 with four ONNX Runtime threads.

## Weights and inference

Both models come in ONNX FP32 (`.onnx`), FP16 (`-fp16.onnx`), CPU INT8 (`-int8.onnx`), and PyTorch (`.safetensors`). [File checksums](./SHA256SUMS)

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 `xyz` uses the crop's ray frame. `PosePipeline(..., focal=focal_px)` converts it to camera axes.

Weights are released under [Apache-2.0](./LICENSE). See the [model card](https://github.com/yuru-lab/open-body-tracker/blob/main/MODEL_CARD.md) for training data and limitations, [NOTICE](./NOTICE) for third-party credits, and the [licensing notes](https://github.com/yuru-lab/open-body-tracker/blob/main/docs/LICENSING.md) for license history.