- Required inputs: Primary document front side image.
- Optional inputs: Primary document back side image.
- Outputs: Document classification, extracted document data, anchor portrait image, and document validation results.
Capabilities
The module returns capabilities grouped into four areas: classification, image quality, extraction, and authentication.Classification capabilities
Classification identifies the document and returns its type and issuing origin. The module returns the following classification values:Image quality checks
The module runs image quality checks on both the front and back sides of the document. Each check returns one of five values:Front side checks
The following checks run on the front side image of the document:Back side checks
The following checks run on the back side image of the document, when a back image is provided:Extraction capabilities
Extraction reads the required fields from the document and derives related values, such as the subject’s age and expiry status. The module returns the following extraction values:Authentication capabilities
Authentication assesses whether the document is genuine and whether it shows signs of tampering. The module returns the following authentication values:Default outcomes
The outcome logic spans all three phases. Classification outcomes are evaluated first, then authentication/tamper risk outcomes, then extraction outcomes.Input payload
The following is a sample payload used to submit document images to the Document Verification module for processing.JSON
Sample response
The following is a sample response from the Document Verification module.JSON