How abinand2631/wifi-vision works
Wi-Fi Vision is a camera-free human pose and activity sensing application built around dual ESP32 CSI receivers and a learned pose-regression model. Its documented offline workflow captures labeled CSI and video, synchronizes and preprocesses CSI against pose ground truth, then trains TEDNet; its live workflow buffers two CSI streams, applies a kinetic gate, predicts 3D keypoints, classifies posture, and renders results. The README also documents standalone inference and a port-selection launcher. Source excerpts support core capture, preprocessing, training, and dashboard behavior; launcher dispatch is directly shown, while some standalone and firmware details are documented only in the README.
Main entry points: 1_capture.py CSI Capture · 3_extraction.py CSI Synchronization · 6_test_live_v1.py TEDNet Pose Regression · train.py TEDNet Training
Components 22
Data Collection
- CSI Capture
1_capture.py - CSI and Video Recordings
data
Model Preparation
- CSI Synchronization
3_extraction.py - Pose Ground Truth
data/gt - Training Tensors
data/processed - CSI Dataset
train.py - TEDNet Training
train.py - Model Weights
models
Live Sensing
- Standalone Inference
6_test_live_v1.py - Standalone Inference V2
6_test_live_v2.py - Streamlit Dashboard
dashboard.py - Dual CSI Stream Input
6_test_live_v1.py - Windowing and Calibration
6_test_live_v1.py - TEDNet Pose Regression
6_test_live_v1.py - Posture Classification
6_test_live_v1.py - 3D Pose Rendering
6_test_live_v1.py - Dashboard Inference Engine
dashboard.py
Application Launch
- Port Launcher
launcher.py
Other components
- Operator
- ESP32 Transmitter
- Dual ESP32 Receivers
- Webcam Ground Truth
Connections 26
- Operator → CSI Capture: records sessions
README.md - ESP32 Transmitter → Dual ESP32 Receivers: transmits CSI
README.md - Dual ESP32 Receivers → CSI Capture: streams serial CSI
1_capture.py - Webcam Ground Truth → CSI Capture: provides video
1_capture.py - CSI Capture → CSI and Video Recordings: writes recordings
1_capture.py - Operator → CSI Synchronization: runs extraction
README.md - CSI and Video Recordings → CSI Synchronization: reads CSI CSV
3_extraction.py - Pose Ground Truth → CSI Synchronization: provides pose labels
3_extraction.py - CSI Synchronization → Training Tensors: writes tensors
3_extraction.py - Operator → TEDNet Training: starts training
README.md - TEDNet Training → CSI Dataset: loads samples
train.py - Training Tensors → CSI Dataset: loads arrays
train.py - TEDNet Training → Model Weights: saves best weights
train.py - Operator → Port Launcher: selects ports
launcher.py - Port Launcher → Standalone Inference: launches script
launcher.py - Operator → Streamlit Dashboard: starts dashboard
README.md - Dual ESP32 Receivers → Dual CSI Stream Input: streams CSI
6_test_live_v1.py - Dual CSI Stream Input → Windowing and Calibration: buffers frames
6_test_live_v1.py - Windowing and Calibration → TEDNet Pose Regression: supplies CSI window
6_test_live_v1.py - Model Weights → TEDNet Pose Regression: loads model
- TEDNet Pose Regression → Posture Classification: predicts keypoints
6_test_live_v1.py - Posture Classification → 3D Pose Rendering: provides pose status
6_test_live_v1.py - Dual ESP32 Receivers → Dashboard Inference Engine: streams serial CSI
dashboard.py - Dashboard Inference Engine → TEDNet Pose Regression: runs TEDNet
- Streamlit Dashboard → Dashboard Inference Engine: hosts inference
dashboard.py - Operator → Standalone Inference V2: runs alternate UI
README.md