Public methodology · Algorithm version 1.2

How WhatZoo Works: From 478 Landmarks to an Animal Match

WhatZoo does not send a face to a generative AI to guess an impression. MediaPipe Face Landmarker finds 478 landmarks in the browser. We convert selected points into pixel distances and ratios, then apply the published rules for each animal profile. This page mirrors the current production calculation flow.

Last technical review: November 24, 2026

The seven measurements we actually use

The classifier does not treat all 478 points as independent features. It combines representative eye, nose, mouth, and face-outline points. Every distance is taken in pixels, so the shape of the photo (portrait or square) does not distort the ratios, and dividing by face size removes the effect of image resolution. Pose and expression can still affect results. Typical values are medians from the 300 synthetic faces used for calibration. Before the rules are applied, a fixed photo adjustment is subtracted from five of these measurements (see the last section), so every typical value and threshold on this site is on the calibration scale.

MeasurementLandmarks and calculationMeaning
Eye slant((y133 − y33) + (y362 − y263)) ÷ face height 10–152 × 65Positive when the outer eye corners sit higher than the inner ones; typical about 1.75. WhatZoo’s own scale, not degrees. Sideways head tilt cancels out when the two eyes are summed
Eye-distance ratioDistance 133–362 ÷ face width 234–454Gap between the inner eye corners relative to face width; typical about 0.24
Face aspect ratioHeight 10–152 ÷ width 234–454Larger values indicate a relatively longer face; typical about 1.19
Nose-width ratioDistance 102–331 ÷ face widthNose width normalized to face size; typical about 0.30
Mouth-width ratioDistance 61–291 ÷ face widthMouth width normalized to face size; typical about 0.42
Chin ratioDistance 17–152 ÷ face heightRelative length below the mouth; typical about 0.20
Smile flagMidpoint of 0·17 lower than corners 61·291 by more than 1.54% of face heightSimple check for mouth corners raised above the mouth centre

The three-stage classification flow

1. Candidate gate

Each animal profile first checks its required gate: one to three conditions that must all pass. For example, Tiger needs an eye slant above 2.2 to enter the strict candidate set.

2. Detail score

Each candidate has up to three detail rules. The gate contributes one point and each matched detail adds one more, for a maximum strict score of four. Nothing is weighted.

3. Soft fallback and ties

If no strict candidate exists, profiles are compared by detail matches without the gate. When several candidates share the top score, one is picked at random, so the same photo can produce different matches.

Worked example with fictional measurements

These pixel values do not represent a real person. After the photo adjustment, this face scores 4 of 4 for Wolf. Leopard also passes its gate but misses its eye-slant detail (above 2.3) and stops at 3, so Wolf holds the only top score and no random tie-break is needed.

Face height 500 px ÷ width 402 px
Measured face aspect ratio 1.244
Eye-corner lift (10 px + 12 px) ÷ 500 px × 65
Measured eye slant 2.86
Chin length 100 px ÷ face height 500 px
Measured chin ratio 0.200
Photo adjustment: aspect − 0.024, eye slant − 0.73, chin + 0.025
Aspect 1.22, eye slant 2.13, chin 0.225
Wolf gate: eye slant 2.13 > 1.9 and aspect 1.22 > 1.185
Passed: 1 point
Wolf details: eye slant > 2.1, aspect > 1.214, chin > 0.191
3 of 3 matched: 4 points
Tiger gate: eye slant > 2.2
Not passed (2.13): not a candidate

Where are photos and coordinates processed?

Landmark detection and metric calculation run in the user’s browser. WhatZoo does not upload or retain the analysis photo or its 478 coordinates on its server for classification. User-initiated share images are also rendered in the browser.

Important limitations

  • Non-frontal poses, occluded features, and hard shadows can distort coordinates.
  • Expression matters because the smile flag is one of the rules.
  • This is not a clinical, biometric, or psychological instrument and has no certified accuracy claim.
  • Personality, romance, and career descriptions are entertainment interpretations—not scientific diagnoses from facial appearance.

What changed in algorithms 1.1 and 1.2

Algorithm 1.2 (November 24, 2026) keeps every 1.1 threshold and changes two things. Real users’ photos measured differently from the 300 calibration faces: on average eye slant read 0.73 higher, the eye gap 0.021 wider, the face 0.024 longer, the mouth 0.06 narrower and the chin 0.025 shorter, which made Dinosaur and Snake the most frequent results. These shifts were estimated only from the result counts recorded under 1.1, not from any photo or measurement, and 1.2 subtracts them before comparing a face with the rules. Eleven profiles that could not win under 1.1 (Chameleon, Chinchilla, Camel, Panda, Meerkat, Owl, Badger, Turtle, Duck, Otter and Elephant) also received a working third detail rule. Algorithm 1.1 (October 31, 2026) fixed a landmark mix-up in 1.0: one eye’s inner and outer corners were swapped, so eye slant mostly tracked head tilt and eye distance was measured from an outer corner. Distances are now taken in pixels, so photo shape no longer distorts ratios, and every threshold was recalibrated on 300 synthetic, AI-generated faces of people who do not exist. Placeholder rules that always added a point were removed. Results from before October 31, 2026 used algorithm 1.0, and results from October 31 to November 23, 2026 used 1.1; when definitions or thresholds change again, we will explain the change here rather than silently tune the rules.