AttenTech
Identity APIs

Passive Liveness Detection

Detect spoofing without user action.

Get API AccessPrivate beta only
// OVERVIEW

How Passive Liveness Detection works

Confirm a real, live person is in front of the camera from a single selfie or video frame — no blinks, head turns, or prompts required. Passive liveness scores every capture in real time, catching printed photos, replayed video, and masks before they reach your onboarding or authentication flow.

Zero-prompt detection

Runs on a single passive frame with no challenge-response gestures, keeping onboarding and login fast while still catching spoofed captures.

Multi-attack spoof classification

Flags the specific attack vector — printed photo, screen replay, or mask — not just a pass/fail signal, so downstream teams know what they're looking at.

Confidence-scored decisions

Every check returns a calibrated liveness score alongside the verdict, so you can tune thresholds per risk tier instead of trusting a black-box boolean.

liveness
attentechth.com/api/liveness/passive
01// check liveness from a single selfie frame
02import { Liveness } from '@attentech/sdk'
03
04const liveness = new Liveness({
05 region: 'th-bangkok',
06 mode: 'passive',
07})
08
09const result = await liveness.check({
10 image: selfieFrame,
11})
12
13if (result.live) {
14 const { spoofType, score } = result
15 proceedToVerification(result)
16}
// PROCESS

How Passive Liveness Detection catches spoofing without a prompt

A single frame is enough — the model reads texture, depth cues, and reflections for signs of tampering, then classifies exactly which attack it caught (printed photo, screen replay, mask) instead of returning a bare pass/fail.

LIVENESS
SPOOF TYPE
SCORE
Capture
Analyze
Classify
Structured Output

Ready to integrate Passive Liveness Detection?

Get API access in days, or bring us in to run the full workflow for you — sovereignty by design at every step.

Get API AccessPrivate beta only