Most face-shape tools on the web have the same problem: whatever photo you give them, they hand back a confident label. Ours did too. For a while our classifier called 9 out of 9 real test photos "Diamond". After I fixed that, it looked fine on every sample photo I tried, and it was still wrong for most real users.
I work on The Face Analysis , a free in-browser face analysis site. This post is about how we found out: running the site's own measurement code on a public research face set and changing the engine based on the numbers, not on how the output looked.
Everything below runs client-side: MediaPipe Face Landmarker ( @mediapipe/tasks-vision 1.0.1, WASM) places 478 points on one photo, and plain TypeScript turns those points into ratios.
The pipeline in one paragraph
The landmarker returns 468 face points plus 10 iris points, each with normalized x , y and a relative z . Every measurement is 2D geometry over a handful of those indices; z is ignored on purpose because its scale differs from x/y.…