RuView icon indicating copy to clipboard operation
RuView copied to clipboard

fix(pose): Live-Demo black canvas + ghost skeletons (split from #1381, no depth bundle)

Open PrinceAudre opened this issue 4 months ago • 0 comments

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.js
  • v2/crates/wifi-densepose-sensing-server/src/tracker_bridge.rs
  • v2/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 only confidence > 0.0 keypoints — collapsed to a degenerate fallback and the renderer skipped every joint. Confidence is now threaded through PoseTrack create/update; centroid-filled slots stay 0.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 the 0.1 floor render while unobserved 0.0 joints 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

PrinceAudre avatar Jul 25 '26 12:07 PrinceAudre