Authenticity Checks
The Document Reader SDK provides numerous checks, representing the advanced security techniques to verify the document's authenticity and prevent its counterfeiting.
To enable the default set of authenticity checks for the processed document, use the checkAuth
parameter:
{
"processParam": {
"checkAuth": true
}
}
Or likewise, you can enable or disable concrete authenticity checks.
See the table with the complete list of all available authenticity checks with their default values, brief descriptions, and links to code snippets and details.
Authenticity check | Default value | Brief description |
---|---|---|
Liveness → Hologram detection | true |
Check of holographic effect and the shape of hologram image. |
Liveness → Electronic device | true |
Validation of the image, taken from the electronic device's display. |
Liveness → OVI | true |
Optically Variable Ink objects check. |
Liveness → MLI | true |
Multiple Laser Images secure printing. |
Image patterns | true |
Check of the unique image patterns on the document's laminated layer. |
Photo embedding type | true |
Check of the affixed or imprinted photo. |
Barcode format | true |
Check of the barcode number, format, and data. |
Portrait comparison | true |
Comparing the photo on the document with the portrait from another source. |
UV luminescence | true |
Check of the paper and materials in UV light. |
Protection fibers | true |
Check of the specific secure fibers in mixture of the document protection material. |
Extended MRZ | true |
Thorough and multi-step check of the Machine Readable Zone. |
Extended OCR | true |
Thorough and multi-step check of the Optical Character Recognition data. |
B900 IR | true |
Infrared check of the text, printed in B900 secure ink. |
IR visibility | true |
Comparing representations of the secure elements in infrared and visible light. |
IPI text | true |
Visualizing and checking the Invisible Personal Information, applied to the holder's photo. |
Axial | true |
Using axial white light to check the material integrity. |
LetterScreen | false |
Checking the data of the (ghost) portrait according to the LetterScreen++ technology. |
Liveness
Document Liveness Check is a complex set of authenticity verifications, ensuring that the identity document is physically presented.
To enable the default set of liveness checks for the processed document, use the checkLiveness
parameter:
{
"processParam": {
"authParams": {
"checkLiveness": true
}
}
}
Or likewise, you can enable or disable concrete document liveness checks.
Document Liveness Check includes:
- Hologram detection
- Electronic device capture
- Optically Variable Ink (OVI)
- Multiple Laser Images (MLI)
Hologram Detection
In this check, the presence of holographic effect and the shape of hologram image are analyzed.
To enable, use the checkHolo
parameter:
{
"processParam": {
"authParams": {
"livenessParams": {
"checkHolo": true
}
}
}
}
Electronic Device
In this check, the image, captured by the device's camera from the computer's monitor or other external display, is validated.
To enable, use the checkED
parameter:
{
"processParam": {
"authParams": {
"livenessParams": {
"checkED": true
}
}
}
}
OVI
Optically Variable Ink objects change their color and appearance under different illumination conditions.
To enable, use the checkOVI
parameter:
{
"processParam": {
"authParams": {
"livenessParams": {
"checkOVI": true
}
}
}
}
MLI
Multiple Laser Images is the technology of secure printing, resulting in different graphics depending on the viewing angle.
To enable, use the checkMLI
parameter:
{
"processParam": {
"authParams": {
"livenessParams": {
"checkMLI": true
}
}
}
}
Image Patterns
Many personal documents have the laminated layer with unique image patterns, standing out by their shape, size, and color.
To enable, use the checkImagePatterns
parameter:
{
"processParam": {
"authParams": {
"checkImagePatterns": true
}
}
}
Photo Embedding Type
This check controls the type of embedding the photo (affixed or printed) in the document of concrete type according to the template from the database.
To enable, use the checkPhotoEmbedding
parameter:
{
"processParam": {
"authParams": {
"checkPhotoEmbedding": true
}
}
}
Barcode Format
In this check, the number and type of barcodes for the secure document are validated, together with their structure and encoded data.
To enable, use the checkBarcodeFormat
parameter:
{
"processParam": {
"authParams": {
"checkBarcodeFormat": true
}
}
}
Portrait Comparison
This check compares the photo extracted from the document data page in white light with the portrait from another source. The photos are compared with the help of Regula Face SDK.
To enable, use the checkPhotoComparison
parameter:
{
"processParam": {
"authParams": {
"checkPhotoComparison": true
}
}
}
UV Luminescence
The security documents are mostly printed on UV dull paper and must not fluoresce under ultraviolet light. Additionally, the verification reveals suspicious unevenness of the materials.
To enable, use the checkUVLuminiscence
parameter:
{
"processParam": {
"authParams": {
"checkUVLuminiscence": true
}
}
}
Protection Fibers in UV
Documents' security paper may contain specific flexible fibers in its mixture. Their size, shape, and luminescent properties under UV lighting can be assessed.
To enable, use the checkFibers
parameter:
{
"processParam": {
"authParams": {
"checkFibers": true
}
}
}
Extended MRZ
This check verifies the size of MRZ lines, their relative position, clues of possible alteration, etc.
To enable, use the checkExtMRZ
parameter:
{
"processParam": {
"authParams": {
"checkExtMRZ": true
}
}
}
Extended OCR
This check controls the quality of personal data printing and positioning.
To enable, use the checkExtOCR
parameter:
{
"processParam": {
"authParams": {
"checkExtOCR": true
}
}
}
B900 Ink in IR
The most common ink to use for the MRZ and personal data printing is B900. Infrared lighting reveals the security elements, demonstrating the high contrast level.
To enable, use the checkIRB900
parameter:
{
"processParam": {
"authParams": {
"checkIRB900": true
}
}
}
IR Visibility
This check validates the visibility of different elements (especially photo and images) under infrared light and compares to their representations in visible light.
To enable, use the checkIRVisibility
parameter:
{
"processParam": {
"authParams": {
"checkIRVisibility": true
}
}
}
IPI
This check visualizes the Invisible Personal Information, applied to the holder's photo. In most cases, the hidden data is the document number or the holder's first and last name.
To enable, use the checkIPI
parameter:
{
"processParam": {
"authParams": {
"checkIPI": true
}
}
}
Axial
This check detects the areas of the laminate film unevenness by applying the illumination scheme with coinciding angles of illumination and observation under visible white light.
To enable, use the checkAxial
parameter:
{
"processParam": {
"authParams": {
"checkAxial": true
}
}
}
LetterScreen
Some documents have the secondary (ghost) portrait formed by the wavy lines of the personal data, according to the LetterScreen++ technology.
To enable, use the checkLetterScreen
parameter:
{
"processParam": {
"authParams": {
"checkLetterScreen": true
}
}
}