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.…