chore(plan): wave 3 checkbox state (5,6,16 done; +19 follow-up)
This commit is contained in:
1 parent
4a66699d82
commit
0df2702c24
1 file changed
+10
-3
@@ -155,7 +155,8 @@ Your next move: run the default-on high-accuracy review (in progress), then exec
|
||||
Commit: Y | chore(spike): windows/DEA nui call-pattern + bitness capture
|
||||
Recommended task executor category: deep-high - behavioral RE of a closed binary, gates the Windows design.
|
||||
|
||||
- [ ] 5. Webcam tracker (MediaPipe pose + segmentation -> IPC)
|
||||
- [x] 5. Webcam tracker (MediaPipe pose + segmentation -> IPC)
|
||||
NOTE (exec): MediaPipe 1.2.3 installed user-space via uv Python 3.12 + user-space libGLESv2.so.2 (no sudo); live pose verified on a recorded clip (real 33 landmarks + mask, negative-control confirmed); 9/9 data-path tests. [~] sub-gaps (env limits, not code defects): no live webcam (headless WSL2 - recorded video used), CPU-only (no GPU tier), fps re-measure at 640x480 pending.
|
||||
What to do / Must NOT do: Python tracker: OpenCV webcam capture -> MediaPipe Pose (Full/Heavy, GPU if available else CPU) producing 33 normalized landmarks + 33 world-landmarks (meters) + per-landmark visibility + the segmentation mask, published to the shared-memory contract (todo 2) at the newest-wins slot each frame, plus control-plane handshake/heartbeat. MEASURE actual fps for each model tier (Lite/Full/Heavy) on this box (CPU, and GPU if present) and SELECT the tier from measured evidence to hit >= ~25 fps (30 target); if no tier reaches it on CPU, record a GPU requirement rather than asserting throughput. If inference is slower than the cadence, still publish at a steady rate by re-publishing the latest pose (todo 17 refines held-frame behavior). Must NOT: block on inference inside the publish path; add fixed sleeps - pace with a monotonic frame clock; assert fps without a measurement.
|
||||
Closes: GAP-2 (capture half)
|
||||
Parallelization: Wave 3 | Blocked by: 2 | Blocks: 7,10,13,17
|
||||
@@ -165,7 +166,7 @@ Your next move: run the default-on high-accuracy review (in progress), then exec
|
||||
Commit: Y | feat(tracker): mediapipe pose+segmentation to IPC
|
||||
Recommended task executor category: unspecified-high - standard multi-file CV pipeline.
|
||||
|
||||
- [ ] 6. Joint mapping + coordinate intrinsics + Holt smoothing (pure, TDD)
|
||||
- [x] 6. Joint mapping + coordinate intrinsics + Holt smoothing (pure, TDD)
|
||||
What to do / Must NOT do: In `core/mapping/`, implement (clean-room, from the documented formulas) the Kinect depth<->skeleton intrinsics (`NuiTransformDepthImageToSkeleton` inverse + `NuiTransformSkeletonToDepthImage` forward), the MediaPipe-33 -> Kinect-20 joint map incl. synthesized joints (HIP_CENTER/SPINE/SHOULDER_CENTER/HEAD/HAND per `.omo/design/nui-contracts.md` §1.2), a global mirror bit, per-joint depth placement (Z0 + depthGain*worldZ), per-joint tracking-state from visibility, and the Holt double-exponential smoothing with the 5 NUI_TRANSFORM_SMOOTH_PARAMETERS fields. TDD: golden-vector unit tests (projection round-trips <1mm; smoothing step matches reference sequence). Must NOT: double-flip left/right (mirror handled once, globally); emit joints outside documented ranges (x+-2.2, y+-1.6, z 0-4).
|
||||
Closes: GAP-2 (math half)
|
||||
Parallelization: Wave 3 | Blocked by: 2 | Blocks: 7,14
|
||||
@@ -265,7 +266,8 @@ Your next move: run the default-on high-accuracy review (in progress), then exec
|
||||
Commit: Y | feat(fallback-openni2): linux openni2 virtual device
|
||||
Recommended task executor category: deep-low - adapter against a documented API.
|
||||
|
||||
- [ ] 16. Record/replay harness + mock NUI host
|
||||
- [x] 16. Record/replay harness + mock NUI host
|
||||
NOTE (exec): record/replay harness delivered + 8/8 tests (byte-identical replay, fake clock, no sleeps); mock NUI host source written but [~] Windows-build-gated (MSVC + Kinect SDK 1.8), deliberately not in the Linux build.
|
||||
What to do / Must NOT do: In `tools/`, a record/replay harness (capture tracker/synth output to a fixture file, replay deterministically into the emitter/shim) and a Windows mock NUI host (links the SDK headers, drives the full NUI call sequence) for testing the shim (todo 14) without the game. Must NOT: use wall-clock sleeps - replay on a fake clock.
|
||||
Closes: GAP-7 (test infra)
|
||||
Parallelization: Wave 3 | Blocked by: 2 | Blocks: 10,13 (as supporting infra)
|
||||
@@ -295,6 +297,11 @@ Your next move: run the default-on high-accuracy review (in progress), then exec
|
||||
Commit: Y | docs(setup): linux + windows setup, calibration, troubleshooting
|
||||
Recommended task executor category: writing - documentation + packaging.
|
||||
|
||||
- [ ] 19. CI test-path split so the root venv does not collection-error on tracker tests
|
||||
What to do: add pytest testpaths config (pyproject.toml/pytest.ini/conftest) so `pytest` from the repo root does NOT collect tests/test_tracker.py (which needs tracker/.venv's numpy/cv2/mediapipe); root CI covers test_record_replay + the C-contract mirror, tracker/.venv covers tracker tests. Update .github/workflows/ci.yml accordingly.
|
||||
Closes: follow-up from the Wave 3 verifier (CI hygiene; non-blocking).
|
||||
Recommended task executor category: quick
|
||||
|
||||
## Final verification wave
|
||||
> Runs in parallel after ALL todos. ALL must APPROVE. Surface results and wait for the user's explicit okay before declaring complete.
|
||||
- [ ] F1. Plan compliance audit - every todo delivered as specified; scope boundaries (Must NOT) respected; spike findings actually drove the device-vs-fallback decisions.
|
||||
|
||||
Reference in new issue
Block a user