← Back to main demo · Liveness v1 · Document scan v2 · Liveness + doc match
Complete la captura en el óvalo. Siga las instrucciones en pantalla y el indicador de progreso.
Uses Google MediaPipe Face Landmarker (WASM + model from Google CDN) — no signup, no API key.
Active sequence: blink ×2 → turn head → smile (hold) → open mouth (hold) → hold still 5s → auto capture.
This is practice / dev only — not certified PAD.
Camera: Browsers require a secure context — https:// or http://localhost (not http://192.168…).
Embed (?embed=1 in an iframe / WebView): when capture finishes, the parent receives a
postMessage with the selfie JPEG (abis-liveness-selfie). See
doc/laravel/11-sdk-movil-webview.md in the repo.
Sigue las instrucciones
Center your face in the oval — chin near the bottom of the ellipse, eyes in the upper third.
Sitúe el rostro dentro del óvalo.
MediaPipe loads on “Start camera” (first time may take a few seconds).
Pulse Iniciar cámara; la primera vez puede tardar unos segundos.
Pulse Iniciar cámara para comenzar.
Mantén tu rostro centrado en el óvalo.
Paso 1 de 3
Follow the status line. If your face leaves the frame, progress on smile/mouth may reset. Use Reset to restart.
Siga el mensaje de estado y la barra de progreso.
Press “Start camera”, then “Begin challenges”.
Texto de la voz (personas sordas o sin audio)
If the browser never speaks: follow the Voice line — each liveness step also plays a different beep pattern (Web Audio, not TTS).
If speech fails in the browser (common on Chromium/Linux), you still get beeps and the text under “Voice”.
Natural voice uses edge-tts (neural, needs internet) via the API — install with
pip install edge-tts (already in requirements.txt). If that fails, it falls back to
espeak-ng (robotic, offline): sudo apt install espeak-ng, restart uvicorn.
You can choose Server engine below. Or use the Voice line + beeps;
or Firefox for browser TTS.
(saved in this browser)
(ignored for neural voice)
When all four steps pass, you’ll hear “hold still”, then stay steady — the blue bar tracks accumulated time with acceptable light and sharpness (not a raw 5-second countdown). If it barely moves, improve front lighting; the final phase uses slightly relaxed checks so capture can still complete. The JPEG is saved automatically (cropped to the tracked face outline when possible). A download link appears when ready — no manual capture button.
Al completar los retos, la foto se guarda sola. Aparecerá un enlace para descargarla.
Descargar foto (JPEG)