fix(pose): Live-Demo black canvas + ghost skeletons (split from #1381, no depth bundle)
Summary
This lands only the pose-tracking fix from #1381, split out from the rest of that PR.
#1381's pose fix is correct and well-tested, but it also bundles the entire ADR-271 depth-anything backend (identical to #1375) and an unrelated vendor/ruvector submodule bump — so it conflicts with #1375 and mixes an opaque submodule change into a bugfix. This PR carries just the three pose files, none of which are touched by #1375:
ui/utils/pose-renderer.jsv2/crates/wifi-densepose-sensing-server/src/tracker_bridge.rsv2/crates/wifi-densepose-signal/src/ruvsense/pose_tracker.rs
The fix (as diagnosed in #1381)
- Black canvas / skipped joints: per-keypoint confidence was never set on
KeypointState, so the tracker's bbox fit — which keeps onlyconfidence > 0.0keypoints — collapsed to a degenerate fallback and the renderer skipped every joint. Confidence is now threaded throughPoseTrackcreate/update; centroid-filled slots stay0.0. - Stacked "ghost" skeletons: tracker input was compared in pixel units against metre-scaled gates; the tracker boundary now converts px↔m.
- Renderer: threshold comparisons go from strict (
>/<=) to inclusive (>=/<) so observed joints at the0.1floor render while unobserved0.0joints stay hidden.
The confidence-roundtrip / multi-person-separation / single-person-no-churn regression tests #1381 added to these files are included.
Note
The code and diagnosis are from #1381 — this only isolates them so the pose fix can land independently of the depth backend (#1375) and the submodule bump. Verified the three files carry no coupling to the depth-anything backend or the ruvector bump; CI will confirm the build.
🤖 Generated with Claude Code