Files
kinect/tracker-native/build.sh
T
kinect-bot 41534b07d1
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
feat(tracker-native): full pose->mapping->synth->shm pipeline (headless-validated)
FramePipeline ties PoseEstimator to the existing C++ core: 33 landmarks ->
core/mapping SkeletonMapper (20 Kinect joints), the image-space segmentation
mask + skeleton -> core/synth DepthRasterizer (articulated packed depth), color
-> passthrough_color, all published via ShmPublisher. PoseEstimator now also
emits world-landmark z (Identity_4) and an image-space mask (inverse-affine
warp). pipeline_probe on grace_hopper: tracking_id=1, 9/20 joints tracked, 56%
body depth pixels, hip at (0,-1.05,2.5)m - the whole tracker brain verified
without a camera. Remaining: Media Foundation capture + Dear ImGui GUI.
2026-11-25 18:52:07 -05:00

38 lines
1.4 KiB
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ORT="${HERE}/third_party/onnxruntime-linux-x64"
mkdir -p "${HERE}/build"
CORE="${HERE}/../core"
g++ -std=c++17 -O2 -Wall -Wextra \
-I "${ORT}/include" \
"${HERE}/src/ort_smoke.cpp" \
-o "${HERE}/build/ort_smoke" \
-L "${ORT}/lib" -lonnxruntime -Wl,-rpath,"${ORT}/lib"
echo "built ${HERE}/build/ort_smoke"
g++ -std=c++17 -O2 -Wall -Wextra \
-I "${CORE}" -I "${HERE}/src" \
"${HERE}/src/shm_publisher.cpp" "${HERE}/src/shm_roundtrip_test.cpp" \
-o "${HERE}/build/shm_roundtrip_test"
"${HERE}/build/shm_roundtrip_test"
g++ -std=c++17 -O2 -Wall -Wextra \
-I "${ORT}/include" -I "${HERE}/src" \
"${HERE}/src/pose_estimator.cpp" "${HERE}/src/pose_probe.cpp" \
-o "${HERE}/build/pose_probe" \
-L "${ORT}/lib" -lonnxruntime -Wl,-rpath,"${ORT}/lib"
echo "built ${HERE}/build/pose_probe"
g++ -std=c++17 -O2 -Wall -Wextra \
-I "${ORT}/include" -I "${HERE}/src" -I "${CORE}" \
"${HERE}/src/pose_estimator.cpp" "${HERE}/src/shm_publisher.cpp" \
"${HERE}/src/frame_pipeline.cpp" "${HERE}/src/pipeline_probe.cpp" \
"${CORE}/mapping/mapping.cpp" "${CORE}/synth/synth.cpp" \
"${CORE}/synth/mask_stabilizer.cpp" "${CORE}/contract/contract.cpp" \
-o "${HERE}/build/pipeline_probe" \
-L "${ORT}/lib" -lonnxruntime -Wl,-rpath,"${ORT}/lib"
echo "built ${HERE}/build/pipeline_probe"