About the FacePlugin ID Document Recognition SDK
The FacePlugin ID Document Recognition SDK reads passports, national ID cards and driver licenses. It detects and classifies the document, extracts printed fields with OCR, reads the MRZ and barcodes (PDF417, QR), crops the portrait, signature and ghost image, and runs consistency checks such as expiry and field validity.
It runs on your own servers through a local REST API on Linux / Docker or Windows, or on-device in Android and iOS apps with automatic capture and image-quality feedback — so identity data never has to leave your infrastructure.
Read the documentation, see the ID Document Recognition SDK product page, or start from the Linux / Docker sample on GitHub.
What the ID Document Recognition SDK does
- 01
Passports, ID cards & driver licenses
Detects and classifies the document type and issuing country.
- 02
OCR of printed fields
Name, date of birth, document number, dates of issue and expiry, nationality and more.
- 03
MRZ, barcode & QR
Reads machine-readable zones and PDF417 / QR barcodes and cross-checks them.
- 04
Portrait & signature extraction
Crops the portrait, ghost portrait and signature for face matching and records.
- 05
Verification checks
Flags expired documents and invalid or inconsistent text fields.
- 06
Image quality & auto-capture
Checks focus, glare, framing and resolution; mobile SDKs capture automatically.
ID Document Recognition SDK for every platform
Open-source sample apps and integration code on GitHub — one repository per platform, all running on-premise or on-device.
-
Linux / Docker
ID-Document-Recognition-Docker
OCR, MRZ, barcode, document verification and anti-spoofing as an on-premise REST API.
View on GitHub → -
Windows
ID-Document-Recognition-Windows
Passport, ID card and driver license OCR, MRZ, barcode/QR and face extraction.
View on GitHub → -
Android
ID-Document-Recognition-Android
Real-time ID scanning with OCR, MRZ, barcode/QR, document detection and auto-capture.
View on GitHub → -
iOS
ID-Document-Recognition-iOS
On-device ID card, passport and driver license recognition with OCR, MRZ and barcode.
View on GitHub → -
Flutter
ID-Document-Recognition-Flutter
Cross-platform ID scanning with live document detection and automatic capture.
View on GitHub → -
React Native
ID-Document-Recognition-React-Native
On-device OCR, MRZ and barcode/QR scanning with automatic document capture.
View on GitHub → -
Ionic Capacitor
ID-Document-Recognition-Ionic-Capacitor
ID card, passport and driver license scanning for Ionic Capacitor, on-device.
View on GitHub → -
Ionic Cordova
ID-Document-Recognition-Ionic-Cordova
ID scanning for Ionic Cordova with live document detection and auto-capture.
View on GitHub → -
.NET MAUI
ID-Document-Recognition-DotNet-MAUI
Cross-platform ID document scanning for .NET MAUI identity-verification apps.
View on GitHub →
Use cases
- KYC & eKYC onboarding
- Bank account opening
- Hotel & travel check-in
- Car rental
- Telecom SIM registration
- Age verification
- Marketplace seller checks
- Visitor registration
More FacePlugin demos
-
🔐 Face Recognition & Liveness demo
Try face attributes, image quality, 1:1 matching and passive liveness in one place — the same engines FacePlugin ships for on-premise and on-device deployment.
Open on Hugging Face → -
🔍 Document Liveness Detection demo
Check that a passport or ID card is a physical original — not a photo of a screen, a printout, a photocopy or a document with a swapped portrait.
Open on Hugging Face → -
🧪 FacePlugin Playground
Every FacePlugin tool in one place — face, liveness and ID document — with a side-by-side result view.
Open the Playground →
Frequently asked questions
Which documents can it read?
Passports, national ID cards and driver licenses. The engine detects the document type and issuing country before extracting fields.
What data does it extract?
Printed fields via OCR (names, dates, document number, nationality and more), the MRZ, barcodes such as PDF417 and QR, the portrait, ghost portrait and signature, plus verification and image-quality checks.
Can I scan both sides of an ID card?
Yes. Add the back as a second image; the engine combines the fields and checks from both pages.
Does it run on-premise?
Yes. Use the local REST API on Linux / Docker or Windows, or run it on-device on Android and iOS with automatic capture. Only this online demo sends images to FacePlugin's hosted API.
Can it also detect fake documents?
Yes — document liveness checks for screen replays, printed copies and photo substitution. Try it in the FacePlugin Document Liveness demo.
How do I get a license?
Contact FacePlugin at info@faceplugin.com or through faceplugin.com/contact-us with your platform and the documents you need to support.
Are the images I upload stored?
Images you submit in this demo are sent to the FacePlugin API for processing and are kept with the request. Use specimen documents or images you have the right to share.
Run id document recognition on your own infrastructure
The same engine ships as an on-premise and on-device SDK for Android, iOS, Windows and Linux — no per-request cloud dependency.