Flutter
Faceplugin ID Document Recognition Flutter SDK. On-premise OCR, MRZ, and authenticity. document_reader_sdk plugin for Android and iOS.
Fully on-premise ID Document Recognition SDK for Flutter. Package: document_reader_sdk. Android output is normalized to the iOS-shaped JSON. Parse it with Document result JSON.
Code
How to Run
Place native runtimes
Android
documentreadersdk.aar
example/android/libdocsdk/
Plugin android/libs/
iOS
docsdk.framework
ios/Frameworks/
Plugin ios/Frameworks/
Android Google Drive: documentreadersdk.aar
iOS Google Drive: docsdk.framework
License
Licenses are offline. Request a new license key for your own app.
Integrate into your own app
Then flutter pub get, copy runtimes, cd ios && pod install, and rebuild the native app.
Authenticity accepts true / false or 'normal' / 'none'. Image input: file path, file:// URI, content URI, or base64 / data: URL.
APIs
Status codes: 0 Success, 1 Invalid license, 2 Expired, 3 Not activated, 4 Init failed.
setActivation: This API is used to activate the SDK
init: This API is used to initialize the SDK
getMachineCode: This API is used to retrieve the machine code
locateDocument: This API is used to find document corners on a preview frame
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
Also: getLicenseStatus, startNewSession, recognizeResult (typed DocResult), deinit.
Request a License & Support · Contact us
FAQ
Package? document_reader_sdk.
Passport OCR? Yes. recognize / documentProcess. Typed helper: recognizeResult.
Related documentation
Last updated