OCR Studio’s Driver License OCR SDK is an advanced solution for automated driver license scanning, data extraction, and identity verification. It captures and structures license data using OCR and PDF417 scanner SDK, supporting driver licenses from over 250 countries and territories in 100+ languages. Driver License Scanner SDK works across mobile, desktop, server, and web environments, enabling flexible integration. It scans both sides of the license with data cross-validation, performs document authentication and fraud detection, supports face matching, and enables reliable age verification. OCR SDK’s global coverage and high-precision recognition allow you to build secure KYC for emerging markets and age-restricted access workflows across diverse industries.
Global Driver License Recognition
OCR SDK instantly captures data from driver licenses in the USA, Canada, UK, Mexico, Australia, and New Zealand — in total, it supports documents from over 250 countries and territories.
Full Document Scanning
Driver License Scanner SDK recognizes both sides of the document, ensuring accuracy with AAMVA standard for data cross-validation.
Automatic Age Verification
Driver License Scanner SDK automatically extracts data from the date of birth field and validates the document holder’s age.
Regulation-Ready
GDPR-compliant OCR SDK built to meet many other stringent data protection standards.
Driver License Scanner SDK for Real-World Conditions
Instant recognition robust to glares, blurs, low light, and challenging capture angles.
Vehicle Document Support
OCR SDK scans vehicle passports and vehicle registration certificates for advanced identification.
Enhanced Security
Incorporates authentication and presentation attack detection (PAD) for secure driver license scanning.
ID scanner provides data fields recognition confidence scores, coordinates of separate objects, and extracts images of individual data fields.
Web-based integration for ID document scanner supports all modern browsers, including Chrome, Firefox, Safari, and Edge.
Our ID scanning SDK includes both REST API for low-code integration, and native APIs for C++, C#, Java, and Python to maximize efficiency.
Mobile integration is supported both natively and through popular frameworks.
ID reader SDK includes usage examples for C++, C#, Java, and Python APIs.
Native support for Android, iOS, Windows, and Linux operating systems.
Supports CPU architectures including x86, x86_64, ARMv7, ARMv8, and ARMv9 (AArch32 and AArch64).
# Python
engine_instance = ocrstudiosdk.OCRStudioSDKInstance.CreateFromPath(<PATH_TO_CONFIGURATION_FILE>)
session = engine_instance.CreateSession(<SIGNATURE>,
"{\"session_type\": \"document_recognition\", \"target_group_type\": \"default\", \"target_masks\": \"prt.drvlic.*\"}")
image = ocrstudiosdk.OCRStudioSDKImage.CreateFromFile(<PATH_TO_IMAGE>)
session.ProcessImage(image)
result = session.CurrentResult()
target = result.TargetByIndex(0)
item_it = target.ItemsBegin('string')
while not item_it.IsEqualTo(target.ItemsEnd('string')):
name = item_it.Item().Name()
value = it.Item().Value()
item_it.Step()
// Java
OCRStudioSDKInstance engine_instance = OCRStudioSDKInstance.CreateFromPath(<PATH_TO_CONFIGURATION_FILE>);
OCRStudioSDKSession session = engine_instance.CreateSession(<SIGNATURE>,
"{\"session_type\": \"document_recognition\", \"target_group_type\": \"default\", \"target_masks\": \"prt.drvlic.*\"}");
OCRStudioSDKImage image = OCRStudioSDKImage.CreateFromFile(<PATH_TO_IMAGE>);
session.ProcessImage(image);
OCRStudioSDKResult result = session.CurrentResult();
OCRStudioSDKTarget target = result.TargetByIndex(0);
for (OCRStudioSDKItemIterator item_it = target.ItemsBegin("string"); !item_it.IsEqualTo(target.ItemsEnd("string")); item_it.Step()) {
String name = item_it.Item().Name()
String value = item_it.Item().Value()
}
// C#
ocrstudio.OCRStudioSDKInstance engine_instance = ocrstudio.OCRStudioSDKInstance.CreateFromPath(<PATH_TO_CONFIGURATION_FILE>);
ocrstudio.OCRStudioSDKSession session = engine_instance.CreateSession(<SIGNATURE>,
"{\"session_type\": \"document_recognition\", \"target_group_type\": \"default\", \"target_masks\": \"prt.drvlic.*\"}");
ocrstudio.OCRStudioSDKImage image = ocrstudio.OCRStudioSDKImage.CreateFromFile(<PATH_TO_IMAGE>);
session.ProcessImage(image);
ocrstudio.OCRStudioSDKResult result = session.CurrentResult();
ocrstudio.OCRStudioSDKTarget target = result.TargetByIndex(0);
for (OCRStudioSDKItemIterator item_it = target.ItemsBegin("string"); !item_it.IsEqualTo(target.ItemsEnd("string")); item_it.Step()) {
String name = item_it.Item().Name();
String value = item_it.Item().Value();
}
// C++
std::unique_ptr<ocrstudio::OCRStudioSDKInstance> engine_instance(ocrstudio::OCRStudioSDKInstance::CreateFromPath(<PATH_TO_CONFIGURATION_FILE>));
std::unique_ptr<ocrstudio::OCRStudioSDKSession> session(engine_instance->CreateSession(<SIGNATURE>,
"{\"session_type\": \"document_recognition\", \"target_group_type\": \"default\", \"target_masks\": \"prt.drvlic.*\"}"));
std::unique_ptr<ocrstudio::OCRStudioSDKImage> image(ocrstudio::OCRStudioSDKImage::CreateFromFile(<PATH_TO_IMAGE>));
session->ProcessImage(*image);
const ocrstudio::OCRStudioSDKResult& result = session->CurrentResult();
const ocrstudio::OCRStudioSDKTarget& target = result.TargetByIndex(0);
for (auto item_it = target.ItemsBegin("string"); item_it != target.ItemsEnd("string"); item_it.Step()) {
string name = item_it.Item().Name();
string value = item_it.Item().Value();
}
authority: IMT- PORTUGAL
birth_date: 01.01.1991
birth_place: LISBOA
categories: A1, A2, B1, B
id_number: 343556534
issue_date: 02.02.2025
last_name: SAMAR
name: ANA
number: PR-5555000
For more information, please visit Developer section
Driver License Scanner SDK is a cutting-edge solution for instant and automatic driver license scanning and authentication. OCR SDK recognizes both sides of the driver license, decodes PDF417 or any other barcodes on the document, and detects any signs of manipulations. This is crucial for international identity verification, fraud countering, and age assurance workflows.
OCR SDK supports driver licenses issued in all 50 US states and 250+ other countries and territories. The system scans horizontal and vertical, booklet-style, and electronic driver licenses with any barcodes and security elements. Driver License Scanner SDK correctly recognizes documents compliant with ICAO/ISO and AAMVA standards.
Driver License Scanner SDK ensures strict data locality as it is designed as an on-premise / on-device system. Any driver license can be scanned and authenticated directly on the user’s device or within the company’s secure infrastructure with no data transmitted to external services. This helps to meet data privacy requirements set by GDPR, CCPA, PIPL, and other stringent frameworks.
No. Driver License Scanner SDK works fully offline as it does not rely on external computing resources — clouds or crowdsourcing platforms. This ensures full control over user privacy and guarantees seamless user experience even when the internet connection is not stable.
Driver License Scanner SDK detects even high-quality fake driver licenses thanks to the advanced document forensics technologies in its core. OCR SDK spots a broad range of forgeries with substituted fields and photos, masked data blocks, composited image fragments, and injected foreign elements as well as photocopies, digitally tampered images, and deepfakes.
OCR SDK performs data cross-validation by comparing information from the visually inspection zone with the data from PDF417 or any other barcode. If the driver license has an RFID/NFC chip, the chip data is also compared with the VIZ and machine-readable zone information. Any mismatches are precisely marked as the signs of document manipulation.
No. OCR SDK is designed for real-world scanning conditions and can recognize driver licenses with glares and blurs under low light and challenging capture angles. The system handles even poor-quality images with the highest accuracy and a low false acceptance rate.
The software is distributed as a set of SDK packages, which can be integrated directly inside your mobile application, desktop application, on your web page, or in your server-side infrastructure. OCR SDK runs on Android, iOS, Windows, Linux, and in web browsers through the WebAssembly technology.
For comprehensive details about our complete
range of solutions and services.
Or contact our sales team: