Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags: [onnx, mediapipe, pose-detection, blazepose, qtmesheditor]
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# BlazePose person detector (ONNX)
|
| 7 |
+
|
| 8 |
+
Google MediaPipe's BlazePose detector, from the Pose Landmarker `.task`
|
| 9 |
+
bundle, converted to ONNX.
|
| 10 |
+
|
| 11 |
+
- **Input** `[1,224,224,3]` RGB in `[-1,1]`, letterboxed.
|
| 12 |
+
- **Outputs** `[1,2254,12]` + `[1,2254,1]`. Anchors: strides
|
| 13 |
+
`[8,16,32,32,32]` → 2254. The ROI is centred on the mid-hip keypoint,
|
| 14 |
+
sized from the hip→scale keypoint distance, target angle 90°, 1.25× square.
|
| 15 |
+
|
| 16 |
+
The detector ships fp16 **block-sparse** weights behind DENSIFY ops that
|
| 17 |
+
tf2onnx can't parse; the export densifies them via the TFLite interpreter
|
| 18 |
+
first (see the export script).
|
| 19 |
+
|
| 20 |
+
## License
|
| 21 |
+
|
| 22 |
+
Apache-2.0 — this graph is a direct ONNX conversion of a Google
|
| 23 |
+
[MediaPipe](https://developers.google.com/mediapipe) model (Apache-2.0 code
|
| 24 |
+
AND weights). Conversion + numerical-parity proof (vs the Python `mediapipe`
|
| 25 |
+
reference): [`scripts/export-facecap-onnx.py`](https://github.com/fernandotonon/QtMeshEditor/blob/master/scripts/export-facecap-onnx.py),
|
| 26 |
+
contract in [`docs/MOCAP_SPIKE.md`](https://github.com/fernandotonon/QtMeshEditor/blob/master/docs/MOCAP_SPIKE.md).
|
| 27 |
+
|
| 28 |
+
## How it is used
|
| 29 |
+
|
| 30 |
+
Mirror of one graph from [`fernandotonon/QtMeshEditor-models`](https://huggingface.co/fernandotonon/QtMeshEditor-models)
|
| 31 |
+
(`mocap/…`), which [QtMeshEditor](https://github.com/fernandotonon/QtMeshEditor)
|
| 32 |
+
downloads on first use for its **Performance Capture** feature (video/webcam →
|
| 33 |
+
facial morph + head + full-body skeletal animation, epic #869). This standalone
|
| 34 |
+
repo is for discoverability; the app fetches from the aggregate repo.
|