All Products
Search
Document Center

Financial Intelligence Engine:ID Recognition

Last Updated:Jun 03, 2026

ID Recognition uses intelligent algorithms to detect and extract information from identity documents. It supports remote identity authentication, automatic data entry, and other scenarios to reduce labor costs and improve processing efficiency.

The following figure shows the ID Recognition UI. Automatic capture is on the left and manual capture is on the right.

Picture 12.png Picture 10.png

Figure 1: Automatic capture on the left, manual capture on the right

Features

Document capture

Document capture takes a photo of the user’s ID and checks image quality and ID type.

ZOLOZ provides two capture methods: automatic capture and manual capture.

  • Automatic capture (recommended): The algorithm detects image clarity and automatically captures and uploads an eligible ID picture. No user tap is required.

  • Manual capture: The user taps the capture button and confirms whether the picture is clear enough.

Document anti-spoofing

Anti-spoofing detection analyzes the document image to determine whether it is genuine and identifies fraud risks such as photo prints, screen remakes, or masks. For specific ID types (such as Hong Kong China ID card and Malaysia ID card), ZOLOZ also checks security features to detect high-quality imitations.

Document OCR

Document OCR (Optical Character Recognition) extracts key fields from a document, such as the document number, name, and date of birth.

Integration modes

ID Recognition supports three integration modes. Understand integration modes.

  • Native App SDK Mode: Provides a native SDK and server-side API for Android and iOS apps.

  • Web SDK (H5) Mode: Provides a web SDK and server-side API for mobile browsers on Android and iOS, and desktop browsers on Windows and macOS.

  • API Mode: Upload document images directly through the server-side API for detection.

Workflow

The following diagram shows the ID Recognition workflow.

Picture 11.png   

Figure 2: ID Recognition use flow illustration

  1. Capture an ID picture. The user aligns their ID document with the frame guide box in the capture interface and takes a clear, complete photo. ZOLOZ supports two capture methods: automatic and manual. Note: Automatic capture provides a better user experience and captures more image data, which strengthens anti-spoofing detection. Use automatic capture if anti-spoofing is a priority.

    • Automatic capture (recommended): The algorithm checks photo clarity in real time and prompts the user to adjust the document if needed. When an eligible ID picture is detected, it is automatically captured and uploaded. No user tap is required.

Picture 12.png
Figure 3: Automatic capture

  • Manual capture: The user taps the capture button and confirms photo clarity. If the photo quality is inadequate, a pop-up prompts the user to re-capture.


Picture 13.png
Figure 4: Manual capture

  1. ID picture identification. After capture, ID pictures are uploaded to the ZOLOZ server. ID Recognition runs quality, anti-spoofing, and fraud detection algorithms to verify that the pictures are clear, complete, and genuine. It also provides OCR to extract key fields such as document number, name, and date of birth.

  2. Recognition results. ID Recognition returns document identification and anti-spoofing results.

ID Recognition results

Field name

Meaning

Description

ExtIdInfo.recognitionResult

Overall document identification result

Returns Y or N.

  • Y: Document quality and anti-spoofing checks both passed.

  • N: High risk detected; the system recommends rejection. The document type may be wrong, the document may be incomplete and unrecognizable, or anti-spoofing checks failed.

ExtIdInfo.spoofResult

Document anti-spoofing results

Anti-spoofing detection results. The returned values vary by document type. ZOLOZ supports the following detection types:

  • TAMPER_CHECK: Masking tamper detection. Y means pass, N means fail.

  • MATERIAL_CHECK: Material detection; Y means pass, N means fail.

  • SCREEN_RECAPTURE_CHECK: Screen recapture detection; Y means pass, N means fail.

  • INFORMATION_CHECK: Information verification detection. Verifies ID, name and symbols in the China Hong Kong ID card; Y means pass, N means fail.

  • SECURITY_FEATURE_CHECK: Anti-spoofing security feature detection. Detects security features in the Hong Kong ID card and the Malaysian identity card; Y means pass, N means fail.

ExtIdInfo.recognitionErrorCode

List of document recognition errors

  • NO_REQUIRED_ID: The ID picture does not match the specified ID type.

  • BLUR: The ID picture is blurred.

  • NO_FACE_DETECTED: The face that should have been detected in the specified ID picture is not detected from the uploaded ID picture.

  • NOT_REAL_DOC: The ID security detection has failed. The ID picture is detected as fake.

  • EXPOSURE: The ID picture is overexposed.

  • UNKNOWN: All other recognition errors.

ID Recognition supports Deepfake detection and full-chain AIGC detection. What is Deeper.

To learn more about ZOLOZ, contact us:https://www.zoloz.com/zoloz/getInTouch