Skip to main content

Module pack_landmark_frame

Module pack_landmark_frame 

Source
Expand description

Pack a flat MediaPipe Face Mesh buffer into a PAD LandmarkFrame.

Accepts xy (468 × 2) or xyz (468 × 3) interleaved f32 layouts. Model Z is always ignored — only (x, y) enter Landmark2.

Enums§

LandmarkBufferLayout
Flat buffer layout from a MediaPipe-compatible landmarker.

Functions§

pack_landmark_frame
Pack one MediaPipe mesh frame into the eight-slot PAD landmark frame.