Skip to main content

Module challenge_pad

Module challenge_pad 

Source
Expand description

Active pure-landmark challenge-response PAD orchestrator.

Pipeline (strict order):

  1. Consent + camera stream integrity (virtual-camera fail-closed when required)
  2. Temporal TTS/TTC windows (ms)
  3. Rigid head pose (PnP-class geometry)
  4. Action threshold for the issued challenge
  5. PAR (Profile Asymmetry Ratio) on raw 2D x only — never model Z
  6. Landmark jitter noise floor

No RGB texture / screen-glare ML. Fail closed. Not identity alone — combine with 1:1 template + consent.

Structs§

MeshFrameSignals
Legacy mesh signal row (pose + blend proxies without full landmarks).
PadResult
PadThresholds
Full PAD threshold bundle.

Enums§

PadReason

Functions§

evaluate_challenge_pad
Legacy evaluate path: mesh pose/blend signals without full landmarks.
evaluate_landmark_pad
Evaluate pure-landmark PAD over a timed landmark trajectory.
issue_challenge
Issue a challenge (caller tracks timeout wall-clock).
issue_rotation_challenge
Issue a rotation-preferring challenge (stronger pure-landmark PAD).

Type Aliases§

BlendRow
Optional per-frame blendshape row aligned with landmark frames.