Active liveness prompts
Guide the user through blinking and turning left and right. Return which challenges completed and whether active liveness passed.
Guide the user through on-device liveness and compare a live selfie with the portrait read from an NFC passport chip.


Guide the user through blinking and turning left and right. Return which challenges completed and whether active liveness passed.
Request passive liveness alongside active guidance. The SDK returns the passive outcome when available.
Receive the selfie bytes when capture succeeds. The host app controls how the data is used and retained.
Provide the live selfie result and the NFC chip portrait to the on-device comparison. Results expose a 1–100 similarity score when available, a separate threshold result, or a failure explanation when supplied.
Identomic.face(checksPassiveLiveness: true) { face in
guard let face else { return }
Task {
let match = await Identomic.compareFace(face, with: chip)
// Handle similarity, threshold and failure separately.
}
}Yes. The selfie and liveness flow runs on its own. The SDK’s chip-portrait comparison takes a passport chip result.
It is the local model’s similarity score on a 1–100 scale. Integrators should evaluate match thresholds and performance in their own workflow.
Tell us which capture results, devices and integrations matter to your pilot.