Face recognition is a type of biometric technology that identifies or verifies a person by analyzing their facial features

Face recognition software compares the geometry of a face — the distance between eyes, the shape of the jawline, the position of the nose — against a database of known faces or a single reference image. When the measurements match closely enough, the system identifies the person or confirms they are who they claim to be. The technology works on photographs, video feeds, and live camera streams.

Most face recognition systems work in one of two ways. Identification means the system searches a database to figure out who you are — like when an airport camera scans a crowd to find a specific person. Verification means you claim to be someone, and the system checks whether your face matches your claim — like unlocking your phone with your face instead of a password.

Key Takeaways

  • Face recognition compares facial measurements like eye spacing and jawline shape to identify or verify a person's identity.
  • The technology powers phone unlocks, airport security, law enforcement databases, and some workplace access systems.
  • Accuracy varies widely depending on lighting, angle, age, and the quality of the reference image in the database.
  • Face recognition raises privacy concerns because it can identify people without their knowledge or consent.
  • Some cities and countries have restricted how police and government agencies can use the technology.

How the technology actually scans and matches a face

When a camera captures an image, face recognition software first detects that a face is present and isolates it from the background. The software then measures dozens or hundreds of points on the face — the corners of the eyes, the tip of the nose, the edges of the mouth, the contours of the cheekbones. These measurements create a mathematical pattern called a face template or faceprint.

The system compares this template against stored templates in a database. If the measurements are close enough — within a threshold the system operator sets — the software reports a match. The threshold matters: set it loose and the system matches faces that are not actually the same person; set it tight and it misses real matches. Different systems use different thresholds depending on whether a false match or a missed match is the bigger problem.

Some newer systems use deep learning, a type of artificial intelligence that learns patterns from millions of face images rather than relying on hand-coded measurements. These systems often perform better in difficult conditions — poor lighting, extreme angles, partial faces — but they are also harder to understand and audit, because even the engineers who built them cannot always explain why the system made a particular decision.

Where face recognition is used today

Phone manufacturers including Apple and Samsung use face recognition to unlock devices. The system stores a template of your face on your phone itself, not on a company server, so the match happens locally.

Airports and border agencies use face recognition to verify travelers against passport photos and to screen people against watchlists. The U.S. Department of Homeland Security has used the technology at major airports since the early 2000s.

Law enforcement agencies use face recognition to search mugshot databases, driver's license photos, and passport images. The FBI maintains a database of over 600 million photos and can search it using face recognition. Many state and local police departments have their own systems or contracts with private vendors.

Some workplaces use face recognition for access control — to unlock doors or log employees in and out. Retailers and advertisers have tested the technology to count foot traffic and infer customer demographics, though this use has drawn significant pushback.

Why accuracy is not may provide

Face recognition works better under some conditions than others. The technology performs best when the face is well-lit, straight-on, and high-resolution. Accuracy drops when the person is wearing glasses, a hat, or a mask; when the lighting is poor; when the face is at an angle; or when the person has aged significantly since the reference image was taken.

Studies have found that some face recognition systems are more accurate on some groups of people than others. A 2019 study by the National Institute of Standards and Technology found that accuracy varied depending on a person's age, sex, and race, with some systems performing worse on women and people with darker skin tones. Accuracy also depends on the quality and size of the database — a system trained on millions of faces may perform differently than one trained on thousands.

The reference image matters too. If the photo in the database is old, low-quality, or taken from a very different angle than the camera is seeing now, the system is less likely to match correctly. This is why some systems ask you to take a fresh photo rather than using an existing ID photo.

Privacy and consent concerns

Face recognition can identify people without their knowledge or consent. A camera in a public place can scan faces in a crowd and match them against a database without anyone realizing it happened. This is different from other forms of identification — you cannot be fingerprinted or DNA-tested by a stranger without your knowledge.

Law enforcement use of face recognition has drawn particular concern. A person can be identified by police using a mugshot database or driver's license photos without ever being told the technology was used. If the match is wrong, the person might be questioned or arrested based on a false identification. Some jurisdictions now require police to disclose when they used face recognition or to get a warrant before searching certain databases.

Several cities including San Francisco, Boston, and Portland have restricted or banned government use of face recognition. The European Union's proposed AI Act would require human review before face recognition can be used for law enforcement. Some countries including China and Russia use face recognition extensively for public surveillance.

The difference between face recognition and facial analysis

Face recognition identifies who a person is or verifies their identity. Facial analysis or emotion recognition attempts to infer what a person is feeling or thinking based on facial expressions. These are different technologies with different accuracy levels and different concerns.

Facial analysis is less reliable than face recognition. The relationship between facial expressions and actual emotions is not straightforward — people can hide or fake emotions, and expressions vary across cultures. Some vendors claim their systems can detect lies, predict criminal behavior, or assess job interview candidates based on facial analysis, but these claims are not supported by scientific evidence. Facial analysis raises additional ethical concerns because it attempts to judge people's internal states rather than simply identifying them.

What happens when face recognition makes a mistake

When face recognition is used for phone unlocking or social media tagging, a mistake is usually low-stakes — you unlock the wrong phone or tag the wrong person in a photo. When it is used in law enforcement, a mistake can be serious.

If a face recognition search returns a false match, police may investigate the wrong person. Several people have been wrongly arrested based on face recognition matches, including Robert Williams in Detroit and Nijeer Parks in New Jersey. In both cases, the initial match was wrong, and the error was only caught after investigation or legal challenge. Some police departments now require additional investigation before making an arrest based solely on a face recognition match.

If a face recognition system fails to find a match when one exists, a person might not be identified at all. This can be a problem in missing persons cases or when trying to locate a suspect, but it is generally considered less harmful than a false match.

Frequently Asked Questions

Can face recognition work if I am wearing a mask or glasses?

It depends on the system and the type of mask or glasses. Most face recognition systems work with regular eyeglasses because they still see the face geometry around the glasses. Masks that cover the nose and mouth make matching harder because the system loses information about the lower face. Some newer systems trained on masked faces perform better, but accuracy is still lower than with an unmasked face.

Does face recognition work on identical twins?

Face recognition systems can struggle with identical twins because their facial measurements are very similar. Some systems may match one twin to the other, especially if the reference image is low-quality or taken from a different angle. This is one reason why systems sometimes require additional verification steps or human review when confidence is borderline.

Is the face recognition on my phone stored on a company server?

Most phone manufacturers store face templates locally on your device, not on their servers. Apple's Face ID and Samsung's facial recognition both process and store the face data on the phone itself. However, you should check your phone's privacy settings to see what data is being collected and how it is being used, because policies vary by manufacturer and can change.

Can I request that my face be removed from a law enforcement database?

This depends on which database and which jurisdiction. If your face is in a database because you have a driver's license or passport, you would need to work with that agency. If it is in a mugshot database, some jurisdictions allow you to request removal after a certain amount of time or if charges were dropped. There is no single federal process — you would need to contact the specific agency that holds your image.

How accurate is face recognition compared to human identification?

Modern face recognition systems can be more accurate than humans at matching faces in controlled conditions — good lighting, straight-on angle, high-quality images. However, humans are often better at recognizing faces they have seen before, and humans can consider context that a system cannot. In real-world conditions with poor lighting or partial faces, accuracy varies widely depending on the system.