technical methodology

How FaceRatingPro turns pixels into geometric evidence

The pipeline is intentionally inspectable: local image preparation, 478-point landmark mapping, roll-angle normalization, quality checks, six anatomical regions, weighted pillars, and calibrated output bands.

01

Local preprocessing

Images are decoded in-browser and downscaled to a maximum 1200px long edge. This keeps large phone selfies fast while preserving landmark-relevant structure.

02

Landmark inference

MediaPipe FaceLandmarker loads WASM from the official jsDelivr package CDN and the official Google model bucket. GPU delegate is attempted first, CPU is the fallback.

03

Roll normalization

Outer eye corners 33 and 263 estimate head roll. Coordinates are rotated by the inverse angle in aspect-corrected pixel space before ratios are measured.

04

Confidence checks

Tilt, horizontal yaw proxy, framing coverage, and usable geometry produce a 0–100 photo-quality score plus actionable retake guidance.

All 18 measurement formulas

Canthal tilt

atan2(y outer − y inner, x outer − x inner) in degrees, averaged across both eyes after roll normalization.

Interocular ratio

Distance between inner eye corners divided by mean eye width.

Eye aspect ratio

Vertical eyelid opening divided by horizontal eye width, averaged left/right.

Jaw-to-cheekbone ratio

Jaw width at gonion landmarks divided by cheekbone width.

Chin-to-philtrum ratio

Chin-to-lip distance divided by nose-base-to-lip distance.

Jaw taper angle

Angle formed from cheekbone to jaw corner to chin, averaged across both sides.

Overall symmetry

Mean mirror error of paired landmarks around the facial midline, converted to a 0–100 percentage.

Eye level symmetry

Vertical alignment difference between paired inner and outer eye corners.

Jaw & mouth symmetry

Mirror consistency across jaw corners, mouth corners, and lower-face anchors.

Facial thirds balance

Hairline-to-brow, brow-to-nose-base, and nose-base-to-chin distances compared as a percentage split.

Golden length-width

Face length divided by bizygomatic width and compared with profile reference bands.

Mouth-to-nose ratio

Mouth width divided by nose width at the alar landmarks.

FWHR

Bizygomatic facial width divided by upper-face height.

Cheekbone prominence

Cheekbone width compared with combined jaw and temple width context.

Face shape

Rule-based classification from length-width, jaw-cheek width, forehead width, taper, and lower-third proportions.

Midface ratio

Pupil-to-lip-center distance divided by interpupillary distance.

Nasal width ratio

Nose alar width divided by interocular width.

Lip fullness ratio

Mean upper and lower lip thickness divided by mouth width.

Score construction

Each metric receives a 0–100 score from its distance to a profile-specific reference band. Metrics are grouped into Harmony, Dimorphism, Angularity, and Balance pillars. The composite face rating is calibrated into a realistic 45–95 central range instead of pretending either perfect geometry or exact human ranking can be inferred from one frontal image.

The 1.0–8.0 looksmaxing scale is a bounded transformation of the composite. Potential uplift adds a conservative softmaxxing estimate based on focus-area severity, capped at 7.8.

Photo-condition limitations

  • Close-range wide-angle selfies can distort nose width, midface, and facial width ratios.
  • Yaw, pitch, hair occlusion, glasses, heavy expression, and cropping reduce confidence.
  • Lighting changes visual contrast but does not change raw landmark geometry unless it obscures the face.
  • The output is informational styling analysis only; it is not medical, psychological, or identity inference.
Run the transparent scan