DEV Community

Benjamin Scott
Benjamin Scott

Posted on

Notes from building a simple AI face-rating tool

A few notes from a small weekend project: an AI face-rating tool that scores a photo on the usual PSL scale and explains which proportions drove the number.

Why bother with an explanation

A single score is almost useless on its own. What makes these tools interesting is the breakdown: symmetry, facial thirds, jawline angle, and the caveats about lighting and camera angle. Without that, people read a number as an objective verdict on their face, which it is not.

What the pipeline actually does

  • detect landmarks and normalise the head pose
  • estimate a handful of canonical ratios
  • map ratios to a score with a model trained on rated photos
  • return the contributing factors instead of just the number

The last step is the difference between a toy and something people can actually reason about.

If you want to try it, the tool is at https://pslscale.com/ โ€” feedback on which ratios feel most useful would be welcome.

Top comments (0)