ScanDoc
← All articles

Product

Face Recognition Software for Identity Verification: How It Works and What to Look For

A selfie on a phone is compared with the photo on an ID card, with a liveness check passed and a face match confirmed

When a customer opens a bank account from their phone, checks into a hotel without visiting the desk or signs up as a driver on a mobility app, the business needs to answer a simple question: is the person in front of the camera the same person shown on the ID document? Face recognition software answers it in a few seconds, by comparing a live selfie with the photo on the passport, ID card or driver's license. Used this way, face recognition is one of the most effective tools for stopping identity fraud, because a stolen or borrowed document is useless if the face doesn't match. It's also a technology that raises fair questions about accuracy, privacy and regulation. This article explains how face recognition works for identity verification, what makes it reliable, how liveness detection stops spoofing, and what the GDPR and the EU AI Act mean for businesses that use it.

Verification or identification?

Diagram comparing 1:1 face verification, which matches one selfie to one ID photo, with 1:N face identification, which searches one face against a database of many

The term "face recognition" covers two very different uses, and it's worth being clear about which one we mean.

Face verification, also called one-to-one (1:1) matching, compares one face with one reference image to confirm a claimed identity. A customer says "I am the person in this passport", takes a selfie, and the software checks whether the two faces belong to the same person. This is what identity verification for onboarding, check-in and account security uses.

Face identification, or one-to-many (1:N) matching, searches one face against a database of many to find out who someone is. That's the kind of system used in some surveillance and law enforcement settings, and it's the one most privacy concerns and legal restrictions focus on.

ScanDoc's face recognition is used for verification: matching a customer to their own document, with their participation, for a specific purpose.

How face verification works

The process starts with the ID document. The customer scans their passport, ID card or driver's license, and the software extracts the photo from it. If the document has a chip, the photo can be read directly from it with NFC, which gives a higher-quality image that is digitally signed by the issuing country.

Next, the customer takes a selfie or a short video on their phone. Before any matching happens, liveness detection checks that this is a real, present person and not a photo, a screen or a mask. The software then detects the face in both images, converts each one into a mathematical representation of its features (often called a face template) and compares the two. The result is a similarity score, and if it's above a set threshold, the faces are judged to match.

For the customer, all of this takes a few seconds: scan your ID, look at the camera, done.

Why liveness detection matters

Face matching on its own can be fooled. A fraudster with someone's stolen ID might hold up a printed photo of the owner, play a video on a second screen, wear a mask, or, increasingly, use a deepfake. Liveness detection, also called presentation attack detection, is what stops these attacks.

There are two main approaches. Active liveness asks the user to do something, such as turn their head, blink or follow a dot on the screen, and checks the response. Passive liveness analyses a single image or short video for signs of a real person, such as depth, skin texture and reflections, without asking the user to do anything extra. Passive checks are smoother for users, while active checks add an extra layer when risk is higher, and many systems combine them. The standard for testing these systems is ISO/IEC 30107-3, and it's worth asking any provider how their liveness detection has been tested against it.

The newest attacks don't present anything to the camera at all. They inject manipulated images or video directly into the app, using virtual cameras or emulators, which is why strong systems also check that the capture genuinely comes from the device's camera. Our article on how ID scanning prevents fraud covers this in more detail.

How accurate is face recognition?

Accuracy in face verification is measured with two error rates. The false match rate is how often the system wrongly accepts two different people as a match, which is the error a fraudster hopes for. The false non-match rate is how often it wrongly rejects a genuine customer, which is the error that frustrates honest users. Raising the match threshold lowers false matches but increases false non-matches, so businesses tune the threshold to their risk: a bank opening accounts might set it stricter than a hotel confirming a booked guest.

Real-world accuracy also depends on things outside the algorithm: the quality of the document photo, lighting, the camera and how much the person has aged since the photo was taken. That's why guided selfie capture and, where possible, the high-quality chip photo make a real difference. Fairness matters too. Good providers test their systems for consistent performance across age, gender and skin tone, and independent evaluations such as those run by the US National Institute of Standards and Technology (NIST) give buyers a way to compare algorithms. Whatever system you use, a sensible process sends unclear results to a person for review rather than simply rejecting the customer.

Where face verification is used

In banking and fintech, ScanDoc for banks makes face verification a core part of digital customer onboarding, confirming that the person opening an account is the holder of the ID they've scanned. Hotels use it for contactless and late-night check-in, so a guest can verify their identity online and go straight to their room. Car rental and car-sharing companies use it to stop people renting with someone else's license, and mobility platforms use regular selfie checks to make sure the verified driver is the one actually driving, as we describe in identity verification in ride-sharing. It's also used for age verification, to stop people using an older friend's ID, and for account recovery, when a customer needs to prove who they are to regain access.

Privacy and regulation

Face data is sensitive, and the law treats it that way. Under the GDPR, biometric data used to uniquely identify a person is a special category of personal data, which means you need a specific legal basis to process it, such as explicit consent, and must protect it carefully. In practice, that means telling customers clearly what you're doing and why, using face data only for verification, keeping it no longer than necessary, and often carrying out a data protection impact assessment before you start.

The EU AI Act adds another layer, but it draws an important distinction. Remote biometric identification systems are classed as high-risk, while AI systems used purely for biometric verification, whose only purpose is to confirm that a person is who they claim to be, are excluded from that high-risk category. The timeline has also moved. The Digital Omnibus on AI, now in force, has pushed back the obligations for stand-alone high-risk AI systems. Data protection rules still apply in full either way, so the safest approach is to treat face verification as sensitive by design and take legal advice on your specific use.

What to look for in face recognition software

Start with liveness detection, because face matching without strong anti-spoofing gives a false sense of security. Ask whether it has been tested to ISO/IEC 30107-3, whether it offers passive and active options, and how it handles deepfakes and injection attacks. Then look at accuracy: how the provider measures false match and false non-match rates, how you can tune thresholds, and how the system has been tested for fairness across different groups.

The software should fit naturally with document scanning, using the document or chip photo as its reference without extra steps, and it should work well on the phones your customers actually use, with clear guidance during the selfie. Finally, check the privacy basics: what face data is stored, where it's processed, for how long and who can access it.

How ScanDoc helps

ScanDoc combines Face Recognition with document scanning in one flow. The customer scans their passport, ID card or driver's license, ScanDoc reads the data and extracts the photo, and a selfie is then matched against it.

With ID and Passport Scan, active and passive liveness detection checks that a real person is present, and NFC Verification can provide the signed chip photo for an even stronger match. It all runs through iOS and Android SDKs, web capture and a REST API, with cloud or on-premise deployment.

Request a demo to see face verification working with your own documents.

You can also try ScanDoc with your own documents or visit the ScanDoc homepage to explore the platform.

Frequently asked questions

Face recognition software analyses the features of a face in an image and compares them with another face image. For identity verification, it compares a live selfie with the photo on an ID document to confirm the person is the document holder.

Verification (1:1) confirms that one person matches one reference image, such as their own ID photo. Identification (1:N) searches one face against a database of many to find out who someone is. Identity verification for onboarding and check-in uses verification.

It stops people using stolen or borrowed documents, because the face in the selfie must match the face on the ID. Combined with liveness detection, it also stops photos, videos, masks and deepfakes from passing the check.

Liveness detection checks that a selfie comes from a real, present person rather than a photo, a screen replay, a mask or a deepfake. Active liveness asks the user to perform an action, while passive liveness works from a single image or short video without extra steps.

It can be. Biometric data used to identify people is a special category under GDPR, so you need a specific legal basis such as explicit consent, clear information for users, strong security and limited retention. A data protection impact assessment is usually advisable.

No. The AI Act treats remote biometric identification as high-risk, but systems used purely to verify that a person is who they claim to be are excluded from that high-risk category. Data protection rules still apply.

Modern systems are highly accurate in good conditions, but results depend on image quality, lighting, the age of the document photo and the threshold chosen. Look for providers that report their error rates, test for fairness and support manual review for unclear cases.

Latest articles

Ready to verify in seconds?

Start a free trial or book a walkthrough with our team.