Expand description
MediaPipe Face Mesh layout adapters for pure-landmark PAD.
Packs full-mesh flat buffers into the eight-slot LandmarkFrame() used by
challenge-response PAD. Never uses model Z — only (x,y).
No ONNX / MediaPipe runtime here (that is Track S2). Buffer → geometry only.
Re-exports§
pub use evaluate_pad_from_mediapipe_trace::evaluate_pad_from_mediapipe_trace;pub use evaluate_pad_from_mediapipe_trace::MAX_MEDIAPIPE_PAD_FRAMES;pub use landmarks_from_normalized::landmarks_from_normalized;pub use mediapipe_index::mediapipe_index_for_pad;pub use mediapipe_index::pad_id_for_mediapipe_index;pub use mediapipe_index::MEDIAPIPE_FACE_MESH_COUNT;pub use mediapipe_index::PAD_LANDMARK_IDS;pub use mediapipe_index::PAD_MEDIAPIPE_INDICES;pub use pack_landmark_frame::pack_landmark_frame;pub use pack_landmark_frame::LandmarkBufferLayout;
Modules§
- evaluate_
pad_ from_ mediapipe_ trace - Thin recipe: MediaPipe flat landmark trace → pure-landmark PAD.
- landmarks_
from_ normalized - Convert normalized landmark coordinates (typically (0..1)) to pixel space.
- mediapipe_
index - MediaPipe Face Mesh index →
PadLandmarkIdmapping for pure-landmark PAD. - pack_
landmark_ frame - Pack a flat MediaPipe Face Mesh buffer into a PAD
LandmarkFrame.