Expand description
Level-3 (semantic) caption generation.
Produces high-level, human-readable descriptions of labelled activities, sleep periods, and mood events that occurred during the measurement window.
§Caption structure
Walking was detected between minutes 480 and 540.
Running occurred from minute 600 to 660.
Sleep during minutes 0 to 440.
The person logged their mood as calm at minute 300.§Reference correspondence
This is a direct port of captioning.py::generate_semantic_caption.
Structs§
- Activity
Event - A labelled activity interval.
- Mood
Event - A self-reported mood entry.
- Sleep
Event - A sleep interval.
Functions§
- generate_
semantic_ caption - Generate a level-3 semantic caption.
- parse_
minutes - Parse a
"HH:MM:SS"or ISO-8601 time string into minutes from midnight.