89 Commits
Author SHA1 Message Date
kinect-bot 31178f1675 feat(tracker-native): native Windows app - MF camera + Win32 GUI + shm publish
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
win_camera: Media Foundation device + native-resolution enumeration and RGB32
capture. win_main: plain Win32 GUI (device/resolution dropdowns, Start/Stop,
StretchDIBits live preview with mask+landmark overlay) + CreateFileMappingW on
kinect_virtual_frames + a worker thread wiring capture -> PoseEstimator
(bootstrap+track) -> FramePipeline -> publish. build_win.sh cross-compiles a
static kinect-tracker.exe with MinGW-w64 x64 (ORT header needs
-D_stdcall=__stdcall; x64 ignores the calling convention so the win ORT DLL ABI
matches). PoseEstimator path made ORTCHAR_T/wchar-portable; M_PI -> local const.
Builds clean; exe is PE32+ GUI x86-64.
2026-11-25 19:00:38 -05:00
kinect-bot 41534b07d1 feat(tracker-native): full pose->mapping->synth->shm pipeline (headless-validated)
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
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
kinect-bot 2715a706a0 feat(tracker-native): C++ PoseEstimator (ORT landmark + hand-written affine warp)
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
Ports blazepose_ref.py to a reusable C++ PoseEstimator: hand-written bilinear
affine ROI warp (no OpenCV dep), ORT landmark inference, landmark/mask decode +
inverse-affine to image space, and next-frame ROI from the aux landmarks for
tracking. Validated headless vs the numpy reference (pose_probe vs dump_ref):
presence matches to 1e-6, visible torso landmarks within ~1-2px, mask logit
within 0.03; only low-confidence off-frame hand/aux landmarks differ.
2026-11-25 18:47:56 -05:00
kinect-bot ddf4847a0c feat(tracker-native): native shm writer + headless round-trip test
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
ShmPublisher mirrors the Python FrameContractPublisher seqlock (write slot
ahead, odd->even sequence, bump published_sequence) over a base pointer, reusing
core/contract structs directly (Windows MapViewOfFile on the app; a heap buffer
in the test). Round-trip test proves the layout+seqlock the shim reader accepts:
frame number, timestamp, skeleton, descriptors, depth+color pixels all verify.
2026-11-25 18:41:58 -05:00
kinect-bot 8f3ac6659d feat(tracker-native): reference BlazePose pipeline (detector+ROI+landmark+mask)
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
Full pose_detection_cpu + pose_landmark_by_roi reproduced in numpy on the real
TFLite weights (MediaPipe Tasks can't load here - needs libGLESv2). Validated
geometrically on grace_hopper: detection prob 0.74, face/shoulder landmarks land
correctly on the person even with hips off-frame. This is the 1:1 spec for the
C++ port.
2026-11-25 18:37:55 -05:00
kinect-bot 5879422ab9 feat(tracker-native): ONNX Runtime C++ inference foundation + setup
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
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).
2026-11-25 18:29:48 -05:00
kinect-bot 290283d8c0 docs(tracker-native): architecture for the zero-Python native tracker
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
Single native kinect-tracker.exe: Media Foundation camera enum/capture,
Dear ImGui (Win32+D3D11) device/resolution picker + live preview, pose +
segmentation via ONNX Runtime using the real MediaPipe BlazePose weights
converted from the .task TFLite bundle, native shm writer reusing the
existing C++ core (contract/mapping/synth). No Python, no committed binaries.
2026-11-25 18:23:06 -05:00
kinect-bot 00f64ab129 fix(windows-nui): fill NUI_IMAGE_FRAME by value in ImageStreamGetNextFrame
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
DEA's HidNatalNuiThread uses a by-value frame ABI, not the standard
runtime-returns-a-pointer one. Verified from gamekdm.dll disasm:
updateStream (FUN_1000f400) passes the address of a 40-byte frame buffer
(this+0xad8, sizeof NUI_IMAGE_FRAME) as ppcImageFrame and stores that same
address as its outstanding marker; updateFrame (FUN_1000f0a0) copies 0x28
bytes straight from that buffer (single deref) into the display slot, and
the renderer reads pFrameTexture/dwFrameNumber from it. The shim was only
writing a 4-byte pointer, leaving dwFrameNumber=0/pFrameTexture=NULL, so the
game never locked a texture -> Ready + player detected but no picture. Copy
the frame struct into the caller's buffer instead.
2026-11-25 18:03:35 -05:00
kinect-bot e93105b31c diag(windows-nui): also log copied-frame dwFrameNumber/pFrameTexture + game dedupe field to confirm FUN_100125d0 skips LockRect via frame-number dedupe
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
2026-11-25 17:44:50 -05:00
kinect-bot 2857c2df3b diag(windows-nui): introspect game hid::Natal display manager (gamekdm.dll+0x3cf1b4) - display mask, per-stream enable bytes, buffered frame ptrs, NuiThread status
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
2026-11-25 17:38:29 -05:00
kinect-bot ba0061a562 fix(windows-nui): reset stream/skeleton events on consume so game WaitForMultipleObjects advances past depth (fixes color+skeleton starvation and frame-end liveness)
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
2026-11-25 16:59:35 -05:00
kinect-bot 372dc29185 fix(windows-nui): precise 30fps producer cadence (timeBeginPeriod(1)+deadline pacing) so sensor watchdog stays responsive
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
2026-11-25 16:47:13 -05:00
kinect-bot 4209340387 diag(windows-nui): log all INuiFrameTexture methods to detect vtable-order mismatch
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
2026-11-25 16:37:03 -05:00
kinect-bot 7ab73ef1c0 diag(windows-nui): log COM QueryInterface IIDs + sensor status/id queries + device-status callback to find noCamera trigger
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
2026-11-25 16:21:22 -05:00
kinect-bot df737fbe80 diag(windows-nui): log NuiImageFrameGetDepthImagePixelFrameTexture + LockRect to find pixel-access path
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
2026-11-25 16:11:04 -05:00
kinect-bot 7314effff6 diag(windows-nui): log every GetNextFrame/SkeletonGetNextFrame entry + wait result + stream event handles
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
2026-11-25 16:05:56 -05:00
kinect-bot 4a2c0b653b fix(windows-nui): signal NuiSetFrameEndEvent every tick (fixes sensor going not-responding; color/skeleton stalled after one frame)
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
2026-11-25 16:00:45 -05:00
kinect-bot 200a947a1a fix(windows-nui): keep producing into ring while a frame is outstanding (removes deadlock that froze delivery after 1 depth frame)
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
2026-11-25 15:50:05 -05:00
kinect-bot 30a2daef30 fix(windows-nui): gate ImageStreamGetNextFrame on new frame number (E_NUI_FRAME_NO_DATA when drained) - fixes game spinning forever in depth-drain loop
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
2026-11-25 15:47:33 -05:00
kinect-bot f98cba70aa feat(windows-nui): log consume-side (ImageStream/Skeleton GetNextFrame), shutdown, producer-exit
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
2026-11-25 15:41:36 -05:00
kinect-bot dbc75f12e1 feat(windows-nui): log next to the DLL + DllMain load marker (robust log location)
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
2026-11-25 15:37:19 -05:00
kinect-bot e88e0e5c58 feat(windows-nui): file logging + Global namespace shm fallback for cross-session diagnosis
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
2026-11-25 15:30:25 -05:00
kinect-bot ec169053c3 fix(windows-nui): pin export ordinals to real Kinect10.dll (fixes ordinal 22 import), add 5 missing exports, MSVC-buildable
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
2026-11-25 15:20:55 -05:00
kinect-bot dafd249165 fix(tracker): copy MediaPipe segmentation mask (fixes Windows use-after-free crash)
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
2026-11-25 15:07:47 -05:00
kinect-bot b4397e6151 fix(qa): conftest root-venv ignore + calibration doc honesty + deterministic player-lost test (final-wave 22/23/24; F1-F4 pass, F5 [~])
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
2026-11-25 06:25:25 -05:00
kinect-bot 39876fa97b docs(setup): README + linux/windows setup + calibration/troubleshooting + packaging (wave 11; todo 18 done)
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
2026-11-25 06:10:54 -05:00
kinect-bot 9b5a0255e2 feat(windows): usbip-win runbook ([~]) + clean-room Kinect10.dll NUI shim (x86+x64 export-verified) (wave 9; todo 14 done, 12/13 blocked)
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
2026-11-25 06:00:12 -05:00
kinect-bot 3eb8c07e4c feat(robust): graceful degradation - player-lost hold, heartbeat stall-detect, crash handling (wave 8b; todo 17 done)
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
2026-11-25 05:56:51 -05:00
kinect-bot 30f550e489 ci(test): import-guarded conftest + split root/tracker pytest jobs (follow-up 19 done)
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
2026-11-25 05:48:20 -05:00
kinect-bot 0af22f1783 feat(calibration,contract,tracker): T-pose calibration + seqlock fix + articulated-depth wiring (wave 8a; todos 11,20,21 done)
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python tracker (pytest) (push) Canceled after 0s
2026-11-25 05:47:19 -05:00
kinect-bot b1638944cb feat(e2e-linux): live recorded-video->tracker->synth->OpenNI2 moving-depth proof (wave 7; todo 10 done; +20/21 follow-ups)
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python tracker (pytest) (push) Canceled after 0s
2026-11-25 05:34:06 -05:00
kinect-bot 76f3b6447f feat(attach-linux,fallback-openni2): usbip shim (socket-verified) + OpenNI2 SynthKinect driver (depth verified via real consumer) (wave 6; todo 15 done, 9 partial)
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python tracker (pytest) (push) Canceled after 0s
2026-11-25 05:09:31 -05:00
kinect-bot cb311381a2 feat(protocol): byte-exact Kinect v1 virtual USB device emitter (wave 5; todo 8 done)
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python tracker (pytest) (push) Canceled after 0s
2026-11-25 04:50:42 -05:00
kinect-bot 3fef71b020 feat(synth): articulated depth + player-index + color/IR rasterizer (wave 4; todo 7 done)
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python tracker (pytest) (push) Canceled after 0s
2026-11-25 04:33:33 -05:00
kinect-bot 0df2702c24 chore(plan): wave 3 checkbox state (5,6,16 done; +19 follow-up)
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python tracker (pytest) (push) Canceled after 0s
2026-11-25 04:23:12 -05:00
kinect-bot 4a66699d82 feat(mapping,tracker,tools): NUI mapping+smoothing, MediaPipe tracker, record/replay harness, mock NUI host (wave 3)
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python tracker (pytest) (push) Canceled after 0s
2026-11-25 04:21:18 -05:00
kinect-bot 712d60eaa4 chore(plan): wave 1-2 checkbox state (1,2,3 done; 4 blocked)
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python tracker (pytest) (push) Canceled after 0s
2026-11-25 03:57:44 -05:00
kinect-bot e6d4e510d3 feat(contract,spikes): frozen IPC data contract + Linux/Windows spikes (wave 2)
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python tracker (pytest) (push) Canceled after 0s
2026-11-25 03:54:41 -05:00
kinect-botandsisyphus-dev-ai b38c7bcd82 chore(scaffold): project layout, cross-platform build, CI
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python tracker (pytest) (push) Canceled after 0s
Co-authored-by: sisyphus-dev-ai <sisyphus-dev-ai@users.noreply.github.com>
2026-11-25 03:23:45 -05:00