pub fn pack_landmark_frame(
t_ms: u32,
buf: &[f32],
layout: LandmarkBufferLayout,
) -> Result<LandmarkFrame, CvError>Expand description
Pack one MediaPipe mesh frame into the eight-slot PAD landmark frame.
t_ms— challenge-relative timestamp.buf— flat landmark buffer (xy or xyz).layout— stride / component count.
Only the eight PAD indices are read. Finite (x,y) are marked valid; non-finite or missing slots stay unset. Z is never read into geometry.