Face Liveness Detection SDK

Face Liveness Detection SDK for Passive & Active Anti-Spoofing

Confirm the face presented to the camera belongs to a live person — not a photo, video replay, or mask — before it's trusted by your verification workflow.

Source available on GitHub. See pricing & licensing →

Smartphone showing a live face capture with a scan frame, facial mesh overlay and a verification checkmark
What it does

Presentation attack detection for the face channel

Face liveness detection analyzes a captured face image or short sequence to determine whether it originates from a live person in front of the camera, reducing the risk of spoofing with a photo, screen replay, or mask.

Passive liveness

Analyzes a single capture with no required user action beyond looking at the camera — lower friction, suited to onboarding flows where drop-off matters.

Active liveness

Prompts the user for a specific action (such as a head turn) during capture, adding an interactive challenge layer for higher-assurance flows.

How presentation attack detection works

Built to flag the presentation and injection attacks that matter today

Presentation attack detection runs as part of the liveness decision returned to your application, built to cover the full attack taxonomy defined by ISO/IEC 30107 — 2D presentation attacks, 3D presentation attacks, and digital injection attacks — not just the printed-photo case most liveness checks stop at.

3
Attack classes covered: 2D, 3D & digital injection
6
Specific spoof categories detected out of the box
2
Detection modes: passive & active liveness

Printed photos

Flags a 2D printed photo or photocopy of a face presented in place of a live person.

Digital screen replays

Flags a face played back on a phone, tablet, or monitor screen instead of a live capture.

Paper masks & cutouts

Flags flat masks and photo cutouts, including versions with cut eye or mouth openings.

3D masks

Flags silicone, resin, latex, and other 3D-printed mask materials presented in place of a live face.

Deepfake & synthetic video

Flags AI-generated, face-swapped, or otherwise synthetic video presented as a live capture.

Digital injection

Flags video streams injected directly into the capture pipeline instead of coming from a genuine camera in real time.

Key capabilities

  • ✓ Passive liveness detection
  • ✓ Active liveness detection with challenge/response
  • ✓ Presentation and injection attack detection (print, replay, mask, deepfake, and digital-injection categories)
  • ✓ Mobile SDK for on-device capture and analysis
  • ✓ Server deployment for centralized decisioning

Deployment options

Run liveness analysis on-device for immediate feedback during capture, or server-side when you need centralized policy control across many client apps. Both stay inside your infrastructure — see on-premise deployment.

Supported platforms & languages

Integrate in the stack you already use

JavaKotlinSwift Objective-CC++Python FlutterReact Native Ionic CordovaIonic Capacitor.NET
AndroidiOSWindows LinuxServer / Docker
Use cases

Where teams use the Face Liveness Detection SDK

Account onboarding

Confirm a live selfie before it's matched against an ID photo.

Step-up authentication

Add a liveness check before approving a high-risk transaction.

Fraud prevention

Reduce reliance on static face images that could be reused across fraudulent accounts.

Pairs with

Combine with Face Recognition for a complete face check

Liveness detection confirms the face is real; the Face Recognition SDK confirms whose face it is. Most identity verification workflows use both together.

See the full workflow in the Suite →
Decision diagram: face liveness and face match results merge into one decision on your infrastructure, which ends in either a pass or a manual review
FAQ

Frequently asked questions

Passive liveness analyzes a single capture with no required user action. Active liveness prompts a specific action (like a head turn) as a challenge/response step, adding friction in exchange for an additional assurance signal.
The SDK is built to detect printed photos, digital screen replays, paper masks and cutouts, 3D masks, deepfake and synthetic video, and digital injection attacks as part of the liveness decision. Independent lab test results will be published on the Security & Privacy page once completed.
Yes, where supported by the target platform, capture and analysis can run entirely on-device without a required network call.
It's designed to reduce reliance on manual review, not necessarily eliminate it. How it fits your review process depends on your own risk policy.

Evaluate the Face Liveness Detection SDK

Get a technical walkthrough with our engineering team.