Skip to main content

evaluate_profile_asymmetry

Function evaluate_profile_asymmetry 

Source
pub fn evaluate_profile_asymmetry(
    frames: &[LandmarkFrame],
    poses: &[HeadPose],
    tau: f32,
) -> ParVerdict
Expand description

Evaluate PAR geometric lock over a landmark + pose trajectory.

  • (t_0) — first valid PAR sample (challenge start / frontal).
  • (t_1) — sample at peak (|yaw - yaw_{t0}|) (must reach ≥ MIN_YAW_SPAN_DEG).
  • tau — minimum normalized (\Delta PAR) (default DEFAULT_PAR_TAU = 0.6).

poses[i] aligns with frames[i]. Pose yaw is used only to pick (t_1) and enforce span — never as a substitute for PAR, and never from model Z.