ID Document Recognition SDK for Linux & Docker
Run OCR, MRZ, and barcode document recognition in a single Docker container on your own Linux server, exposed as a local REST API. No document images or extracted data ever leave your infrastructure.
WILLIAMS
GIVEN NAMESETHAN L.
DATE OF BIRTH22 SEP 1992
DOCUMENT NO.X8295147
X8295147<7AUR9209226M3205184<<<<03
What You Need to Run It on Linux
These are the exact minimum and recommended requirements published in the ID-Document-Recognition-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 recognition function – every platform follows this same activate-then-initialize pattern.
- Pull and run the Docker image:
docker pull faceplugin/document-reader:latest. - Run the container with
--shm-size=2gb --privilegedon port 8082, mounting/etc/machine-id(skip this mount on Docker Desktop). - Check
GET /api/healthto confirm it's up, then send your machine code to FacePlugin for a license key and activate withPOST /api/activate.
Server Deployment Notes
Details from the ID-Document-Recognition-Docker README.
Shared memory is required
Run with --shm-size=2gb: the runtime extracts dcr.fpk to /dev/shm. Keep --privileged and the /etc/machine-id volume as documented; omit the machine-id mount on Docker Desktop.
Native glibc requirement
A non-Docker run needs glibc 2.38 or newer, for example Ubuntu 24.04. Check with ldd --version. No GPU is needed.
Port and first run
The API starts at port 8082 and prints a machine code. You do not need a license to start it; product endpoints unlock after activation.
Optional chip reading
The SDK also supports optional NFC / RFID chip reading and document authenticity checks for remote identity verification.
Several containers, one license
To run multiple containers on one Linux host with a shared machine code, follow the multi-container notes in the FacePlugin docs.
For a standalone authenticity-only service see the ID document liveness server. Windows hosts can use the Windows SDK.
How Licensing Works
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. License tiers cover Recognition, Liveness, or both. Unlimited on-premises inference, no per-call fees.
Frequently Asked Questions
Does the Linux SDK send document data to the cloud?
No. Every stage of document recognition runs on your own server or directly on the device, depending on the platform – scanned documents never leave an environment you control.
How is the SDK licensed?
Licenses are offline and bound to a machine code. Start the container, read the machine code from the log or GET /api/machinecode, send it to FacePlugin, then activate with POST /api/activate. Docker and native installs have different machine codes.
Where can I see the full source and open an issue?
The Linux 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 Recognition to Your Linux App?
Talk to our team to get a license key and a 15-day evaluation period started.