You look at your phone and it unlocks. You walk across a square and a camera could compare your face against a list of wanted people. Both uses rely on facial recognition, but they differ in scale, control over data, and the consequences of an error.
To understand the difference, start with what the machine does: it turns information about a face into numbers and looks for similarities. The result depends on the algorithm, the available images, and the threshold chosen to accept a match. Then comes the institutional question: who can use that match, and for what purpose?
What a machine recognizes when it looks at a face
Facial recognition is a biometric technology that compares mathematical representations of facial features to verify or attempt to determine someone's identity. Biometrics uses physical or behavioral characteristics; in this case, it works with facial information captured by images or sensors.
Detecting a face is a different task. A camera that draws a box around a face to focus only needs to locate it. That does not mean it knows whose face it is.
Recognition adds a comparison, which can take two forms:
- Verification, or 1:1: compares a face with a template associated with a claimed identity. For example, it checks whether someone trying to unlock a phone matches its registered user.
- Identification, or 1:N: searches for a face among multiple registered identities. It may return candidates or indicate that it found no sufficiently close match.
The second method makes it possible to search for someone among many people, but it does not by itself amount to mass surveillance: where images are captured, who is included, and the purpose also matter. Likewise, verifying a worker to record attendance can be a 1:1 comparison without the worker having a free choice.
Key idea: The terms 1:1 and 1:N describe the comparison. Consent, local storage, and limits on use are separate decisions.
How facial recognition works, step by step
From capture to a numerical representation
The process begins with an image or a depth capture. The system locates the face and may adjust its orientation, size, and lighting to make it easier to compare with other captures.
A model—usually a neural network—then extracts features and generates a vector of numbers, called an embedding or biometric template. Think of it as coordinates in a mathematical space: captures that the model considers to be of the same face should be close together.
This is not simply a matter of measuring the distance between the eyes or the width of the nose with a ruler. Models learn combinations of geometric and visual patterns. Individual components of the vector do not necessarily correspond to features we can name.
A template is no guarantee of privacy, either. Even when comparison uses numbers, those numbers can link a capture to an identity. Nor does generating templates prove that a system has deleted the original photographs: that depends on its design and retention policies.
Comparing is not proving an identity
To compare two vectors, a system can use measures such as Euclidean distance, which expresses how far apart they are, or cosine similarity, which compares their orientation. The system calculates a score and checks it against an acceptance threshold.
Requiring greater similarity normally reduces incorrect matches, but it can increase the number of legitimate users rejected. Accepting less similarity creates the opposite trade-off. A similarity score should therefore not automatically be interpreted as the probability that someone is a particular person.
In a 1:N search, a match may be a lead for further review. It is not, by itself, proof of identity, much less of criminal conduct.
What changes between a 2D camera and a 3D sensor
A conventional camera captures a flat image. A 3D sensor adds depth information: it may use structured light, projecting an infrared pattern, or measure the time light takes to return, a technique known as time of flight or ToF.
That information helps distinguish a face from a flat photograph. However, not every 2D system can be fooled by a photograph, and not every 3D sensor can resist every attack. Security also depends on the software, the sensor, and the checks applied during capture.
Accuracy, bias, and liveness detection
There are two basic errors. A false positive occurs when the system accepts a match between faces belonging to different people. A false negative occurs when it fails to recognize a legitimate match. Mistaking a passerby for a wanted person and denying a device owner access are different failures, with different consequences.
The NISTIR 8280 report, published in 2019 by the US National Institute of Standards and Technology, evaluated 189 algorithms from 99 developers. It documented substantial demographic differences in false-positive rates across many algorithms, with variations of one or two orders of magnitude in certain comparisons. It also found substantial differences among algorithms.
That study provides evidence about the systems and image sets evaluated at the time. It cannot establish a universal error rate for facial recognition or, on its own, describe the performance of a current product. Nor is it enough to attribute all disparities to a single cause: training data, model design, and capture conditions all play a role.
Outside the laboratory, lighting, camera angle, or a low-quality image can make comparison more difficult. To assess a deployment, it is useful to ask what errors it makes under conditions similar to actual use and who bears the consequences.
Another issue is deliberate deception. Liveness detection attempts to identify presentation attacks: showing a photograph, playing a video, or using a mask in front of the sensor. It may analyze depth, movement, or other signals. These checks add protection, but they do not justify claims of infallibility.
Key idea: Accuracy must be assessed in context. A standalone figure in marketing material says little about the risk of accusing an innocent person.
Why a biometric data breach is different
If a password is leaked, you can change it. You cannot replace your face as easily. That difference makes it especially important to limit the collection and retention of biometric information.
This does not mean that every compromised template automatically works in every system. Formats and protection mechanisms vary; some designs allow protected representations to be renewed. But renewing a template does not replace the physical characteristic it comes from or eliminate images that have already been exposed.
Where comparison takes place matters too. In a well-protected local architecture, the template can remain on the device, in an isolated component such as a secure enclave, while the application receives only the authentication result. A centralized database brings together information about many people, increasing the potential consequences of unauthorized access or reuse.
Centralization also makes it easier to link records: entry to a building, a purchase, and an appearance on camera. That ability can erode the separation of digital identities, even when a person uses different usernames.
From a liberal perspective, the concern is not limited to hiding intimate information. It also includes preserving the freedom to move, associate, or dissent without every activity becoming part of a profile. Systematically identifying people at a peaceful demonstration can discourage participation even if no penalty is imposed.
Key idea: A system can be highly accurate and still intrude on freedom. Reducing errors does not settle who has the right to watch.
What limits should apply to facial recognition?
There are legitimate uses worth considering: protecting a device, helping locate victims, or supporting a specific investigation. The question is whether the intervention is justified, whether less intrusive alternatives exist, and how to prevent a narrow purpose from becoming general tracking.
In the European context, the European Data Protection Board's guidelines on police use stress the need for a clear legal basis and a strict assessment of necessity and proportionality. A general appeal to public safety does not resolve those requirements.
In the European Union, Article 5 of the Artificial Intelligence Act establishes a general prohibition on real-time remote biometric identification in publicly accessible spaces for law enforcement, subject to narrowly defined exceptions. These are subject to conditions and a system of authorization by a judicial authority or an independent administrative authority, with specific rules for urgent cases. The article also prohibits creating or expanding facial recognition databases through untargeted scraping of facial images from the internet or closed-circuit television footage.
These are European rules, not a worldwide ban on all biometrics. Nor should the regulation be mistaken for automatic permission for any business use. In Spain, the AEPD's guidance on biometric attendance control emphasizes the requirements that apply to such processing and the difficulty of relying on consent when there is an imbalance between employer and worker.
Our editorial position starts from limiting power over the individual. Anyone proposing to collect biometric data should justify the purpose, demonstrate its necessity, and accept responsibility. This calls for alternatives where feasible, limited retention, restricted access, independent oversight, and effective ways to challenge mistaken decisions.
When faced with a particular system, the decisive questions are straightforward: Can you refuse it? Where is your template stored? What other databases can it be compared against? Who reviews a match? The answers help distinguish a tool under the user's control from an infrastructure capable of tracking people without their cooperation. Your face can make it easier to access a device; turning it into a credential that can be demanded in every space requires a much stronger justification.
Share