Menu

Roll-Leveling 478 Face Landmarks Before Measuring Canthal Tilt and fWHR
📰

Roll-Leveling 478 Face Landmarks Before Measuring Canthal Tilt and fWHR

DEV Community: webdev·yifei Huang·2 days ago
#HKqthWjL
#devtowebdev#devto#dev#landmark#math
Long article (1582 words) — no AI summary yet.
Reading 0:00
15s threshold

A small sideways head tilt changes more than how a portrait looks. In raw image coordinates, each eye-corner line acquires some of the head’s roll, so its measured angle is no longer just the eye’s own slope. A width-to-height ratio also depends on the image axes: after the face rotates, horizontal and vertical projections of facial spans shift. This is particularly visible when the measured cheek and upper-face landmarks sit at different positions and the photo contains a few degrees of roll.

The practical fix is modest: estimate the eye-line angle, rotate the landmark set back around a pivot, and measure on the leveled coordinates. That corrects in-plane rotation. It does not turn a selfie into a 3D scan, and it does not make the underlying landmark definitions universal.

1. Put normalized landmarks in pixel space

MediaPipe FaceMesh reports normalized coordinates: x and y are fractions of image width and height.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.