CaraComp
CaraComp
Forensic-Grade AI Face Recognition for:
Get Started7-day refund guarantee**
biometricsBy Cara Candelario

Facial Biometrics Comparison: Why Facial Recognition Math Fails

Your Face Is Just 128 Numbers — And the Math Gets It Wrong More Than You Think
A visual representation of a facial biometrics comparison showing two faces mapped with measurement points and matching data.

Quick answer

How does facial biometrics comparison work, and can it be wrong?

Facial biometrics comparison turns each face into about 128 measurements, then calculates the distance between the two sets of numbers. A small distance means the faces look similar, but it does not confirm identity. Lighting, angle and expression can shift the numbers, so a person should weigh the score alongside other evidence.

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

How Facial Recognition Sets Up Every Access Comparison

Facial recognition is the starting point for nearly every access decision made by modern security systems, from unlocking a phone to clearing someone through a badge-free door. Before any access can be granted, the software has to turn a face into numbers it can actually compare. That first step is where the entire facial biometrics comparison begins.

CaraComp DailyEP.55
3 stories · 3:20
Starts at 01:09 — this story
3:20

Watch this story, in under a minute

Plays right here · jumps to 01:09
In this episode

A new briefing every weekday — three stories, three minutes.

Subscribe on YouTube

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 thresholda 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

Access, Fingerprint, and Fingerprint Access Systems Compared

Facial comparison isn't the only biometric method built on distance and thresholds. Fingerprint systems work on a similar principle: a fingerprint gets converted into a mathematical template, then compared against stored templates to grant access. A fingerprint access system and a facial recognition access system share the same underlying logic, they both produce a closeness score, not a certainty.

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
Detailed facial comparison reports. Results in seconds.
Get Started
7-day refund guarantee**

The Gap Between Lab Results and Real Life

Facial Recognition, Tensor Math, and Attendance Systems

Under the hood, most facial recognition tools run on tensor operations, the same kind of math libraries used in modern machine learning, to turn a photo into that 128-number feature vector fast enough for real-time use. This matters for anyone deploying attendance systems, since a slow comparison at a door or a check-in kiosk defeats the purpose of automating attendance in the first place.

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)

Traditional Time Tracking Versus Facial Recognition Access

Traditional time clocks used a badge swipe or a PIN code, a simple yes or no check with no ranking involved. Facial recognition access replaced that binary check with a distance score, which is more convenient but also easier to misread as a guaranteed answer. Understanding that difference is the whole point of a fair facial biometrics comparison between old and new systems.

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 measurementthe algorithm calculates how far apart two sets of 128 numbers are, not whether two faces "look the same"
  • 🔬 The threshold is a human decisionsomeone chose where to draw the line between "possible match" and "not a match," and that choice affects every result
  • 📸 Image quality changes the matha smile, a tilt, bad lighting, or a compressed photo shifts the numbers enough to affect accuracy
  • 💡 A high confidence score is not a verdictit 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.

A useful facial biometrics comparison always starts with the same question: what is the system actually measuring, and what is it leaving out? Every facial recognition tool produces a face comparison score, but that score is only meaningful once you know the image quality, the threshold, and the database it was checked against. Treat the score as one input among several, not as the final word.

Facial technology has moved fast in the last decade, but the core math behind facial detection and facial authentication hasn't changed much at all. Facial detection is the first step, finding a face in an image at all, before facial authentication ever gets a chance to compare it against anything. Skipping that distinction is how a lot of confusion about accuracy gets started.

A biometric comparison, whether it's facial, fingerprint, or otherwise, always reduces a physical trait to a set of numbers and a distance calculation. That's true whether the tool is checking a facial biometric against a watchlist or verifying a fingerprint at a door. The math is different, but the shape of the process, encode, compare, threshold, decide, stays the same across nearly every system.

When a vendor claims a detection comparison ran cleanly across a dataset, ask what "cleanly" means in practice. Recognition models are trained and tested on specific datasets, and a recognition models score that looks great on one dataset can look very different on another with more varied lighting, angles, or skin tones. That gap between training data and real-world data is exactly what the academic research described earlier in this article is trying to close.

Some systems use an API to run a face comparison measures request against a stored database, returning a ranked list and a distance score for each candidate. Every face that goes through this kind of API gets the same treatment: encoded into a feature vector, measured against the target, and sorted by closeness. Understanding that pipeline is the difference between reading a result and just reacting to it.

Recognition facial systems are only as good as the conditions they're tested under, which is exactly why the gap between lab accuracy and real-world accuracy matters so much for anyone relying on these tools for access decisions, attendance tracking, or investigative leads. A face comparison run in good lighting with a clear frontal photo will almost always outperform the same system run against a grainy security still. That's not a flaw unique to one vendor, it's a limit built into the math itself.

Frequently asked questions

What is a facial biometrics comparison and how does it work?

A facial biometrics comparison converts a photo of a face into roughly 128 measurements, like the distance between eyes or the angle of a jaw, compressed into a feature vector. A second face gets the same treatment, then the system calculates the mathematical distance between the two sets of numbers. A small gap suggests similarity, a large gap suggests difference, but neither confirms identity on its own.

Why does facial recognition sometimes rank the wrong person as the closest match?

In one government test, the correct match ranked 16th, behind 15 strangers whose facial measurements happened to sit closer, mathematically, to the search photo. This happens because comparisons produce a ranked list based on smallest mathematical distance, not confirmed identity. Bad angles, shifted lighting, or two people who simply look alike can all push the numbers in misleading directions.

Are facial recognition accuracy rates from lab tests reliable in real life?

Lab conditions with good lighting and front-facing photos produce very low error rates, as low as 0.07% across 12 million records according to NIST. But that still means roughly 8,400 potential wrong answers in one search, and real conditions involve grainy footage, odd angles, and aged faces. Research also found accuracy drops once facial expressions like a smile or tilted head enter the comparison.

Ready for forensic-grade facial comparison?

Full forensic reports with detailed similarity scoring. Results in seconds.

Run My First Search