FacePlugin
Get in Touch
Age Verification

Age Verification from ID Documents and Face Images

Calculate a customer’s exact age from the date of birth on their government-issued ID, or estimate their age from a single face image – or combine both in one flow, all running on infrastructure you control.

Exact age from ID date of birthAge estimation from a faceLiveness-backed
Woman on her phone with a face-detection frame showing an estimated age range of 22 to 25
Live person
Over 18 ✓
Overview

Two Ways to Confirm Age – Use One or Both

Age-restricted sales and services – alcohol, tobacco and vaping products, online gambling, adult content, age-gated social platforms – need more than a self-reported birthdate checkbox. FacePlugin gives you two complementary checks. The first reads the date of birth printed on a passport, driver’s license, or national ID card and calculates the customer’s exact age. The second estimates age directly from a face image, so most adults can pass an age gate with a quick selfie and no document at all.

Both checks are backed by face liveness detection, so a printed photo, screen replay, or someone else’s face can’t be used to pass. Use document-based age calculation where you need a precise, auditable result, facial age estimation where speed and minimal data collection matter most, or chain them together: estimate first, and ask for an ID only when the estimate is too close to call.

Age from ID Documents

Extract the date of birth from the document and calculate the customer’s exact age as of today.

Date of birth read via OCR, MRZ, and PDF417 barcode Fields cross-checked to flag tampered or inconsistent documents Exact age compared against your threshold – 18, 21, or any other Selfie matched to the ID photo to confirm ownership

Best for: account opening, regulated onboarding, and any check that needs a precise, auditable result.

Age Estimation from a Face

Estimate a customer’s age from a single face image – no document, no typing, no data entry.

Estimated age returned from one selfie or camera frame Liveness detection blocks photos, screens, and masks No name or date of birth collected for customers who clearly pass Configurable buffer above your threshold before a check passes

Best for: fast checkout age gates, content access, kiosks, and low-friction sign-up.

Capabilities

Everything an Age Check Needs

Licensed once, run on infrastructure you control, with no per-check fees.

Date-of-birth extraction

Read the date of birth from passports, driver’s licenses, and ID cards using OCR, MRZ, and barcode data.

Exact age calculation

Turn the extracted date of birth into an exact age and a clear pass or fail against your minimum age.

Facial age estimation

Estimate age from a face image for a fast, document-free age gate.

Face match to ID

Confirm the person presenting the ID is its actual owner, not someone borrowing an older sibling’s card.

Liveness detection

Block printed photos, screen replays, and masks in both the selfie and the ID-match step.

On-premises processing

Face images and document data stay on your own servers or devices – nothing is sent to a third-party cloud.

How It Works

A Layered Age Check

Start with the fastest check and step up to a document only when it’s needed. You can also run either step on its own.

1

Take a Selfie

The customer looks at the camera. Liveness detection confirms a real, present person.

2

Estimate Age

The SDK estimates age from the face. Customers clearly above your threshold plus buffer pass right away.

3

Step Up to ID

If the estimate is close to or below the threshold, the customer photographs a government-issued ID.

4

Calculate & Match

The date of birth is read and exact age calculated, and the selfie is matched to the ID photo.

FAQ

Frequently Asked Questions

Can FacePlugin estimate age from a selfie alone, with no ID?

Yes. Facial age estimation returns an estimated age from a single face image, with liveness detection to make sure it’s a real person in front of the camera. Because any estimate has a margin of error, most deployments set a buffer above the legal age – for example, passing anyone estimated well over 18 – and ask the remaining customers for an ID.

How is age calculated from an ID document?

The ID Document Recognition SDK reads the date of birth from the document’s visual text, MRZ, and barcode, and cross-checks them for consistency. Your application then calculates the exact age as of the current date and compares it with your minimum age requirement.

Should I use ID-based verification or facial age estimation?

Use ID-based age calculation when you need an exact, auditable age, such as for regulated onboarding. Use facial age estimation when speed and minimal data collection matter most. Many teams combine them: estimate first, and request an ID only when the estimate is too close to the threshold.

Where are face images and ID data processed?

On infrastructure you control – your own servers, private cloud, or supported mobile devices. FacePlugin SDKs don’t send images or document data to a third-party cloud service.

Does this guarantee compliance with age-verification laws?

FacePlugin provides the age-verification mechanism: reading a real ID’s date of birth, matching it to the person presenting it, and estimating age from a face. Whether a given method satisfies a specific law or jurisdiction’s requirements is a legal question for your compliance team to confirm – FacePlugin does not provide a compliance guarantee.

Does it work for one-time purchases as well as account sign-up?

Yes – both facial age estimation and ID-based age calculation work whether you’re gating a single checkout or a new account registration.

Powered By

SDKs behind this solution

Related Industries

Age Verification Across Industries

Ready to Add Age Verification?

Talk to our team about your workflow — we’ll point you to the right SDK combination and get a 15-day evaluation license started.