Commit Graph
58 Commits
Author SHA1 Message Date
kinect-bot f46021f61a diag(windows-nui): introspect game's live skeleton-validation state (reference dir, gravity, selected IDs) from the shim's in-process read of gamekdm.dll 2026-11-26 01:59:48 -05:00
kinect-bot 4698fa153b tracker-native: add straight-standing test image that clears the game's limb-verticality gate 2026-11-26 01:43:53 -05:00
kinect-bot f05525607a fix(windows-nui): report all skeleton joints TRACKED so game's joint-ratio>0.85 gate builds a valid orientation transform (was degenerate -> every skeleton rejected) 2026-11-26 01:34:19 -05:00
kinect-bot 8a86cac605 tracker-native: test-image mode - pick a picture instead of the camera (WIC decode, same pose/publish/preview pipeline) 2026-11-26 01:15:07 -05:00
kinect-bot 275b7e27c4 tracker-native: Linux skeleton-render probe + script + full-body test image (validates pose pipeline headless) 2026-11-26 01:02:31 -05:00
kinect-bot 6c886ae328 tracker-native: draw skeleton bones in preview; windows-nui: revert diagnostic fixed-Position probe 2026-11-26 01:00:42 -05:00
kinect-bot d651fc89b0 fix(windows-nui): set vFloorClipPlane+vNormalToGravity so game's floor-relative skeleton selection transform isn't degenerate 2026-11-26 00:30:18 -05:00
kinect-bot 1540a5aec7 tracker-native: mirror camera at source (preview + feed + skeleton consistent) 2026-11-26 00:10:25 -05:00
kinect-bot 1ff8ecf2d1 fix(windows-nui): honor TITLE_SETS protocol - report skeleton POSITION_ONLY until app selects its ID, then TRACKED (fixes game never locking skeleton) 2026-11-25 23:59:10 -05:00
kinect-bot 0dfeedb2a0 tracker-native: restrict capture to 4:3 resolutions; 4:3 preview window (Kinect is native 4:3) 2026-11-25 23:50:07 -05:00
kinect-bot ba5a4df676 ci: remove GitHub Actions workflow (no CI setup) 2026-11-25 23:41:31 -05:00
kinect-bot 9af1740507 diag(windows-nui): log skeleton delivery content + SetTrackedSkeletons requests
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 23:39:45 -05:00
kinect-bot b5c7b74faf tracker-native: double-buffer preview to stop flicker
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 23:24:45 -05:00
kinect-bot 6dc472921a tracker-native: letterbox preview to preserve aspect ratio
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 22:59:19 -05:00
kinect-bot b3bdd5f7dc fix(tracker-native): camera-open fallback to RGB32 default size
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
If a webcam can't deliver RGB32 at the exact chosen native resolution,
SetCurrentMediaType failed and the camera wouldn't open at all. Now it retries
RGB32 without forcing the frame size (MF picks a supported size + converts) and
adopts whatever is negotiated (read back from GetCurrentMediaType), so the app
degrades gracefully instead of hard-failing.
2026-11-25 19:46:51 -05:00
kinect-bot b30deb7cc5 fix(tracker-native): stride-aware RGB32 capture (handle bottom-up + padding)
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
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-bot 5239ae5b81 feat(tracker-native): multi-scale acquisition substitutes for the float16 detector
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
The pose_detector.tflite is float16-quantized, which tf2onnx 1.16.1/1.17/git-main
all fail to convert (misreads float16 constants -> 'reshape 96 into (16,1,1,24)').
Rather than block on that upstream tool bug for an acquisition-only model,
PoseEstimator::acquire() runs the landmark model over a few candidate ROIs
(scales x vertical positions) and keeps the best presence. Headless on
grace_hopper it reaches 0.730 presence - matching the detector's 0.731 - so
acquisition quality is recovered. Worker now acquire()s until locked, then
single-run tracks via the aux-landmark ROI.
2026-11-25 19:11:57 -05:00
kinect-bot f2783ce903 feat(tracker-native): MTA COM-init on worker thread + MSVC CMakeLists
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
Worker thread creates and drives the Media Foundation source reader, so it must
be COM-initialized (CoInitializeEx MTA) - without it ReadSample can fail; fixes
a likely first-run camera failure. Adds CMakeLists.txt for an MSVC/Visual Studio
build (objective wants MSVC-compatible), auto-copying onnxruntime.dll + the model
next to the exe.
2026-11-25 19:05:30 -05:00
kinect-bot b2513c5722 feat(tracker-native): kinect_tracker.log diagnostics for playtest
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
Adds a ShimLog-style trace log next to the exe (startup, camera enumeration,
negotiated capture format + MF_MT_DEFAULT_STRIDE, per-N-frame presence/tracked,
shm CreateFileMapping result, errors) so the first real-hardware run is
diagnosable instead of blind - mirrors how kinect_shim.log drove the shim fixes.
Logs the camera stride so a top-down/bottom-up RGB32 image-flip is immediately
visible.
2026-11-25 19:04:20 -05:00
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