File size: 3,683 Bytes
827d2e2
8de9a9c
827d2e2
 
 
 
 
 
 
 
 
8de9a9c
827d2e2
8de9a9c
 
827d2e2
 
8de9a9c
 
 
 
371a509
eb8de39
8de9a9c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
eb8de39
827d2e2
 
8de9a9c
 
 
 
 
 
 
 
 
371a509
827d2e2
 
 
8de9a9c
 
 
 
 
 
 
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
license: apache-2.0
library_name: onnx
pipeline_tag: keypoint-detection
tags:
  - pose-estimation
  - 3d-human-pose
  - onnx
  - webgpu
---

# open-body-tracker

Single-RGB-camera full-body pose: 23 keypoints (COCO 17 body + 6 foot points) in 2D and root-relative metric 3D,
from a 256×192 person crop. Code, demos and documentation: **https://github.com/yuru-lab/open-body-tracker**
· browser demo: https://yuru-lab.github.io/open-body-tracker/

![2D skeleton on the video and the 3D prediction next to the reference](https://huggingface.co/Yurup/open-body-tracker/resolve/main/sample-aspset.gif)

Every release names its models after its tag. **obt-body-v0.3.0** is the default (same weights as v0.2.0), and
**obt-body-v0.3.0-int8** is the same model quantized for CPUs. Version history and all benchmarks:
[docs/MODELS.md](https://github.com/yuru-lab/open-body-tracker/blob/main/docs/MODELS.md).

| | **obt-body-v0.3.0** | obt-body-v0.3.0-int8 | obt-body-v0.1.0 |
|---|---:|---:|---:|
| COCO val2017 keypoint AP (2D, GT boxes, clean) | 71.6 | 71.7 | 71.7 |
| ASPset-510 held-out subjects, PA-MPJPE ¹ | 53.7 mm | 53.9 mm | 67.9 mm |
| Harmony4D test (other scenes), PA-MPJPE | 71.3 mm | 71.8 mm | 76.0 mm |
| CPU, one person (ONNX Runtime, 4 threads, Core i5-12600) | 103 ms | 46 ms | 102 ms |

¹ v0.2.0 / v0.3.0 also learned from 7 other subjects filmed in the same ASPset studio, so the gain there is larger
than in other scenes; Harmony4D is the better guide.

Next to other models on the same frames ([how they were run](https://github.com/yuru-lab/open-body-tracker/blob/main/docs/MODELS.md#other-models-on-the-same-benchmarks)):

![obt-body against MediaPipe, RTMW and SAM 3D Body](https://huggingface.co/Yurup/open-body-tracker/resolve/main/reference-comparison.png)

## Files

| File | Format |
|---|---|
| `obt-body-v0.3.0.onnx` | ONNX fp32 (382 MB). Input `crop` float32 (N,3,256,192) RGB 0–255. Outputs `xy` (N,23,2) crop px, `score` (N,23), `xyz` (N,23,3) metres, and the raw `logits_x/y/X/Y/Z` used by the optional flip test |
| `obt-body-v0.3.0-fp16.onnx` | the same with fp16 weights (191 MB; used by the WebGPU demo) |
| `obt-body-v0.3.0-int8.onnx` | INT8 for CPUs (142 MB), same inputs and outputs |
| `obt-body-v0.3.0.safetensors` | PyTorch weights (EMA); load with `open_body_tracker.weights.load_model` |
| `obt-body-v0.2.0*`, `obt-body-v0.1.0*` | earlier releases under the same naming (v0.2.0 = v0.3.0 weights) |
| `obt-body-v2*`, `obt-body-v1*`, `obt-h3c*` | the same files under their earlier names, kept for old code (`obt-h3c` = v0.1.0 without the logit outputs) |
| `yolox_nano.onnx`, `yolox_tiny.onnx` | unmodified mirrors of the official Megvii YOLOX 0.1.1rc0 ONNX detectors (Apache-2.0, `YOLOX-LICENSE.txt`), mirrored for browser CORS |

Checksums: `SHA256SUMS`. Training data, limitations and details:
[MODEL_CARD.md](https://github.com/yuru-lab/open-body-tracker/blob/main/MODEL_CARD.md).

## License

All model weights here, every version, are licensed under **Apache-2.0** (`LICENSE`); see `NOTICE` for third-party
credits. Part of the training labels were predicted by [SAM 3D Body](https://github.com/facebookresearch/sam-3d-body)
(Meta), with thanks to Meta; the weights contain no SAM 3D Body code or weights. Until 2026-11-21 the weights were
distributed under the SAM License; copies obtained then may still be used under it. `SAM-LICENSE.txt` is kept for
reference and governs SAM 3D Body itself. Our reasoning and what is not settled:
[docs/LICENSING.md](https://github.com/yuru-lab/open-body-tracker/blob/main/docs/LICENSING.md).
Training images (COCO 2014 and Open Images V7, CC BY 2.0 only; ASPset-510, CC0) are not included.