Skip to content
NewNew: give every check result its own path and end each one in approve, manual review or reject.
myid

Face match with a document or with the civil registry: which to use

myid has two face match services: selfie against the document photo, and selfie against the civil registry photo. This post covers how they differ, how to set thresholds and where liveness fits.

By myid team3 min read

Face match checks that the person taking the selfie is who they claim to be. Two myid services do this and they differ in the reference photo: one compares the selfie with the portrait on an identity document, the other with the photo held by the civil registry.

The two services side by side

FeatureFace matchFace match with civil registry
Reference photoThe portrait on the document the customer uploadsThe civil registry photo, found by national code and birth date
PrerequisiteAn identity document step before itNone
OutcomesMatch, Suspicious, No matchMatch, Suspicious, No match, Inquiry failed
SettingsMatch threshold and maximum attemptsMatch threshold and suspicious threshold
Face match in the myid catalog

Face match against the document photo

The customer uploads an identity document, then takes a selfie. You set the match threshold from 0 to 100%, 80 by default; scores below it count as suspicious. Maximum attempts goes from 1 to 10, 3 by default.

Face match with the civil registry

Here the customer uploads no document. myid fetches their photo from the civil registry by national code and birth date and compares it with the selfie. You set two numbers:

  • Match threshold, 80% by default. A similarity at or above it is a match.
  • Suspicious from, 60% by default. Between this value and the match threshold the result is suspicious; below it, no match.

The customer cannot change the registry photo, so a forged card or an edited portrait has no effect. On the other hand the registry photo can be old and score lower, which is what the suspicious band is for.

Why to add a liveness check

Face match only says two photos look alike. If someone holds a printed photo or a screen up to the camera, face match alone cannot tell. A liveness check does:

  • Passive mode: the customer records a short selfie video.
  • Active mode: the customer follows prompts on screen.
  • Difficulty is low, medium or high.

Which one to choose

  • If your customers are Iranian and have a national code, face match with the civil registry is simpler: no upload, and the reference photo cannot be forged.
  • If you also serve foreign customers or collect a document anyway, put face match after the document step.
  • Either way, send Suspicious to manual review, not to reject. Tune the threshold after you have seen some real cases.
What match threshold should I use?

Start with the default of 80%. If many cases go to manual review and most of them are fine, lower it a little. If wrong cases get through, raise it.

Does civil registry face match need an identity document?

No. It needs the national code, birth date and a selfie. The reference photo comes from the registry, so the service has no prerequisite and can sit anywhere in the flow.

What happens if the civil registry does not answer?

The outcome is Inquiry failed. Send it to manual review, or in conditional mode route the customer to face match against a document instead.

Build your first verification flow today

Sign up and start from the ready flow for your industry. Questions? Talk to our sales team.

Face match vs civil registry face match: thresholds compared · myid