Files
kinect/tracker-native
kinect-bot b30deb7cc5
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python root tests (pytest, no tracker deps) (push) Canceled after 0s
ci / Python tracker (pytest, tracker/.venv) (push) Canceled after 0s
fix(tracker-native): stride-aware RGB32 capture (handle bottom-up + padding)
Media Foundation commonly delivers RGB32 bottom-up (negative MF_MT_DEFAULT_STRIDE);
a flat top-down memcpy would make the preview and published feed upside-down.
read_frame now copies row by row honoring the signed stride (flip when negative,
handle padded strides), producing a top-down BGRA frame per the MS Image Stride
spec. Orientation is logged at open.
2026-11-25 19:14:07 -05:00
..

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_smoke vs scripts/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.