On-the-Edge
Mobile OCR SDK

Native mobile SDK for ID document capture, face matching, and NFC chip reading directly on smartphones and tablets.
Flexible Mobile Integration
Embed OCR into enterprise and consumer-facing mobile applications, with reliable performance across a wide range of devices — including entry-level smartphones and tablets.
Real-World Capture Resilience
Maintain reliable ID scanning across blur, glare, shadows, camera movement, imperfect framing, and other challenging mobile capture scenarios.
On-Device Data Residency
Perform ID scanning locally inside the application, without transmitting document images and extracted data to external parties.
Offline-Ready Performance
Run ID scanning, face matching, and NFC chip data extraction even when internet access is weak, unstable, or unavailable.

Privacy-First Mobile OCR SDK

Privacy-First Mobile OCR SDK
  • ID scanning, face matching, and RFID/NFC chip reading run exclusively on the end-user’s device
  • Your clients’ data is never shared with us or any third parties
  • OCR capabilities run entirely in the device’s RAM, with no data being logged or stored
  • ID scanning is fully automated, with no human operators (HITL), crowdsourcing, or Mechanical Turk involvement
Privacy-First Mobile OCR SDK
Verify the functionality by disabling the network connection during your testing

Mobile OCR SDK Capabilities

ID document scanning
ID document scanning
Extracts data from passports, national IDs, driver’s licenses, residence permits, and other documents of 4,000 templates
NFC chip reading
NFC chip reading
Reads the chip in any ICAO/ISO-compliant biometric passport or other eID
Bank card scanning
Bank card scanning
Captures card number, expiry date, cardholder name, and security elements from a webcam or mobile camera
Selfie ID verification
One-shot KYC
Matches the user’s face with the photo on their ID — runs entirely on the end-user’s device

Benefits of Mobile OCR by OCR Studio

  • The technology works seamlessly in iOS and Android mobile and desktop applications
  • Mobile integration is supported both natively and through popular frameworks
  • The solution expands your application’s capabilities with fast, built-in ID scanning
  • Extensive customer support: our experts help integrate Mobile OCR into any application setup
// 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\": \"chn.passport.*\"}");
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++
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\": \"chn.passport.*\"}"));
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()) {
  std::string name = item_it.Item().Name();
  std::string value = item_it.Item().Value();
  }
// JavaScript
importScripts("ocrstudiosdk_wasm.js")
const OCRSTUDIOSDK = await OCRStudioSDK(module)
instance = new OCRSTUDIOSDK.OCRStudioSDKInstance(
  "{ \"enable_lazy_initialization\": false, \"enable_delayed_initialization\": true, \"initialization_num_threads\": 1}"
)
const spawnedSession = instance.CreateSession(
  <SIGNATURE>, "{\"session_type\": \"document_recognition\", \"target_group_type\": \"default\", \"target_masks\": \"chn.passport.*\"}")
// <input type="file" id="file-selector"> must exist in HTML
fileSelector = document.querySelector("#file-selector")

fileSelector.addEventListener('change', async (event) => {
  const file = event.target.files[0];
  const { buffer, width, height } = await getImageBuffer(file);
  const rawData = new Uint8Array(buffer);
  let fileBufPtr = 0;
  const cap = Math.max(rawData.byteLength * 1.5, 8 * 1024 * 1024);
  fileBufPtr = OCRSTUDIOSDK._malloc(cap);
  OCRSTUDIOSDK.HEAPU8.set(rawData, fileBufPtr);
  const channels = rawData.byteLength / (height * width);
  const image = OCRSTUDIOSDK.CreateFromRawBuffer(fileBufPtr, rawData.byteLength, width, height, channels >= 3 ? rawData.byteLength / height : width, channels);
  spawnedSession.ProcessImage(image);
  const result = spawnedSession.CurrentResult();
});
For more information, please visit Developer section

Mobile OCR SDK for Everyday App Workflows

Enterprise & Field Service Apps
Enterprise & Field Service Apps
Let employees instantly scan customers’ IDs directly in corporate applications during field service, inspections, deliveries, and other off-site operations.
Consumer-Facing Mobile Apps
Consumer-Facing Mobile Apps
Add instant ID scanning to remote KYC and onboarding flows, reducing manual data entry and helping customers complete registration directly in the app.
Social Media & Messaging Apps
Social Media & Messaging Apps
Use document-based age checks in social networks, messaging platforms, and other digital services with age-restricted features or content.
Banking & Fintech Apps
Banking & Fintech Apps
Scan bank cards and payment barcodes directly inside mobile banking and fintech applications to simplify everyday financial operations.
Travel & Hospitality Apps
Travel & Hospitality Apps
Enable passport scanning and data extraction from other ID documents during mobile check-in, booking, and guest registration to pre-fill customer details and speed up service.
Mobility & Rental Apps
Mobility & Rental Apps
Capture driver’s licenses and other identity documents in car rental, car sharing, ride-hailing, and mobility applications to automate customer data entry.

More from the Blog

On-Device ID Card Scanner for KYC: Turn Any Smartphone Into a Secure Onboarding Tool
How to Turn a Smartphone Into a Secure Portable Passport Scanner
New York SAFE for Kids Act: Privacy-First Age Verification with OCR Studio’s On-Device ID Scanning

Frequently Asked Questions

What is Mobile OCR SDK? arrow icon

Mobile OCR SDK is an on-device document recognition technology designed for integration into mobile and desktop applications. OCR Studio Mobile OCR SDK enables document capture, data extraction, and other OCR capabilities directly inside the application, without relying on external recognition services.

Does Mobile OCR SDK run entirely on the end-user device? arrow icon

Yes. ID scanning, face matching, and NFC chip reading run locally on the device, so document images, extracted data, and selfies do not need to be sent to external servers. The SDK supports CPU architectures including x86, x86_64, ARMv7, ARMv8, and ARMv9, with AArch32 and AArch64 support.

Which applications can Mobile OCR SDK be integrated into? arrow icon

Mobile OCR SDK can be embedded into iOS and Android applications, including consumer-facing apps and enterprise software for employees and field teams. It can also be deployed across desktop application environments, allowing businesses to add the same OCR capabilities to different application formats.

What documents can I scan with Mobile OCR SDK? arrow icon

The SDK supports passport scanning, national ID cards scanning, driver’s license scanning, and residence permits scanning. In total, the SDK supports over 4,000 document templates issued in 240+ countries and territories. It can also be used for bank card scanning, barcode and QR code recognition, face matching, and NFC chip reading.

Does Mobile OCR SDK support NFC chip reading? arrow icon

Yes. Mobile OCR SDK can be combined with OCR Studio NFC chip reading technology. Data retrieved from the RFID/NFC chip can be cross-validated with information extracted from the visual inspection zone (VIZ) and machine-readable zone (MRZ) to identify inconsistencies between document data sources.

Which input formats does Mobile OCR SDK support? arrow icon

Mobile OCR SDK can recognize documents from images, screenshots, and live video streams. The technology is designed for real-world capture conditions and delivers reliable recognition even with blur, glare, shadows, camera movement, imperfect framing, and other common image-quality issues.

Can Mobile OCR SDK work offline? arrow icon

Yes. All OCR capabilities can run directly on the device without an internet connection. This makes the SDK suitable for applications used in areas with weak or unstable connectivity, as well as field-service scenarios where network access may be unavailable.

Can Mobile OCR SDK be customized for my workflow? arrow icon

Yes. The SDK can be adapted to different document recognition and identity workflows, including custom requirements for supported documents, extracted data, and integration scenarios.

Get in Touch With Us Today!

For comprehensive details about our complete
range of solutions and services.

Or contact our sales team:

sales@ocrstudio.ai

    * Required information
    By clicking the “Send request” button, you consent to data processing