Skip to main content

Module landmarks_from_normalized

Module landmarks_from_normalized 

Source
Expand description

Convert normalized landmark coordinates (typically (0..1)) to pixel space.

MediaPipe often reports landmarks in image-normalized units. PAD geometry (interocular scale, PAR in image (x)) needs consistent pixel units when thresholds assume pixels — scale once after packing.

Functions§

landmarks_from_normalized
Scale a packed frame from normalized (x,y \in [0,1]) (or similar) to pixels.