The biometric system
Biometrics recognises people by their physical characteristics, such as the face or the voice, or by their behaviour, such as the way they sign. Each characteristic suits different security and usability requirements. MobbID supports two: face and voice.
Recognising a person is not enough: the system must also make sure that the person is really there and that the sample has not been forged. MobbID follows the architecture of ISO/IEC 30107-1, which adds presentation attack detection to the classic recognition process, and protects the capture path against injection attacks.
Face images (JPEG, PNG) or a short video (MP4). The SDKs and the Gateway guide the user in real time so the face is centred, close enough and well lit.
Capture
The capture subsystem acquires the biometric sample: an image or a video of the face, or a voice recording.
| Channel | Face | Voice |
|---|---|---|
| Android and iOS SDKs, Capacitor | Camera capture with real-time guidance | — |
| Web Gateway | Camera capture in the browser, with real-time guidance | — |
| Server API | Images or video sent by your backend | Recordings sent by your backend |
The SDKs and the Gateway control the whole capture, which allows MobbID to verify that the sample comes from a genuine camera. When your backend sends the samples, it is responsible for the integrity of its own capture. See Injection attacks.
Quality
Most recognition errors are caused by poor samples rather than by the comparison algorithm. MobbID checks every sample before using it: lighting, pose, size and occlusions in the face, and noise and amount of speech in the voice. Failed controls are reported in the qaControls of the operation, so your app can ask the user for a better sample.
See the illustrated controls for face and voice.
Presentation attack detection
A presentation attack is an artefact shown to the sensor to impersonate someone: a printed photo, a video on a screen, a mask or a recorded voice. Presentation attack detection (PAD), also known as liveness detection, determines whether the sample comes from a live person. MobbID's PAD is passive: the user does not have to blink, turn the head or repeat a phrase.
You select the liveness method in each operation with livenessMethod; the operation returns the liveness score and the threshold applied. See Attack detection.
Templates
Biometric modelling transforms the sample into a feature vector: a set of numbers that captures the most distinctive characteristics of the person. MobbID calls it the template. Deep neural networks trained on large, diverse datasets produce templates that remain stable under changes in lighting, ageing or partial occlusion, while still distinguishing between very similar people.
MobbID stores the template when it enrols a user, and compares it in later operations. With the template endpoints, you can also extract templates, store them in your own systems and send them in each operation.
Comparison and decision
The comparison measures the similarity between two templates and returns a score. A decision threshold turns the score into a yes or no answer: above the threshold, both samples are considered to belong to the same person. The threshold determines the balance between security and convenience. See Operations & thresholds.