ID Liveness

ID Liveness Protection ensures secure verification, blocking deepfakes, spoofing, and camera manipulation with AI-driven detection and motion analysis.

Steps to Install and Run the ID Liveness Docker

Step 1:

Pull Accura ID Liveness Docker image using the command docker pull accurascan/docliveness:<latest tag>

Visit https://hub.docker.com/r/accurascan/docliveness to check the latest version available

Example:
docker pull accurascan/docliveness:30.0.0

Step 2:

Run the docker by using the command: sudo docker run -dp port-you-want-accuraliveness-to-run-on:443 -- restart=always accurascan/docliveness:<latest tag>

Example
docker run -dp 8043:443 --restart=always accurascan/docliveness:30.0.0

Step 3:

To generate your Accura Scan license contact [email protected]

Upload your license accessing "http://<yourdomain:port>" using a browser, Example is shown in the image below.

Step 4:

Use https://your-domain-or-ip.com:port/doc_liveness.php (POST request) to access the API, an example post request as shown below.

POST https://yourdomain:port/doc_liveness.php

To view country_code and card_code for any card visit https://accurascan.com/documents-supported-api

Request Body

Name
Type
Description

image*

file

Upload your image file

isface*

front/back

put card side either the card image is front or back

country_code*

COL

put country_code of the card image

card_code*

CLMID

put card_code of the card image

passport*

true/false

if image is a passport put true else put false

webcam*

true/false

if image is captured from a webcam put true else if image is captured from a mobile put false

The preferred threshold is 55%, meaning that if an image achieves a score above this threshold, the ID shown is considered Live; otherwise, it is identified as a Spoof.

Last updated