ID Document Liveness Detection SDK for Linux & Docker
Confirm a scanned ID card, passport, or driver license is a genuine physical document – not a screen replay, printed copy, or digitally altered image – in a single Docker container on your own Linux server.
ANDERSON
GIVEN NAMESJAMES M.
DATE OF BIRTH14 MAR 1990
DOCUMENT NO.P4472109
P4472109<3UTO9003148M3009122<<<<06
Document Liveness on Mobile and Windows
This page covers the standalone Linux and Docker server, which exposes POST /api/documentLiveness on port 8086. On other platforms the same document-liveness check is a license-gated capability inside the ID Document Recognition SDK, not a separate product. Choose the integration page for your stack: Android, iOS, Windows, Flutter, React Native, Ionic Capacitor, Ionic Cordova, and .NET MAUI. Each one lists the exact build requirements, native file locations and the license capability (Recognition, Liveness or both) that unlocks the authenticity result.
Running recognition on the same server? The ID Document Recognition server for Linux bundles OCR, MRZ and barcode reading with the authenticity flag in one container.
What You Need to Run It on Linux
These are the exact minimum and recommended requirements published in the ID-Document-Liveness-Detection-Docker repository — check the repo directly for the latest version, since SDK requirements can change between releases.
Install and Activate
Install the SDK, then activate it with a license key before calling any document-liveness function.
- Docker:
docker pull faceplugin/document-liveness:latest, then run it with--shm-size=2gb --privilegedon port 8086 (mount/etc/machine-idon Linux hosts; skip on Docker Desktop). - Local (non-Docker): clone the repo,
pip install -r requirements.txt, then./run.sh. - Check
GET /api/health, get your machine code from the startup log orGET /api/machinecode, then activate withPOST /api/activateand your license key.
How Licensing Works
Licenses are fully offline and bound to a machine code – Docker and local installs get different machine codes, so request a key for whichever environment runs in production. No images or biometric data are sent to FacePlugin as part of activation or inference.
Frequently Asked Questions
Does the Linux / Docker SDK send document images to the cloud?
No. Every document-liveness check runs in a Docker container on your own server – images never leave an environment you control.
How is the SDK licensed?
Licenses are offline and bound to a machine code. Docker and local-host installs get different machine codes, so request a key for whichever environment runs in production – there are no per-call fees once licensed.
What spoof types does it catch?
Screen replays, printed copies, digitally generated forgeries, and portrait substitution, checked across photo origin, physical-document verification, digital-source detection, and security patterns. It works on both the front and back of multi-page documents.
Where can I see the full source and open an issue?
The Linux/Docker integration is maintained publicly on GitHub at github.com/Faceplugin-ltd, where you can browse the code, file issues, and track releases.
Ready to Add Document Liveness to Your Linux Stack?
Talk to our team to get a license key and a 15-day evaluation period started.