Menu

Active vs passive liveness detection: how each works, what each stops, and a challenge-response check in Python
📰

Active vs passive liveness detection: how each works, what each stops, and a challenge-response check in Python

DEV Community: computervision·Ali Ahmed·14 days ago
#asO49ysV
Long article (953 words) — no AI summary yet.
Reading 0:00
15s threshold

Face liveness detection decides whether the face in front of the camera is a live person, not a photo, a screen replay or a mask. Active liveness asks the user to do something on cue (turn left, look up, blink) and checks they did it, in the right order, at human speed. Passive liveness asks nothing: a model judges a single image or a short clip from cues such as texture, depth, reflections and screen moiré. Passive is lower friction ; active is easier to explain and harder to beat with a static photo . Neither stops a deepfake injected straight into the app's video stream, which needs separate defences. Most production systems run passive on every attempt and use a short active challenge when risk is higher.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.