Expand description
Map challenges to geometric / expression thresholds.
Head turns use rigid yaw (degrees). Expressions use Euclidean landmark ratios normalized by interocular distance so camera distance cancels.
Structs§
Constants§
- DEFAULT_
BLINK_ PEAK - Blink blendshape peak.
- DEFAULT_
MOUTH_ OPEN_ RATIO - Mouth open / smile mouth height ratio (mouth gap / interocular).
- DEFAULT_
SMILE_ BLEND - Smile blendshape proxy peak when blendshapes available.
- DEFAULT_
YAW_ THRESHOLD_ DEG - Default yaw gate for “look left/right” challenges (degrees).
Functions§
- action_
met_ at_ frame - Whether the action criterion is met for this frame’s pose + optional proxies.
- action_
onset_ at_ frame - Onset: motion in the challenge direction exceeds a fraction of the threshold.
- mouth_
open_ ratio - Mouth aperture normalized by interocular (None if landmarks missing).