Cognitum
/
Emotion Detection
0.6.0
EXPERIMENTAL
Dashboard
Live
Events
Signals
Model
Calibration
Settings
Emotion Detection
Infers emotional states — arousal, stress, calm — from combined gait analysis and breathing pattern features. Research build, ESP32-S3.
Refresh
Open Live
Current emotion state
CALM
stable · last update —
Confidence
0.78
Live signal metrics
Arousal level
—
0.0 – 1.0 range
Stress score
—
windowed avg
Calm index
—
parasympathetic
Valence
—
negative ↔ positive
Breathing rate
—
breaths / minute
Input pipeline
CSI motion + breathing fusion
streaming
Hardware
ESP32-S3
Sample rate
50 Hz
Window
8.0 s
Stride
1.0 s
Recent emissions
last 60 seconds
View all
emotion_state
—
arousal_level
—
stress_score
—
valence
—
Recent events
Time
Event
Value
Confidence
Live inference
Real-time arousal, stress and calm gauges. Streaming gait + breathing features at 50 Hz, inference window 8 s.
Pause
Snapshot
Arousal
0.00
level
σ 0.00 · 30s
Stress
0.00
score
σ 0.00 · 30s
Calm
0.00
index
σ 0.00 · 30s
Valence
0.00
−1 ↔ +1
σ 0.00 · 30s
CSI motion · gait
50 Hz · channel 0
rms 0.000
stride 1.12 s
Breathing pattern
50 Hz · band 0.1–0.7 Hz
— bpm
i:e 1 : 1.5
Inference trace
last 30 windows · 1 s stride
arousal
stress
calm
Events
Live emission log — emotion_state, arousal_level, stress_score, valence. Filter by type or export.
Clear
Export JSON
All
emotion_state
arousal_level
stress_score
valence
Time
Event
Value
Confidence
Source
Input signals
CSI motion features for gait analysis and band-passed respiration envelope. Both streams fused into the inference window.
Resync sensors
CSI motion (gait)
Wi-Fi channel state information, 56 subcarriers
locked
Sample rate
50 Hz
Subcarriers
56
Stride period
1.12 s
Cadence
107 spm
Gait variance
0.043
RSSI
−42 dBm
Breathing
Band-passed 0.1–0.7 Hz from CSI doppler envelope
locked
Rate
15.2 bpm
Depth
0.62
I:E ratio
1 : 1.5
HRV proxy
41 ms
SNR
18.4 dB
Window
8.0 s
Live waveforms
Gait envelope
50 Hz · 8.0 s
Breathing envelope
50 Hz · 8.0 s
Extracted features
Feature
Channel
Value
Updated
Model
Inference model metadata, weights, and runtime stats.
Reload weights
Publish to fleet
Experimental research build. Inferences are illustrative and not clinically validated. Do not use for medical decisions.
Identity
cogs/emotion-detect
research
experimental
hard
Version
0.6.0
Size
30 KB
Hardware
ESP32-S3
Difficulty
hard
Source
cogs/src/cogs/emotion-detect
Status
loaded
Emitted events
topics the cog publishes
Event
Type
Rate
emotion_state
enum
1 / window
arousal_level
float
1 Hz
stress_score
float
1 Hz
valence
float
1 Hz
Runtime
Inference latency
—
ms / window
Windows / min
—
stride 1 s
Mean confidence
—
rolling 5 min
Memory
30 KB
on-device
Class distribution (last 5 min)
Calibration
Capture a personal baseline so arousal, stress and calm scores are relative to your resting state.
Start calibration
Current baseline
Last captured —
active
Resting BPM
14.3
Resting HRV
52 ms
Cadence
98 spm
Gait var
0.038
Reset baseline
Export
Thresholds
override class boundaries
Arousal threshold
0.65
Stress threshold
0.70
Calm threshold
0.55
Defaults
Save thresholds
Settings
Hardware bindings, runtime parameters, and emission targets for the emotion detection cog.
Save settings
Hardware
target device binding
Device
ESP32-S3
ESP32-S3 (DevKitC-1)
ESP32-S3 + IMU shield
CSI antenna
Auto (best RSSI)
Antenna A
Antenna B
Source path
Runtime
windowing + inference
Sample rate (Hz)
Window (s)
Stride (s)
Emission
events published by the cog
emotion_state
enum: calm · neutral · aroused · stressed
arousal_level
continuous float 0.0 – 1.0
stress_score
continuous float 0.0 – 1.0
valence
continuous float −1.0 – +1.0
Privacy
on-device data handling
Process on device only
no raw signals leave the ESP32-S3
Log inference results
ring buffer, 24 h retention
Share aggregated metrics
opt-in research telemetry
Saved
Calibrating baseline
Sit still and breathe normally for 30 seconds. Capturing resting cadence, breathing rate and HRV.
Initialising…
Cancel
Snapshot captured
Inference snapshot at
Close
Copy JSON