Local browser computer vision

See what face-api.js can do.

Detect faces, map landmarks, try a basic presence interaction, and compare two images without sending camera frames to a server.

Local processing No API key · No image storage
Demo only: This is an educational face detection and similarity demonstration. It is not secure liveness detection, identity verification, KYC, fraud prevention, or an access decision.

Live camera

Detection workspace

Camera stopped
Camera preview Start the camera to begin local analysis.
Models are ready when you are.
Active presence Try a basic challenge after starting the camera.

Face comparison

Reference vs. query

Reference imageNot selected
Reference preview
Try a sample:
Query selfieNot captured
Query preview
Use “Capture selfie” above or choose a reference-style image during testing.
Similarity distance
Demo threshold0.50
Demo resultWaiting for two usable faces

Lower distance generally means greater similarity. This threshold is configurable for demonstration and is not a production or KYC threshold.

Local activity

Event log

  1. Waiting to load face models

The log contains status only. It never records images, descriptors, or camera frames.