How AI Face Analysis Works: Measuring Facial Proportions Online

Updated February 2025 · 6 min read

Measuring facial proportions used to require a trained anthropometrist with calipers, a controlled photography setup, and significant manual work. Today, AI-powered tools can detect and measure dozens of facial features from a single photo in seconds. But how does this technology actually work?

The Technology Behind Facial Landmark Detection

Modern face analysis tools use deep learning models trained on millions of face images. These models learn to identify specific anatomical points — called facial landmarks — such as the corners of the eyes, tip of the nose, edge of the lips, and jawline contour.

The most widely used model for this purpose is Google's MediaPipe Face Mesh, which can detect 478 three-dimensional landmarks on a face in real time. This model was trained using a combination of synthetic rendered face data and real-world annotated photos, resulting in remarkable accuracy even on mobile devices.

From Landmarks to Measurements

Once the AI identifies the 478 facial landmarks, calculating proportions becomes straightforward geometry. For example:

FWHR = Distance between cheekbone landmarks ÷ Distance from eyebrow midpoint to upper lip

Canthal Tilt = Angle between inner and outer eye corner landmarks relative to horizontal

ESR = Distance between pupil landmarks ÷ Distance between cheekbone landmarks

Each ratio is calculated using simple distance and angle formulas applied to the pixel coordinates of the detected landmarks.

Privacy: Where Is Your Photo Processed?

This is an important distinction between different face analysis tools. Many online tools upload your photo to a remote server for processing — which means your face data could potentially be stored, shared, or misused.

FaceRatios.com takes a different approach: the entire analysis runs locally in your web browser using TensorFlow.js. The AI model downloads once to your device, and all photo processing happens on your own computer or phone. Your images never leave your device, and no data is sent to any server.

How Accurate Is AI Face Analysis?

AI-based face analysis is remarkably accurate for front-facing photos with good lighting and a neutral expression. Modern landmark detection achieves error rates below 3% compared to expert manual measurements.

However, accuracy can be affected by several factors: extreme lighting or shadows, tilted head positions, facial hair obscuring landmarks, glasses covering eye landmarks, low-resolution photos, and strong facial expressions. For best results, use a clear, front-facing photo with even lighting and a relaxed expression.

Correcting Errors Manually

Even the best AI isn't perfect. Tools like FaceRatios.com allow you to drag landmark points to their correct positions if the automatic detection is slightly off. All measurements recalculate in real time as you adjust, giving you full control over accuracy.

What Measurements Can You Get?

FaceRatios.com currently measures 13+ facial ratios from a single photo, including FWHR, ESR, canthal tilt, EME angle, midface ratio, facial thirds, facial fifths, palpebral fissure ratio, lip ratio, chin-to-philtrum ratio, bizygomatic-to-bigonial width, mouth-to-nose ratio, and lower-to-full face ratio. Each measurement comes with an optimal range based on published research.

Analyze Your Own Face

Upload a photo and get 13+ scientific measurements — free, private, runs in your browser.

Try FaceRatios.com Free