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.
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.
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.
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.