Face verification turns two face images into embeddings (vectors) and compares them. If their similarity is above a threshold , they're declared the same person. Every threshold makes two kinds of mistake: a false match (an impostor accepted, measured as FMR , also called FAR) and a false non-match (the real person rejected, FNMR , also called FRR). Raising the threshold lowers one and raises the other. The right threshold isn't a property of the model; it's a business decision, made from data, about which mistake costs more.
How does face verification work?
Detect and align the face in each image (the selfie and the document portrait), so eyes and mouth sit in standard positions.
Embed each face with a recognition model. Similar faces map to nearby vectors.
Compare , usually with cosine similarity.
Decide with a threshold.
This is 1:1 verification ("is this the claimed person?").…