Skip to content
giron.ai
← All writing

The mathematics of anti-spoofing, without the hype

Telling a face from a photo of that face is a threshold problem, not magic.

Published
21 April 2026draft
Category
Mathematics without hype
Reading
11 min

This piece is published as an outline: the statement and the structure are settled, the full text is coming.

The problem, stated

Given an image, decide whether there is a person in front of the camera or a reproduction. A binary classifier with deeply asymmetric costs.

Two distributions that overlap

Genuine and impostor scores are not two separate clouds. The whole design is about where you cut the overlap.

The ROC curve and the point you pick

Why the optimal threshold depends on what each error costs, and in attendance control those costs look nothing alike.

What the real world measures

Lighting, cheap cameras and users in a hurry: why a lab threshold never survives the first shift.

Write to me

If you are thinking about building something with AI and want to talk it through with someone who has put it into production, write to me. I answer myself.

hola@giron.ai