This stands for ID document liveness detection, ID document liveness check, ID document anti-spoofing, ID document fraudulent check, fraud prevention, biometric fraud by mitigating biometric fraud.
Features
System Requirement
1. Windows
CPU:2 cores or more (Recommended: 2 cores)
RAM:4 GB or more (Recommended: 8 GB)
HDD: 4 GB or more (Recommended: 8 GB)
OS: Windows 7 or later
Architecture:x64
2. Linux
CPU:2 cores or more (Recommended: 2 cores)
RAM:4 GB or more (Recommended: 8 GB)
HDD: 4 GB or more (Recommended: 8 GB)
OS:Ubuntu 20.04 or later
Architecture:x64
How to Run SDK from Docker Image
pull docker image
run docker
SDK License
The Docker image utilizes KBY-AI's SDK, which requires a license for each machine or instance on which it runs.
To get a machine code (HWID) for license, run the following command:
To request the license, please provide us with the machine code (HWID) obtained from your console.
We offer lifetime license(perpetual license) tied to machine code (HWID) from the server. The license is available for one-time payment.
API can be tested through Postman based on the following endpoint details.
1. Processing Image with File
API endpoint: <base URL>/process_image
Method: POST
Content-type: multipart/form-data
Request Parameters:
Parameter
Type
Description
image
File
ID document image file with *.jpg or *.png extension
Request example
2. Processing with Base64-Encoded String
API endpoint: <base URL>/process_image_base64
Method: POST
Content-type: application/json
Request Parameters:
Parameter
Type
Description
base64
String
The base64-encoded string of the ID document image
Request example
API Response Description in JSON
1. portraitReplace:
Type: Float
Description: A score indicating the likelihood that the portrait on the ID document has been tampered with or replaced. Higher values (closer to 1) suggest the portrait is likely original, while lower values may indicate potential tampering.
2. printedCopy:
Type: Float
Description: A score that assesses whether the document is a printed copy rather than an original document. Values close to zero suggest the document might be a printed copy, while higher values indicate originality.
3. screenReply:
Type: Float
Description: A score that determines if the document was displayed on a screen rather than being a physical ID. Lower values (closer to zero) imply a higher likelihood that the document is displayed on a screen.
4. Result status:
Type: String
Description: Indicates the status of the liveness check on the document. "Ok" typically means that the document passed initial verification. Other statuses could indicate different levels of authenticity or potential issues with the document.
Status: Ok, Too close to camera!, Too close to border!, Document cropped!, Too small!, Multiple documents, Is Colorless!, Document not found!, Unknown