Scaffold the zero-Python native tracker. Convert the real MediaPipe BlazePose landmark weights (from pose_landmarker_full.task) to ONNX and prove the ONNX Runtime C++ API runs them bit-identically to Python (ort_smoke vs ort_smoke_ref.py; landmarks match to 6dp, mask <=1.2% prob vs TFLite). Reproducible setup scripts (setup_models.sh, fetch_ort.sh) and a Linux build. No binaries committed (ORT + onnx/tflite are fetched/generated).
1.2 KiB
1.2 KiB
kinect-tracker (native, zero-Python)
Native replacement for the Python/MediaPipe tracker/. See
docs/native-tracker.md for the architecture. One kinect-tracker.exe:
camera + resolution picker, live preview, native pose + segmentation, and the
shared-memory publish the Kinect10.dll shim reads.
No binaries are committed. Generate them locally:
scripts/setup_models.sh # extract MediaPipe .task -> tflite, convert -> onnx
scripts/fetch_ort.sh # download prebuilt ONNX Runtime (linux + win x64)
./build.sh # headless Linux build (currently the ORT smoke test)
Status
- Inference foundation proven: the real MediaPipe BlazePose landmark weights
(
pose_landmarks_detector, 33 landmarks + world + 256x256 mask) convert to ONNX faithfully (mask <=1.2% in probability space vs TFLite) and run bit-identically under the ONNX Runtime C++ API (build/ort_smokevsscripts/ort_smoke_ref.py). - Next: BlazePose pre/post (ROI, letterbox, landmark/mask un-transform) validated against the MediaPipe reference; the detector model for ROI acquisition (tf2onnx can't convert it yet); native shm writer; Media Foundation capture; the Dear ImGui GUI; MinGW/MSVC Windows build.