Skip to main content

Overview

The face comparison endpoints let you determine whether two base64-encoded images contain the same person. The liveness variant also checks whether each image is of a live person (not a photo of a photo).

Face Compare

Compares two face images and returns a match result with confidence score.

Request Fields

Response


Face Compare with Liveness

Compares two face images and runs a liveness check on each image.

Request Fields

Response

The response has the same fields as Face Compare, plus a liveness result for each image. Status reflects the face comparison only, so check LivenessPassResult in each liveness result.

Liveness Result Fields

face1LivenessResult and face2LivenessResult share these fields. The LivenessResult object in other didx:verify responses uses the same fields.
Use LivenessPassResult for the pass or fail decision. LivenessResultClass classifies whether the image is suitable for liveness analysis. It doesn’t indicate whether a spoof was detected.