How Face Beauty Analyzer Works: Our Methodology
Every tool on Face Beauty Analyzer runs deterministically on top of documented geometry, percentage ratios, or weighted scoring rules inside your browser. This page explains the actual inputs, formulas, reference bounds, and limitations implemented in our codebase.
1. Design Principles & Overview
Face Beauty Analyzer separates visual styling exploration from medical, clinical, or attractiveness evaluation. None of our four tools assigns beauty scores, health assessments, or demographic labels.
- Transparent heuristics over black-box verdicts: Once facial landmarks, tape measurements, or quiz selections enter memory, final outputs are computed with explicit formulas rather than hidden ranking models.
- Borderline humility: Each classifier explicitly supports ambiguous or inconclusive states when evidence falls near a boundary or photo quality is unsuitable.
- No server-side biometric storage: Image decoding, WebAssembly landmark inference, and numeric scoring run locally in your browser tab without uploading photos or personal measurements.
2. Face Shape Detector
The Face Shape Detector combines @mediapipe/tasks-vision (version 1.0.1) with a pure TypeScript proportion-classification pipeline. For practical explanations, see why face shape results vary between photos and how camera distance and head tilt change face shape readings.
Landmark Detection & Preparation
- Uploaded or camera images are decoded with EXIF orientation honored and uniformly scaled so the longest side does not exceed
1600 px. - Google MediaPipe Face Landmarker maps
4783D coordinates (468 face-mesh points plus 10 iris points) using WebGL GPU acceleration first, falling back to CPU WASM/XNNPACK once if needed. - The detector accepts only single-face frames where predicted landmarks fall cleanly inside the canvas (
MIN_FACE_SIZE_PX = 64, max 2% edge overshoot).
Five Ratios & Reference Standardization
From the 36-point face-oval loop after iris-based roll alignment, the measurement layer calculates five dimensionless ratios: lengthToWidth, foreheadToCheek, jawToCheek, chinTaper, and jawFullness (lower-face polygon fill ratio).
Because MediaPipe's face-oval contour tracks internal model geometry (e.g., forehead to cheek typically sits around 0.75–0.88), absolute ratio cutoffs like 1.0 rarely apply. Each ratio is converted to a z-score against a documented baseline of 146 public-domain official portraits from Wikimedia Commons.
Baseline caveat: That 146-portrait sample mostly depicts adult U.S. public officials and is not demographically representative. Shapes are expressed relative to that baseline, and no labelled ground-truth accuracy percentage is claimed.
Fuzzy Compatibility & 25-Point Stability Check
Each standardized feature passes through overlapping linear ramps (low below -1.0 SD, mid within ±0.25 SD, high above +1.0 SD) weighted across seven shapes: Oval, Round, Oblong, Square, Heart, Diamond, and Triangle. Before outputting a single label, a 25-point sensitivity stress test perturbs features by calibrated framing allowances; if stability drops below 80% or top margin drops below 0.10, the tool returns an ambiguous two-shape pair or an inconclusive outcome rather than guessing.
3. Face Symmetry Test
The Face Symmetry Test uses the same self-hosted MediaPipe Face Landmarker to evaluate left/right landmark alignment around an estimated midline in one photo. See How Facial Symmetry Measurement Works for step-by-step geometry details.
- Roll normalization: Coordinates are scaled into aspect-ratio-correct pixels and de-rolled around the eye-centre midpoint (derived from eye corners
33/133and263/362, never iris centers). - Midline & scale normalization: The vertical axis is the mean
xof five central landmarks (nasion168, nose tip1, upper/lower lip centres13/14, chin152). Ten bilateral pairs across eyes, eyebrows, cheek contour, mouth corners, and jawline are measured relative to interocular distance. - Strict pose gate: Because uncorrected head turn or pitch creates false asymmetry, thresholds block roll
>= 30°or yaw asymmetry>= 0.24and warn on pitch ratios outside0.30–0.44. - Region aggregation: Region medians map conservatively to plain-language descriptors (
< 0.035similar,0.035–0.08slightly different,>= 0.08noticeably different) without inventing an overall symmetry score.
4. Body Shape Calculator
The Body Shape Calculator operates strictly from four manually entered circumferences—shoulders, bust or chest, waist, and hips—in either centimetres or inches. Related guides explain how to take accurate measurements and how circumference ratios separate close body shapes.
- Unit-invariant math: Inch entries convert cleanly via exact
2.54 cm/infrom the user's canonical inputs so switching units does not accumulate rounding drift. - Symmetric percentage differences: Ratios compare
upperBodyCm = max(shoulderCm, bustCm), waist, and hips via((a - b) / ((a + b) / 2)) * 100. - Five categories & continuous ramps: Scores evaluate Hourglass, Triangle, Inverted Triangle, Rectangle, and Oval using documented design thresholds (e.g., upper/hip balance under
5%, clear waist definition ramping9%–25%), surfacing an ambiguous two-category fit whenever scores sit within0.12or below0.40.
5. Seasonal Color Analysis
Seasonal Color Analysis is an 11-question structured self-assessment across color temperature, depth, and chroma—it does not run automated photo color extraction. Read Undertone, Value, and Chroma in Seasonal Color Analysis and the 4 core seasons vs. 12 subtypes guide for usage details.
- Weighted answers: Direct side-by-side color questions carry weight
1.0, remembered overall style observations carry weight0.5, neutral answers count as0evidence, and “Not sure” answers are excluded from the denominator. - Honest evidence gates: Fewer than
6informative answers returnsinsufficient; small season margins (< 0.05) returnambiguous; and a 12-season subtype is displayed only when at least2depth and2chroma questions were answered with a>= 0.22wing shift.
6. Browser Isolation & Security
All four interactive tools execute in client-side memory. MediaPipe WebAssembly binaries and the float16 face-landmarker bundle are self-hosted on this origin, external metrics requests are blocked by our same-origin Content-Security-Policy (connect-src 'self'), preview object URLs are revoked on photo change or unmount, and camera streams stop synchronously when dialogs close. Full legal disclosures live in our Privacy Policy.
7. Code Verification & Known Limits
Pure TypeScript modules for classification, geometry, unit conversion, and validation are covered by automated Vitest unit suites—verifying determinism, unit invariance, boundary ambiguity, missing-input guards, and zero unverified claims. Controlled production browser runs confirm zero external network transmissions during image analysis.
Important distinction: Automated code tests verify internal mathematical consistency and privacy boundaries; they do not establish clinical validity, anatomical accuracy, or professional stylist consensus. Authoring and technical implementation are led by Kalana Sandeep; read more on the About page.