Classic UI
Scanning UI
The Scanbot SDK comes with an essential camera view, additional views for extending the camera functionality and a set of the frame handler and scanner classes that handle all the camera and scanning implementation details for you. It provides a UI for MRZ scanning with guidance overlays and a camera preview.
The ScanbotCameraXView
provides fully customizable camera controls and features.
Furthermore,
And, most importantly,
Add Feature as a Dependency
MRZScanner
is available with SDK Package 2 (Data Capture Modules). You have to add the following dependencies for it:
implementation("io.scanbot:sdk-package-2:$latestVersion")
implementation("io.scanbot:sdk-mrz-assets:$latestSdkVersion")
Integration
- Classic UI component
ScanbotCameraXView
provides fully customizable camera controls and features.MrzScannerFrameHandler
gives control over how and when frames are analyzed.MrzScanner
performs scanning and MRZ data extraction on document images.FinderOverlayView
selects a specific area of the camera preview to help the user pin point the MRZ's location and thus improve the detection rate.
Take a look at our Example Apps to see how to integrate the MRZ Scanner.
- Classic UI Components: mrz-scanner
To implement the MRZ Scanner using Scanbot dedicated Android views, you need to implement an XML layout with Scanbot Camera and Finder Overlay:
loading...
Then attach the scanner and configure the view's appearance and behavior:
loading...
What do you think of this documentation?
What can we do to improve it? Please be as detailed as you like.