Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6959668

Browse files
committed
docs: update ADR-035 with dark mode, render modes, pose_source fix
Co-Authored-By: claude-flow <[email protected]>
1 parent 6a408b3 commit 6959668

1 file changed

Lines changed: 25 additions & 2 deletions

File tree

docs/adr/ADR-035-live-sensing-ui-accuracy.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,37 @@ Issue #86 reported that the live demo shows a static/barely-animated stick figur
6060
- Goertzel filter bank adds ~O(9×N) computation per frame (negligible at 100 frames).
6161
- Users with only 1 ESP32 may still be disappointed that arm tracking doesn't work — but the UI now explains why.
6262

63+
### 5. Dark mode consistency
64+
- Live Demo tab converted from light theme to dark mode matching the rest of the UI.
65+
- All sidebar panels, badges, buttons, dropdowns use dark backgrounds with muted text.
66+
67+
### 6. Render mode implementations
68+
All four render modes in the pose visualization dropdown now produce distinct visual output:
69+
70+
| Mode | Rendering |
71+
|------|-----------|
72+
| **Skeleton** | Green lines connecting joints + red keypoint dots |
73+
| **Keypoints** | Large colored dots with glow and labels, no connecting lines |
74+
| **Heatmap** | Gaussian radial blobs per keypoint (hue per person), faint skeleton overlay at 25% opacity |
75+
| **Dense** | Body region segmentation with colored filled polygons — head (red), torso (blue), left arm (green), right arm (orange), left leg (purple), right leg (yellow) |
76+
77+
Previously heatmap and dense were stubs that fell back to skeleton mode.
78+
79+
### 7. pose_source passthrough fix
80+
The `pose_source` field from the WebSocket message was being dropped in `convertZoneDataToRestFormat()` in `pose.service.js`. Now passed through so the Estimation Mode badge displays correctly.
81+
6382
## Files Changed
6483
- `docker/Dockerfile.rust``CSI_SOURCE=auto` env, shell entrypoint for variable expansion
6584
- `docker/docker-compose.yml``CSI_SOURCE=${CSI_SOURCE:-auto}`, shell command string
6685
- `wifi-densepose-sensing-server/src/main.rs` — frame history buffer, Goertzel breathing estimation, temporal motion score, signal-driven pose derivation, pose_source field, 100ms tick default
6786
- `ui/services/sensing.service.js``dataSource` state, delayed simulation fallback, `_simulated` marker
87+
- `ui/services/pose.service.js``pose_source` passthrough in data conversion
6888
- `ui/components/SensingTab.js` — data source banner, "About This Data" card
69-
- `ui/components/LiveDemoTab.js` — estimation mode badge, setup guide panel
70-
- `ui/style.css` — banner, badge, and guide panel styles
89+
- `ui/components/LiveDemoTab.js` — estimation mode badge, setup guide panel, dark mode theme
90+
- `ui/utils/pose-renderer.js` — heatmap (Gaussian blobs) and dense (body region segmentation) render modes
91+
- `ui/style.css` — banner, badge, guide panel, and about-text styles
92+
- `README.md` — live pose detection screenshot
93+
- `assets/screen.png` — screenshot asset
7194

7295
## References
7396
- Issue: https://github.com/ruvnet/wifi-densepose/issues/86

0 commit comments

Comments
 (0)