CaraComp
Log inGet Started
CaraComp
Forensic-Grade AI Face Recognition for:
Get Started7-day refund guarantee**
biometrics

Your Face Is Just 128 Numbers — And the Math Gets It Wrong More Than You Think

Your Face Is Just 128 Numbers — And the Math Gets It Wrong More Than You Think

Here's a fact that should stop you mid-scroll: in one government test, a facial recognition algorithm found the correct match — but ranked 15 other people as more similar first. The right answer came back at position 16, buried under a list of strangers who, mathematically speaking, looked closer to the target than the actual person did.

That's not a glitch. That's how facial comparison actually works. And once you understand why, you'll never look at a "face match" result the same way again.

TL;DR

Facial comparison doesn't decide who someone is — it measures how close two faces are mathematically, then hands the result to a human being to interpret.

Researchers at the University of Southern Indiana recently presented AI and biometric research at an international conference in Croatia — the kind of academic work that rarely makes the news but quietly shapes every face-matching tool used in real investigations, workplaces, and public-facing systems. Their work is part of a much bigger effort: figuring out where these systems break, before those breaks cost someone something important.

That's what academic biometric research actually is — a controlled place to find out where the math goes wrong, so the people using these tools in the real world don't have to find out the hard way.


Your Face, Turned Into 128 Numbers

Before any comparison happens, a photo of your face gets converted into something that looks nothing like a face. The software maps out around 128 measurements — the distance between your eyes, the angle of your jaw, how far your nose sits from your upper lip, and dozens of other tiny details. It compresses all of that into a string of numbers called a feature vector (think of it as a fingerprint made of math, not ink).

128
facial measurements encoded per photo before any comparison begins
Source: arXiv facial recognition research

Now the system does the same thing to a second photo. Two faces, two sets of 128 numbers. Then it calculates the Euclidean distance between them — which sounds fancy, but it's basically: how far apart are these two sets of numbers? If you plotted them as dots in space, how far is the gap?

A small gap means the faces are similar. A large gap means they're different. Simple enough, right? This article is part of a series — start with Deepfake Sextortion Teens Family Safety Guide.

Here's where it gets interesting. The system doesn't just say "close enough = same person." It compares that distance against a threshold — a pre-set cutoff number that someone decided counts as a match. Fall below the threshold and you're flagged as a potential match. Stay above it and you're out.

Who sets that threshold? Humans do. And where they set it changes everything. Move it too tight and the system misses real matches. Move it too loose and it flags too many false ones. According to the National Academies Press review of facial recognition technology, threshold selection is one of the most consequential — and least discussed — decisions in how these systems are deployed.


The Analogy That Actually Explains It

Imagine you're trying to identify someone using only three body measurements: height, arm span, and shoe size. You measure a stranger and get the numbers. Now you check a database of everyone in your city.

You find someone with identical measurements. Match!

Except — 1.2 million other people in the city have those same three numbers. Suddenly your "match" is just a ranked list of candidates, sorted by how close their measurements are to yours. The person at the top isn't necessarily the right person. They're just the closest person in the database.

Facial comparison works exactly like this. The algorithm produces a ranked list. The top result has the smallest mathematical distance from the search face. But smallest distance is not the same thing as confirmed identity. It means: of everyone we checked, this one's numbers were closest to yours.

That rank-16 result from the government test? That's what happens when 15 strangers have facial measurements that happen to sit closer — mathematically — to the search photo than the actual correct person does. Maybe the photo was taken at a bad angle. Maybe the lighting shifted the numbers. Maybe two people just genuinely look alike.


Trusted by Investigators Worldwide
Run Forensic-Grade Comparisons in Seconds
Court-ready facial comparison reports. Results in seconds.
Get Started
7-day refund guarantee**

The Gap Between Lab Results and Real Life

This is the part the benchmarks don't tell you. Previously in this series: Meta Slipped Face Scanning Code Onto Your Phone And Forgot T.

Under controlled laboratory conditions — good lighting, front-facing photos, consistent image quality — NIST (the National Institute of Standards and Technology) has reported error rates as low as 0.07% when comparing faces across 12 million records. That sounds bulletproof. Until you do the math: 0.07% of 12 million is still roughly 8,400 potential wrong answers in a single search. And that's in a lab.

Real investigations don't happen in labs. They happen with grainy CCTV footage, photos taken at weird angles, images compressed down to thumbnail size, and faces that have aged 10 years since their last ID photo. Every one of those factors nudges the 128-number encoding in a slightly different direction — which means the distance calculation becomes less reliable, which means the threshold decision becomes more fraught.

Research published on ResearchGate examining facial recognition accuracy found that systems achieving above 99% accuracy on neutral, still-face databases produced lower results when applied to faces with expressions — even using the exact same algorithm. A smile. A slight frown. A head tilted five degrees. These change the numbers enough to push two photos of the same person farther apart mathematically. Now your "same person" comparison has a bigger distance than the lab expected.

"The search face is determined to match the query face when their feature vectors fall within a pre-selected distance threshold — the smaller the distance between vectors, the more likely the two faces are the same." arXiv, Face Detection and Recognition Research

This is why academic research matters so much before these tools reach the people who need them. Researchers test the system under bad conditions on purpose — poor angles, difficult lighting, lookalike faces — specifically to find where the math starts to drift. That work happens in universities and research labs so it doesn't happen for the first time in a real case.


The Misconception Everyone Has (And Why It's Not Your Fault)

Most people assume facial recognition works like a lie detector — or maybe like DNA. You run it, it gives you a yes or no, and the answer is either right or wrong. A match means match. No match means no match.

That's a completely reasonable assumption. We're used to binary evidence. A fingerprint either matches or it doesn't. A blood type either fits or it doesn't. So when someone says "the system found a face match," it sounds the same — like a confirmed, definitive answer.

But facial comparison is not a binary classifier. It's a ranking system. It doesn't say "yes" or "no." It says "here are the candidates, sorted by mathematical closeness, and here's where we drew the line between 'worth looking at' and 'probably not.'" The confidence score attached to a result isn't certainty — it's a distance measurement dressed up in percentage clothing. Up next: Your Kids School Photo Is All A Blackmailer Needs Now.

Nobody explains this when they talk about facial recognition. The marketing language says "find matching faces," which sounds definitive. The evening news says "police identified a suspect using facial recognition," which sounds like a verdict. Neither version tells you about the threshold, the ranked list, or the 15 strangers who ranked higher than the right person in that NIST test.

What You Just Learned

  • 🧠 A face match is a distance measurement — the algorithm calculates how far apart two sets of 128 numbers are, not whether two faces "look the same"
  • 🔬 The threshold is a human decision — someone chose where to draw the line between "possible match" and "not a match," and that choice affects every result
  • 📸 Image quality changes the math — a smile, a tilt, bad lighting, or a compressed photo shifts the numbers enough to affect accuracy
  • 💡 A high confidence score is not a verdict — it means the distance was small, not that the identity is confirmed
Key Takeaway

Facial comparison is safest — and most trustworthy — when you know it's an evidence-measurement tool, not a decision-maker. The result is a ranked list with a confidence score. A human being still has to look at the image quality, the angle, the threshold settings, and the context before that score means anything real.

At CaraComp, this is exactly the gap we work in — making sure the math behind a comparison is visible, not hidden behind a single percentage. Knowing what the distance score actually represents, and under what conditions it was measured, is what separates a useful result from a misleading one.

The research being done at universities — including the work presented in Croatia — is what fills that gap before tools reach the people who need them most. It's slow, careful, unglamorous work. Testing thousands of photo pairs under bad conditions. Measuring what happens when faces age, or when two people just happen to share the same jaw angle. Finding the edge cases so the edge cases don't find you.

So the next time you hear "the algorithm found a match," the question worth asking isn't "how accurate is facial recognition?" The question is: what was the image quality, what was the threshold, and did a human actually look at this before anyone acted on it?

Because a face match isn't a guess. But it's also not a verdict. It's a measurement — and like any measurement, it's only as good as the conditions it was taken in.


If you had to compare two photos for a case, what would worry you more: poor image quality, a bad angle, or two people who genuinely look alike? The answer changes depending on where you set the threshold — and now you know why that matters.

Ready for forensic-grade facial comparison?

2 free comparisons with full forensic reports. Results in seconds.

Run My First Search