iOS
Faceplugin ID Document Recognition iOS SDK. On-premise OCR, MRZ, and authenticity. docsdk.framework, setActivation, initSDK, locateDocument, recognize.
Fully on-premise ID Document Recognition SDK for iOS. Native class: DocSDK. Demo bundle: com.faceplugin.documentreader.app.
Code
Setup
Unzip
docsdk.framework.zipfrom Google Drive next toDocumentReader.xcodeproj. Engine may nest asFrameworks/dcrcore.frameworkinsidedocsdk.framework.Add
docsdk.frameworkto the project in Xcode (Embed & Sign). Bridging:#import <docsdk/DocSDK.h>.Set your Signing Team. Physical iPhone, iOS 13+, Xcode 15+.
Status codes: 0 Success, 1 Invalid license, 2 Expired, 3 Not activated, 4 Init failed.
APIs
setActivation: This API is used to activate the SDK
initSDK: This API is used to initialize the SDK
getMachineCode: This API is used to retrieve the machine code
getLicenseStatus: This API is used to read recognition and authenticity flags
locateDocument: This API is used to find document corners on a preview frame
No OCR. Overlay only.
recognize: This API is used to run FullProcess
documentRecognition: This API is used to run OCR / MRZ / barcode / image quality only
documentLiveness: This API is used to run authenticity / security only
startNewSession: This API is used to open a FullProcess session before recognize
deinitSDK: This API is used to unload the engine
Run the demo
Unzip
docsdk.framework.zipnext toDocumentReader.xcodeproj. Engine may nest asFrameworks/dcrcore.frameworkinsidedocsdk.framework.Keep demo bundle
com.faceplugin.documentreader.app.Physical iPhone, iOS 13+, Xcode 15+.
Home: Camera, Gallery, About. Result JSON matches Document result JSON.
License
Licenses are offline. Request a new license key for your own app.
Request a License & Support · Contact us
FAQ
Passport OCR on iOS? Yes. recognize returns OCR, MRZ, barcode, and crops.
Offline? Yes after setActivation / initSDK for bundle com.faceplugin.documentreader.app (or your own license key).
Related documentation
Last updated