Face matching, live
Face recognition doesn’t compare photos. It turns a face into a list of 128 numbers and compares lists. Watch that happen live, then enrol yourself and test it, all without a single frame leaving your device.
Runs entirely on your device. Camera frames are never uploaded, stored or sent anywhere.
Press Start camera. About 7 MB of open-source models download once from 3fa.ca and then run locally with TensorFlow.js.
Camera is off.
Pipeline, live
3 · Match
Enrol a face to start matching.
Enrolled people 0 / 10
Enrol several people one after another, and every live frame is searched against all of them (1:N). Face templates are kept only in this tab’s memory. They are never uploaded or written to storage, and they are erased when you reload, leave or close the page.
- Detect A tiny single-shot detector finds face-shaped regions in each frame. Detection only says where a face is, not whose it is.
- Landmarks 68 points mark the eyes, brows, nose, mouth and jaw. They are used to normalise pose, not to recognise.
- Align The face is rotated and scaled to a canonical position. Every modern recogniser depends on this step.
- Embed A deep network maps the aligned face to a 128-number vector, trained so that the same person lands close together and different people land far apart.
- Compare Distance between vectors is the score. In this model, distances below about 0.5 usually mean the same person. Move the slider to see the trade-off.
Things to try
- Enrol, then turn your head. Watch the distance climb as pose moves away from the enrolment.
- Glasses, a hat, a smile. Some changes barely move the vector, while others matter a lot.
- Hold up a photo of yourself. It will almost certainly match. This demo has no presentation-attack detection, and the face is the easiest biometric to capture without consent.
About the model
The demo uses the open-source face-api library: a Tiny Face Detector, a 68-point landmark net, and a ResNet-34-style recognition net that outputs 128-dimensional descriptors. It dates from the late 2010s and is a fraction of the size of current state-of-the-art models (ArcFace-family networks evaluated in NIST’s Face Recognition Technology Evaluation). Treat it as an illustration of the pipeline, not a benchmark. To see how modern methods differ, read How matchers work. To see why a single threshold produces different error rates for different populations, read Reading accuracy claims.
Work with 3FA
Want the production version?
These demos use open, textbook techniques. 3FA’s production model fuses palm print with NIR vein imaging, adds presentation-attack detection, and stores only protected, revocable templates. We’d be glad to show you.