Skip to main content

Module rigid_head_pose

Module rigid_head_pose 

Source
Expand description

Rigid head pose from a stable landmark subset (PnP-class geometry).

Maps nose tip, chin, and outer eye corners to a generic 3D canonical face under weak-perspective alignment, then extracts pitch / yaw / roll in degrees. Coordinates are scale-normalized by interocular distance so camera distance does not look like structural change.

Pure Rust — no OpenCV product ABI. Full EPnP is not required for PAD thresholds; this solve is the geometric lock for challenge validation.

Structs§

HeadPose

Functions§

estimate_head_pose
Estimate rigid head pose from pose-core landmarks.
pose_delta
Normalize pose deltas so absolute camera distance does not dominate.