Architecture and Components

The NeuroVision KYC module verifies a user's identity from photos of a document and a face. This page describes the checks the module performs, the steps a scenario is built from and how the final session result is formed.

Document processing stages: document detection, field segmentation and text recognition (OCR)

Scenario steps

A verification scenario is built from steps in your account. Steps can be combined:

  • Document — the user takes a photo of a passport, ID card or another identity document.
  • Selfie — a photo of the user's face.
  • Selfie with document — the user holds the document; the system compares the face with the photo in the document.
  • Liveness — confirms that a live person is in front of the camera, not a photo, a screen recording or a mask.

Typical combinations: "document + selfie", "document + selfie with document + Liveness".


What is checked

Document

  • Image quality: file format (JPEG, PNG), size and resolution, lighting, the whole document in the frame.
  • Document type: the system detects the kind of document and the issuing country.
  • Text recognition (OCR): the system extracts the document fields — name, dates, number, place of birth — and validates the checksums of the machine-readable zone (MRZ).
  • Signs of forgery: a photo of a screen, a photocopy or printout, editing in a graphics editor, pasted-in or corrected fields, damage to the document, logical inconsistencies in dates and numbers.

Face

  • Face Matching: the selfie face is compared with the photo in the document and with faces from other steps of the session.
  • Age and gender consistency with the document data.
  • Signs of a forged selfie: a photo of a screen, a photocopy, a deepfake, an image generated by a neural network.

Liveness

  • Analysis of a series of frames or a video for signs of a live presence.
  • Rejection of photos, screen recordings and paper printouts.

External database checks

The document data can additionally be checked against external sources: passport validity, debts, bankruptcy, wanted lists, sanctions lists and others. The set of checks is configured in the scenario; the full list is in the catalog of checks.

The result of external database checks comes separately and does not change the session status: get it with the kyc/session/databases method or from the checks-complete webhook.


Session result

After all steps, the session gets a status:

StatusMeaning
successThe check passed
failedThe check did not pass
suspiciousThe session is marked as suspicious
exceptionProcessing ended with an error
expiredThe user did not complete the check within the link lifetime

While the check is running, the session is idle (created, processing not started) or processing.

If the check fails, the response lists error codes with the reason, for example [document] text fields not visible or [fraud] mobile device.

The codes are explained on the Errors page.

The kyc/session/status method returns the status and details for each step; the system can also notify you of session completion with a webhook. All methods are in the REST API section.