Doc Liveness and ID Forgery
Document Liveness & ID Forgery Protection ensures secure verification, blocking deepfakes, spoofing, and camera manipulation with AI-driven detection and motion analysis.
Last updated
Document Liveness & ID Forgery Protection ensures secure verification, blocking deepfakes, spoofing, and camera manipulation with AI-driven detection and motion analysis.
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
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>
To generate your Accura Scan license contact sales@accurascan.com
Upload your license accessing "http://<yourdomain:port>" using a browser, Example is shown in the image below.

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
You can either pass image file or an image base64.
image*
file
Upload your image file
image_base64
text or string
paste your image base64 here
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
docker pull accurascan/docliveness:37.0.0docker run -dp 8043:443 --restart=always accurascan/docliveness:37.0.0