Scanbot Document and Barcode Scanner SDK for Capacitor
Add enterprise-grade document and barcode scanning as well as data capture functionalities to your app in no time
The Scanbot Document and
Barcode Scanner SDK for Capacitor enables you to easily
implement scanning, document creation, and data extraction functionalities for your apps on iOS and Android.
Access the available cameras on the mobile device, choose the interface, configure the settings, and let your users
easily scan any document, barcode, or other data in your application.
Benefit from advanced machine-learning based features like automatic scanning, perspective correction, user guidance,
automated cropping, multiple export formats like PDF, TIFF, JPEG; blur detection, image filters, encryption,
and much more...
Check out the demo.
Documentation & Example App
To integrate this module into your application please follow the steps in our
documentation
and check out our example app.
Changelog
For a detailed list of the changes included in each version, please see the
changelog.
Trial License
The Scanbot SDK will run without a license for one minute per session! To get an unrestricted, "no-strings-attached" 7-day trial license, please submit the Trial License Form on our website. If you need more time to test our SDK, you can also submit our Proof of Concept Form – giving you a free trial period of 30 days.
Please kindly note that a trial license can only be used in a development and staging environment. You are not allowed to publish your app to the App Store, Play Store or any 3rd party Android App Store with a trial license.
Free Developer Support
We provide free "no-strings-attached" developer support for the implementation & testing of the Scanbot SDK. If you encounter technical issues with integrating the Scanbot SDK or need advice on choosing the appropriate framework or features, please visit our Support Page.
Install
npm install capacitor-plugin-scanbot-sdk
npx cap sync
API
startDocumentScanner(...)
startDocumentScanner(configuration: DocumentScannerConfiguration) => Promise<DocumentScannerResult>
Returns: Promise<DocumentScannerResult>
closeDocumentScanner()
closeDocumentScanner() => Promise<void>
startCroppingScreen(...)
startCroppingScreen(args: { page: Page; configuration: CroppingConfiguration; }) => Promise<CroppingResult>
Returns: Promise<CroppingResult>
closeCroppingScreen()
closeCroppingScreen() => Promise<void>
startMrzScanner(...)
startMrzScanner(configuration: MrzScannerConfiguration) => Promise<MrzResult>
Returns: Promise<MrzResult>
closeMrzScanner()
closeMrzScanner() => Promise<void>
startBarcodeScanner(...)
startBarcodeScanner(configuration: BarcodeScannerConfiguration) => Promise<BarcodeResult>
Returns: Promise<BarcodeResult>
closeBarcodeScanner()
closeBarcodeScanner() => Promise<void>
startBatchBarcodeScanner(...)
startBatchBarcodeScanner(configuration: BatchBarcodeScannerConfiguration) => Promise<BarcodeResult>
Returns: Promise<BarcodeResult>
closeBatchBarcodeScanner()
closeBatchBarcodeScanner() => Promise<void>
startEHICScanner(...)
startEHICScanner(configuration: HealthInsuranceCardScannerConfiguration) => Promise<HealthInsuranceCardScannerResult>
Returns: Promise<HealthInsuranceCardScannerResult>
closeEHICScanner()
closeEHICScanner() => Promise<void>
startTextDataScanner(...)
startTextDataScanner(configuration: TextDataScannerConfiguration) => Promise<TextDataScannerResult>
Returns: Promise<TextDataScannerResult>
closeTextDataScanner()
closeTextDataScanner() => Promise<void>
startLicensePlateScanner(...)
startLicensePlateScanner(configuration: LicensePlateScannerConfiguration) => Promise<LicensePlateScannerResult>
Returns: Promise<LicensePlateScannerResult>
closeLicensePlateScanner()
closeLicensePlateScanner() => Promise<void>
startMedicalCertificateRecognizer(...)
startMedicalCertificateRecognizer(configuration: MedicalCertificateRecognizerConfiguration) => Promise<MedicalCertificateRecognizerResult>
Returns: Promise<MedicalCertificateScannerResult>
closeMedicalCertificateRecognizer()
closeMedicalCertificateRecognizer() => Promise<void>
startGenericDocumentRecognizer(...)
startGenericDocumentRecognizer(configuration: GenericDocumentRecognizerConfiguration) => Promise<GenericDocumentRecognizerResult>
Returns: Promise<GenericDocumentRecognizerResult>
closeGenericDocumentRecognizer()
closeGenericDocumentRecognizer() => Promise<void>
startCheckRecognizer(...)
startCheckRecognizer(configuration: CheckRecognizerConfiguration) => Promise<CheckRecognizerResult & BaseSdkResult>
Returns: Promise<CheckRecognizerResult & BaseSdkResult>
closeCheckRecognizer()
closeCheckRecognizer() => Promise<void>
initializeSDK(...)
initializeSDK(options: InitializationOptions) => Promise<InitializeSDKResult & BaseSdkResult>
Returns: Promise<InitializeSDKResult & BaseSdkResult>
getLicenseInfo()
getLicenseInfo() => Promise<GetLicenseInfoResult & BaseSdkResult>
Returns: Promise<GetLicenseInfoResult & BaseSdkResult>
detectBarcodesOnImage(...)
detectBarcodesOnImage(args: DetectBarcodesOnImageArguments) => Promise<DetectBarcodesOnImageResult & BaseSdkResult>
Returns: Promise<DetectBarcodesOnImageResult & BaseSdkResult>
detectBarcodesOnImages(...)
detectBarcodesOnImages(args: DetectBarcodesOnImagesArguments) => Promise<DetectBarcodesOnImagesResult & BaseSdkResult>
Returns: Promise<DetectBarcodesOnImagesResult & BaseSdkResult>
applyImageFilter(...)
applyImageFilter(args: { imageFileUri: string; filter: ImageFilter; }) => Promise<ApplyImageFilterResult & BaseSdkResult>
Param | Type |
---|
args | { imageFileUri: string; filter: ImageFilter; } |
Returns: Promise<ApplyImageFilterResult & BaseSdkResult>
applyImageFilterOnPage(...)
applyImageFilterOnPage(args: { page: Page; filter: ImageFilter; }) => Promise<ApplyImageFilterOnPageResult & BaseSdkResult>
Returns: Promise<Page & BaseSdkResult>
getImageData(...)
getImageData(args: { imageFileUri: string; }) => Promise<GetImageDataResult & BaseSdkResult>
Param | Type |
---|
args | { imageFileUri: string; } |
Returns: Promise<GetImageDataResult & BaseSdkResult>
rotateImage(...)
rotateImage(args: { imageFileUri: string; degrees: number; }) => Promise<RotateImageResult & BaseSdkResult>
Param | Type |
---|
args | { imageFileUri: string; degrees: number; } |
Returns: Promise<RotateImageResult & BaseSdkResult>
createPage(...)
createPage(args: { imageUri: string; }) => Promise<CreatePageResult & BaseSdkResult>
Param | Type |
---|
args | { imageUri: string; } |
Returns: Promise<Page & BaseSdkResult>
removePage(...)
removePage(args: { page: Page; }) => Promise<RemovePageResult & BaseSdkResult>
Param | Type |
---|
args | { page: Page; } |
Returns: Promise<RemovePageResult & BaseSdkResult>
rotatePage(...)
rotatePage(args: { page: Page; times: number; }) => Promise<RotatePageResult & BaseSdkResult>
Param | Type |
---|
args | { page: Page; times: number; } |
Returns: Promise<Page & BaseSdkResult>
setDocumentImage(...)
setDocumentImage(args: { page: Page; imageUri: string; }) => Promise<SetDocumentImageResult & BaseSdkResult>
Param | Type |
---|
args | { page: Page; imageUri: string; } |
Returns: Promise<Page & BaseSdkResult>
detectDocument(...)
detectDocument(args: { imageFileUri: string; }) => Promise<DetectDocumentResult & BaseSdkResult>
Param | Type |
---|
args | { imageFileUri: string; } |
Returns: Promise<DetectDocumentResult & BaseSdkResult>
detectDocumentOnPage(...)
detectDocumentOnPage(args: { page: Page; }) => Promise<DetectDocumentOnPageResult & BaseSdkResult>
Param | Type |
---|
args | { page: Page; } |
Returns: Promise<Page & BaseSdkResult>
estimateBlur(...)
estimateBlur(args: { imageFileUri: string; }) => Promise<EstimateBlurResult & BaseSdkResult>
Param | Type |
---|
args | { imageFileUri: string; } |
Returns: Promise<EstimateBlurResult & BaseSdkResult>
extractImagesFromPdf(args: ExtractImagesFromPdfArguments) => Promise<ExtractImagesFromPdfResult & BaseSdkResult>
Returns: Promise<ExtractImagesFromPdfResult & BaseSdkResult>
extractPagesFromPdf(args: ExtractPagesFromPdfArguments) => Promise<ExtractPagesFromPdfResult & BaseSdkResult>
Returns: Promise<ExtractPagesFromPdfResult & BaseSdkResult>
recognizeCheck(...)
recognizeCheck(args: { imageFileUri: string; }) => Promise<RecognizeCheckResult & BaseSdkResult>
Param | Type |
---|
args | { imageFileUri: string; } |
Returns: Promise<CheckRecognizerResult & BaseSdkResult>
recognizeMrz(...)
recognizeMrz(args: { imageFileUri: string; }) => Promise<RecognizeMRZResult & BaseSdkResult>
Param | Type |
---|
args | { imageFileUri: string; } |
Returns: Promise<RecognizeMRZResult & BaseSdkResult>
refreshImageUris(...)
refreshImageUris(args: { pages: Page[]; }) => Promise<RefreshImageUrisResult & BaseSdkResult>
Param | Type |
---|
args | { pages: Page[]; } |
Returns: Promise<RefreshImageUrisResult & BaseSdkResult>
getOCRConfigs()
getOCRConfigs() => Promise<GetOCRConfigsResult & BaseSdkResult>
Returns: Promise<GetOCRConfigsResult & BaseSdkResult>
cleanup()
cleanup() => Promise<BaseSdkResult>
Returns: Promise<BaseSdkResult>
getFilteredDocumentPreviewUri(...)
getFilteredDocumentPreviewUri(args: { page: Page; filter: ImageFilter; }) => Promise<GetFilteredDocumentPreviewUriResult & BaseSdkResult>
Returns: Promise<GetFilteredDocumentPreviewUriResult & BaseSdkResult>
performOCR(...)
performOCR(args: { imageFileUris: string[]; languages: string[]; options: { outputFormat?: OCROutputFormat; }; }) => Promise<PerformOCRResult & BaseSdkResult>
Param | Type |
---|
args | { imageFileUris: string[]; languages: string[]; options: { outputFormat?: OCROutputFormat; }; } |
Returns: Promise<PerformOCRResult & BaseSdkResult>
createPDF(...)
createPDF(args: { imageFileUris: string[]; pageSize: PDFPageSize; }) => Promise<CreatePDFResult & BaseSdkResult>
Param | Type |
---|
args | { imageFileUris: string[]; pageSize: PDFPageSize; } |
Returns: Promise<CreatePDFResult & BaseSdkResult>
writeTIFF(...)
writeTIFF(args: { imageFileUris: string[]; options: { oneBitEncoded?: boolean; dpi?: number; compression?: TIFFCompression; }; }) => Promise<WriteTIFFResult & BaseSdkResult>
Param | Type |
---|
args | { imageFileUris: string[]; options: { oneBitEncoded?: boolean; dpi?: number; compression?: TIFFCompression; }; } |
Returns: Promise<WriteTIFFResult & BaseSdkResult>
getStoredPageIds()
getStoredPageIds() => Promise<{ pageIds: string[]; }>
Returns: Promise<{ pageIds: string[]; }>
getPageImageUris(...)
getPageImageUris(args: { preview: boolean; kind: PageFileType; pageIds: string[]; }) => Promise<{ uris: (string | undefined)[]; }>
gets the uris of the requested pages
Param | Type |
---|
args | { preview: boolean; kind: PageFileType; pageIds: string[]; } |
Returns: Promise<{ uris: (string)[]; }>
getPageById(...)
getPageById(args: { pageId: string; }) => Promise<Page>
Returns the page with the given pageId.
Param | Type | Description |
---|
args | { pageId: string; } | the pageId of the page that should be returned |
Returns: Promise<Page>
Interfaces
DocumentScannerResult
Prop | Type |
---|
status | Status |
pages | Page[] |
Page
SDK Page
Prop | Type | Description |
---|
pageId | string | A string identifying the page in the internal page file storage |
polygon | PolygonPoint[] | The page's cropping polygon as calculated by a document detection operation or as set by the cropping UI. Modifying the polygon will change the polygon as shown in the cropping UI but will not automatically re-crop the original image |
detectionResult | DetectionStatus | The document detection result status for the operation that produced the page |
pageImageSource | PageImageSource | The image source |
filter | ImageFilterType | The Image Filter that was applied on the page image |
documentImageSizeLimit | Size | The value that was set for documentImageSizeLimit , which limits the maximum size of the document image. |
originalImageFileUri | string | File URI of the original image |
documentImageFileUri | string | File URI of the cropped document image (if document detection was successful) |
originalPreviewImageFileUri | string | File URI of a screen-sized preview of the original image |
documentPreviewImageFileUri | string | File URI of a screen-sized preview of the document image (if document detection was successful) |
PolygonPoint
Polygon Point
Prop | Type | Description |
---|
x | number | Polygon point X |
y | number | Polygon point Y |
Size
Standard size object
Prop | Type | Description |
---|
width | number | Width parameter |
height | number | Height parameter |
DocumentScannerConfiguration
Prop | Type | Description |
---|
acceptedAngleScore | number | The minimum score in percent (0 - 100) of the perspective distortion to accept a detected document. Default is 75.0. |
acceptedSizeScore | number | The minimum document width or height in percent (0 - 100) of the screen size to accept a detected document. Default is 80.0. |
autoSnappingButtonHidden | boolean | Controls whether the auto-snapping toggle button is hidden or not. |
autoSnappingButtonTitle | string | Title of the auto-snapping toggle button. |
autoSnappingEnabled | boolean | When auto-snapping is enabled the document scanner will take a photo automatically when a document is detected, conditions are good and the auto-snapping time-out elapses. In this mode the user can still tap the shutter button to snap a document. |
autoSnappingSensitivity | number | Controls the auto-snapping speed. Sensitivity must be within the 0..1 range. A value of 1.0 triggers automatic capturing immediately, a value of 0.0 delays the automatic by 3 seconds. The default value is 0.66 (2 seconds) |
autoSnappingDelay | number | The minimum delay in seconds between two consecutive automatic image captures. iOS only. |
bottomBarBackgroundColor | string | The background color of the bottom shutter-bar. |
bottomBarButtonsColor | string | The color of the title of all buttons in the bottom shutter-bar (Cancel button, etc.), as well as the camera permission prompt button. |
cameraModule | CameraModule | The preferred camera module (default - BACK) |
cameraBackgroundColor | string | The color of the camera background (relevant only when the camera preview mode is CameraPreviewMode.FIT_IN). |
cameraPreviewMode | CameraPreviewMode | Preview mode of the camera. Fit-In or Fill-In. |
cameraUnavailableExplanationText | string | String being displayed on the label describing that the app is in split mode and needs to go fullscreen to work with camera. iOS only. |
cancelButtonHidden | boolean | Whether the cancel button is hidden or not. iOS only. |
cancelButtonTitle | string | Title of the cancel button. |
defaultPageFilter | ImageFilterType | The default image filter type for new documents pages. Defaults to ImageFilterTypeNone. |
detectorMode | DocumentDetectorMode | The mode of the document detector to be used for document outline detection. Defaults to ML_BASED. iOS only. For Android, use the Scanbot SDK initializer. |
enableCameraButtonTitle | string | Title of the button that opens the screen where the user can allow the usage of the camera by the app. |
enableCameraExplanationText | string | Text that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera. |
flashEnabled | boolean | Controls whether the flash should be initially enabled. The default value is FALSE. |
forceUserGuidance | boolean | Shows the user guidance elements if autosnapping is disabled. |
ignoreBadAspectRatio | boolean | Sets whether to ignore the OK_BUT_BAD_ASPECT_RATIO detection status. By default BadAspectRatio is not ignored. |
imageScale | number | The image scaling factor. The factor must be within the 0..1 range. A factor of 1 means that the resulting images retain their original size. When the factor is less than 1, resulting images will be made smaller by that factor. By default the scale is 1. |
multiPageButtonHidden | boolean | Controls whether the multi-page toggle button is hidden or not. |
multiPageButtonTitle | string | Title of the multi-page mode toggle button. |
multiPageEnabled | boolean | Controls multi-page mode. When enabled, the user can take multiple document photos before closing the screen by tapping the page counter button. When disabled, the screen will be closed immediately after the first document photo is made. The default value is FALSE. |
orientationLockMode | OrientationLockMode | UI Interface orientation lock mode |
pageCounterButtonTitle | string | Title suffix of the button that finishes the document scanning when multi-page scanning is enabled. The button's title has the format "# Pages", where '#' shows the number of images captured up to now and the suffix "Pages" is set using this method. |
photoQualityPriorization | CapturePhotoQualityPrioritization | The priorization of still image quality and capturing speed. Defaults to CapturePhotoQualityPrioritizationBalanced. If you experience lots of blurry still images try to set this property to CapturePhotoQualityPrioritizationQuality. Note: Has no effect on devices prior to iOS 13.0!. iOS only. |
polygonBackgroundColor | string | The background color of the detected document outline when the document's angle, size or aspect ratio is not yet sufficiently good. (All net.doo.snap.lib.detector.DetectionResult with OK_BUT_XXX). |
polygonBackgroundColorOK | string | The background color of the detected document outline when we are ready to snap OK. |
polygonColor | string | The color of the detected document outline when the document's angle, size or aspect ratio is not yet sufficiently good. (All detection statuses in net.doo.snap.lib.detector.DetectionResult that have the OK_BUT_XXX prefix). |
polygonColorOK | string | The color of the detected document outline when we are ready to snap OK. |
polygonLineWidth | number | Width of the detected document outline. |
polygonCornerRadius | number | The radius to use when drawing rounded corners of the polygon. Default is 8.0. |
polygonAutoSnapProgressColor | string | Stroke color of polygon auto snap progress animation. Default is green. Can't be nil. |
polygonAutoSnapProgressLineWidth | number | Line width of polygon auto snap progress animation. Default is 5.0. |
polygonAutoSnapProgressEnabled | boolean | Whether polygon auto snap progress animation is enabled or not. Default is true. |
requiredAspectRatios | FinderAspectRatio[] | An optional array of aspect ratios the documents have to conform to. |
shutterButtonAutoInnerColor | string | The inner color of the shutter button in auto-snapping mode. |
shutterButtonAutoOuterColor | string | The background color of the shutter button in auto-snapping mode. |
shutterButtonIndicatorColor | string | The indicator color of the shutter button in auto-snapping mode. (iOS Only) |
shutterButtonManualInnerColor | string | The foreground color of the shutter button in manual mode. |
shutterButtonManualOuterColor | string | The background color of the shutter button in manual mode. |
stopsCameraSessionWhenDisappeared | boolean | The camera session will be stopped entirely, when the receiver disappears and restarts when the receiver reappears if set to True else will pause the delivery of video frames and QR Codes. Defaults to True. iOS only. |
textHintBadAngles | string | Text hint that will be shown when the current detection status is OK_BUT_BAD_ANGLES |
textHintBadAspectRatio | string | Text hint that will be shown when the current detection status is OK_BUT_BAD_ASPECT_RATIO |
textHintNothingDetected | string | Text hint that will be shown when the current detection status is ERROR_NOTHING_DETECTED |
textHintOffCenter | string | The text being displayed on the user-guidance label, when a document was detected, but its center is too far away from the image center. |
textHintOK | string | Text hint that will be shown when the current detection status is OK |
textHintTooDark | string | Text hint that will be shown when the current detection status is ERROR_TOO_DARK |
textHintTooNoisy | string | Text hint that will be shown when the current detection status is ERROR_TOO_NOISY |
textHintTooSmall | string | Text hint that will be shown when the current detection status is OK_BUT_TOO_SMALL |
topBarBackgroundColor | string | The background color of the top toolbar. |
topBarButtonsActiveColor | string | The color of all active toggle buttons in the toolbar. |
topBarButtonsInactiveColor | string | The color of all inactive toggle buttons in the toolbar. |
userGuidanceBackgroundColor | string | The background color of the user guidance hints. |
userGuidanceTextColor | string | The text color of the user guidance hints. |
userGuidanceFontSize | number | Font size of the user guidance. Default is 17.0. (iOS only) |
documentImageSizeLimit | Size | Limits the maximum size of the document image. If width or height are zero, this property is effectively ignored. |
shutterButtonHidden | boolean | Hides the shutter button if set to TRUE. Shows it otherwise. Defaults to FALSE. If set to TRUE, auto-snapping is enabled and the property autoSnappingEnabled of the behaviour configuration will have no effect. Also the auto-snapping button will be hidden. |
textHintEnergySavingActive | string | The text being displayed on the user-guidance label, when the scanners energy saver is activated. iOS only. |
maxNumberOfPages | number | Maximum number of pages to scan. Ignored when set to null, or when multiPageEnabled is FALSE. Default value is null. |
useButtonsAllCaps | boolean | Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only. |
accessibilityConfiguration | DocumentScannerAccessibilityConfiguration | Allows you to customize the accessibility configuration for the Document Scanner UI |
FinderAspectRatio
Finder aspect ratio
Prop | Type | Description |
---|
width | number | The width component of the aspect ratio. |
height | number | The height component of the aspect ratio. |
DocumentScannerAccessibilityConfiguration
Document scanner accessibility configuration
Prop | Type | Description |
---|
flashButtonAccessibilityLabel | string | Text, that is used as an accessibility label for the flash button. |
flashButtonAccessibilityHint | string | Text, that is used as an accessibility hint for the flash button. |
multiPageButtonAccessibilityLabel | string | Text, that is used as an accessibility label for the multi-page button. |
multiPageButtonAccessibilityHint | string | Text, that is used as an accessibility hint for the multi-page button. |
autoSnappingButtonAccessibilityLabel | string | Text, that is used as an accessibility label for the auto-snapping button. |
autoSnappingButtonAccessibilityHint | string | Text, that is used as an accessibility hint for the auto-snapping button. |
cancelButtonAccessibilityLabel | string | Text, that is used as an accessibility label for the cancel button. |
cancelButtonAccessibilityHint | string | Text, that is used as an accessibility hint for the cancel button. |
pageCounterButtonAccessibilityLabel | string | Text, that is used as an accessibility label for the page-amount button. |
pageCounterAccessibilityHint | string | Text, that is used as an accessibility hint for the page-amount button. |
shutterButtonAccessibilityLabel | string | Text, that is used as an accessibility label for the shutter button. |
shutterButtonAccessibilityHint | string | Text, that is used as an accessibility hint for the shutter button. |
CroppingResult
CroppingConfiguration
Prop | Type | Description |
---|
cancelButtonTitle | string | Title of the cancel button. |
hintTitle | string | Text of the edit screen hint. |
hintTitleColor | string | Color of the edit screen hint text. |
backgroundColor | string | Background color of the screen. |
rotateButtonTitle | string | Title of the Rotate button. |
resetButtonTitle | string | Title of the Reset button. |
detectButtonTitle | string | Title of the Detect button. |
doneButtonTitle | string | Title of the Done button. |
rotateButtonHidden | boolean | Changes the visibility of the Rotate button. |
detectResetButtonHidden | boolean | Changes the visibility of Detect and Reset buttons. |
orientationLockMode | OrientationLockMode | UI Interface orientation lock mode |
polygonColor | string | Default color of the cropping outline. |
anchorPointsColor | string | Default color of the cropping draggable elements. |
polygonColorMagnetic | string | Outline color of magnetically snapped edges. |
polygonLineWidth | number | Width of the detected document outline. |
topBarBackgroundColor | string | The background color of the top toolbar. |
topBarButtonsActiveColor | string | The color of all active toggle buttons in the toolbar. |
bottomBarBackgroundColor | string | The background color of the bottom shutter-bar. |
bottomBarButtonsColor | string | The color of the title of all buttons in the bottom shutter-bar (Cancel button, etc.), as well as the camera permission prompt button. |
useButtonsAllCaps | boolean | Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only. |
swapTopBottomButtons | boolean | Swap top and bottom buttons on the screen |
accessibilityConfiguration | CroppingAccessibilityConfiguration | Allows you to customize the accessibility configuration for the Cropping UI |
CroppingAccessibilityConfiguration
Cropping screen accessibility configuration
Prop | Type | Description |
---|
cancelButtonAccessibilityLabel | string | Text, that is used as an accessibility label for the cancel button |
cancelButtonAccessibilityHint | string | Text, that is used as an accessibility hint for the cancel button |
doneButtonAccessibilityLabel | string | Text, that is used as an accessibility label for the done button |
doneButtonAccessibilityHint | string | Text, that is used as an accessibility hint for the done button. |
detectButtonAccessibilityLabel | string | Text, that is used as an accessibility label for the detect button |
detectButtonAccessibilityHint | string | Text, that is used as an accessibility hint for the detect button |
resetButtonAccessibilityLabel | string | Text, that is used as an accessibility label for the reset button |
resetButtonAccessibilityHint | string | Text, that is used as an accessibility hint for the reset button |
rotateButtonAccessibilityLabel | string | Text, that is used as an accessibility hint for the rotate button |
rotateButtonAccessibilityHint | string | Text, that is used as an accessibility hint for the rotate button |
MrzResult
MrzScannerConfiguration
Prop | Type | Description |
---|
cameraModule | CameraModule | The preferred camera module (default - BACK) |
cameraOverlayColor | string | Background color outside of the finder window. |
cancelButtonTitle | string | Title of the cancel button. |
cancelButtonHidden | boolean | Whether the cancel button is hidden or not. iOS only. |
enableCameraButtonTitle | string | Title of the button that opens the screen where the user can allow the usage of the camera by the app. |
enableCameraExplanationText | string | Text that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera. |
finderLineColor | string | Foreground color of the detection overlay. |
finderLineWidth | number | Width of finder frame border. Default is 2. |
finderTextHint | string | String being displayed as description. |
finderTextHintColor | string | Foreground color of the description label. |
finderAspectRatio | FinderAspectRatio | Aspect ratio of finder frame (width \ height), which is used to build actual finder frame. Default is 7 - which is good for standard machine readable zones. |
flashEnabled | boolean | Controls whether the flash should be initially enabled. The default value is FALSE. |
orientationLockMode | OrientationLockMode | UI Interface orientation lock mode |
successBeepEnabled | boolean | Controls whether to play a beep sound after a successful detection. Default value is TRUE. |
topBarBackgroundColor | string | The background color of the top toolbar. |
topBarButtonsActiveColor | string | The color of all active toggle buttons in the toolbar. |
topBarButtonsInactiveColor | string | The color of all inactive toggle buttons in the toolbar. iOS only. |
useButtonsAllCaps | boolean | Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only. |
replaceCancelButtonWithIcon | boolean | If true , replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only. |
cameraPreviewMode | CameraPreviewMode | Preview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only |
BarcodeResult
Prop | Type |
---|
status | Status |
barcodes | BarcodeResultField[] |
BarcodeResultField
AAMVADocumentFormat
AAMVA Document Format
Prop | Type | Description |
---|
headerRawString | string | Header Raw String |
fileType | string | File Type |
issuerIdentificationNumber | string | Issuer Identification Number |
aamvaVersionNumber | string | AAMVA Version Number |
jurisdictionVersionNumber | string | Jurisdiction Version Number |
numberOfEntries | number | Number of entries |
subfiles | AAMVADocumentSubfile | Sub-files |
AAMVADocumentSubfile
AAMVA Document Sub-File
Prop | Type | Description |
---|
subFileType | string | Sub-file type |
subFileRawHeader | string | Sub-file raw header |
fields | AAMVADocumentSubfileField[] | Sub-file fields |
AAMVADocumentSubfileField
AAMVA Document Sub-File Field
Prop | Type | Description |
---|
type | AAMVARecordFieldType | AAMVA Document sub-file Record Field Type |
typeString | string | AAMVA Document sub-file Field Type String |
value | string | AAMVA Document sub-file Field value |
rawValue | string | AAMVA Document sub-file Field raw value |
BoardingPassDocumentFormat
Boarding Pass Document Format
Prop | Type | Description |
---|
numberOfLegs | number | Number of legs |
electronicTicket | boolean | True if electronic ticket, false otherwise |
securityData | string | Security Data |
legs | BoardingPassLeg[] | Legs |
BoardingPassLeg
Boarding Pass Leg
Prop | Type | Description |
---|
fields | BoardingPassLegField[] | Boarding Pass Leg Fields |
BoardingPassLegField
Boarding Pass Leg Field
GS1DocumentFormat
GS1 Document Format
Prop | Type | Description |
---|
fields | GS1DocumentField[] | GS1 Document fields |
GS1DocumentField
GS1 Document Field
Prop | Type | Description |
---|
rawValue | string | Field raw value |
applicationIdentifier | string | Application Identifier |
dataTitle | string | Data Title |
fieldDescription | string | Field description |
standard | boolean | True if it is standard, false otherwise |
validationStatus | GS1SystemElementValidationStatus | Validation Status |
IDCardPDF417DocumentFormat
ID Card PDF417 Document Format
Prop | Type | Description |
---|
fields | IDCardPDF417DocumentField[] | ID Card PDF417 Document Fields |
IDCardPDF417DocumentField
ID Card PDF417 Document Field
MedicalCertificateDocumentFormat
Medical Certificate Document Format
Prop | Type | Description |
---|
fields | MedicalCertificateDocumentField[] | Medical Certificate Document Fields |
MedicalCertificateDocumentField
Medical Certificate Document Field
MedicalPlanDocumentFormat
Medical Plan Document Format
Prop | Type | Description |
---|
GUID | string | Identifier |
currentPage | number | Current page (index) |
totalNumberOfPages | number | Total number of pages |
documentVersionNumber | string | Document version number |
patchVersionNumber | string | Patch version number |
languageCountryCode | string | Language country code |
patient | MedicalPlanPatientInformation | Patient Information |
doctor | MedicalPlanDoctorInformation | Doctor Information |
subheadings | MedicalPlanStandardSubheading[] | Subheadings |
MedicalPlanPatientInformation
Medical Plan Patient Information
Prop | Type | Description |
---|
fields | MedicalPlanPatientField[] | Medical Plan Patient Fields |
MedicalPlanPatientField
Medical Plan Patient Field
MedicalPlanDoctorInformation
Medical Plan Doctor Information
Prop | Type | Description |
---|
fields | MedicalPlanDoctorField[] | Medical Plan Doctor Information Fields |
MedicalPlanDoctorField
Medical Plan Doctor Field
MedicalPlanStandardSubheading
Medical Plan Standard Subheading
Prop | Type | Description |
---|
fields | MedicalPlanStandardSubheadingField[] | Subheading Fields |
generalNotes | string[] | General Notes |
medicines | MedicalPlanMedicine[] | Medicines |
prescriptions | MedicalPlanPrescription[] | Prescriptions |
MedicalPlanStandardSubheadingField
Medical Plan Standard Subheading Field
MedicalPlanMedicine
Medical Plan Medicine
Prop | Type | Description |
---|
fields | MedicalPlanMedicineField[] | Medical Plan Medicine Fields |
substances | MedicalPlanMedicineSubstance[] | Medical Plan Medicine Substances |
MedicalPlanMedicineField
Medical Plan Medicine Field
MedicalPlanMedicineSubstance
Medical Plan Medicine Substance
Prop | Type | Description |
---|
fields | MedicalPlanMedicineSubstanceField[] | Medical Plan Medicine Substance Fields |
MedicalPlanMedicineSubstanceField
Medical Plan Medicine Substance Field
MedicalPlanPrescription
Medical Plan Prescription
Prop | Type | Description |
---|
fields | MedicalPlanPrescriptionField[] | Medical Plan Prescription Fields |
MedicalPlanPrescriptionField
Medical Plan Prescription Field
SEPADocumentFormat
SEPA Document Format
Prop | Type | Description |
---|
fields | SEPADocumentFormatField[] | SEPA Document Format Fields |
SEPADocumentFormatField
SEPA Document Format Field
SwissQRCodeDocumentFormat
Swiss QR Code Document Format
Prop | Type | Description |
---|
fields | SwissQRCodeDocumentField[] | Swiss QR Code Document Fields |
version | SwissQRCodeVersion | Swiss QR Code Version |
SwissQRCodeDocumentField
Swiss QR Code Document Field
Prop | Type | Description |
---|
type | SwissQRCodeDocumentFieldType | Swiss QR Code Document Field Type |
value | string | Swiss QR Code Document Field Value |
typeHumanReadableString | string | Swiss QR Code Document Field Human-readable String |
VCardDocumentFormat
vCard Document Format
Prop | Type | Description |
---|
fields | VCardDocumentFormatField[] | vCard Document Format Fields |
VCardDocumentFormatField
vCard Document Field
Prop | Type | Description |
---|
type | VCardDocumentFormatFieldType | vCard Document Field Type |
typeModifiers | string[] | vCard Document Field Type Modifiers |
rawText | string | vCard Document Field Raw Text |
values | string[] | vCard Document Field Values |
BarcodeScannerConfiguration
Prop | Type | Description |
---|
acceptedDocumentFormats | BarcodeDocumentFormat[] | An optional array of barcode document formats that act as a detection filter. By default all supported document formats will be detected. |
cameraOverlayColor | string | Background color of the detection overlay. |
cameraModule | CameraModule | The preferred camera module (default - BACK) |
cameraZoomFactor | number | The relative initial zoom level of the camera in the range [0,1], where 0 is zoomed out and 1 is zoomed in. Default value is 0.0. |
cancelButtonHidden | boolean | Whether the cancel button is hidden or not. iOS only. |
cancelButtonTitle | string | String being displayed on the cancel button. |
engineMode | EngineMode | Barcode scanner engine mode (NEXT_GEN or LEGACY). Default is NEXT_GEN. |
enableCameraButtonTitle | string | Title of the button that opens the screen where the user can allow the usage of the camera by the app. |
enableCameraExplanationText | string | Text that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera. |
finderLineColor | string | Foreground color of the detection overlay. |
finderLineWidth | number | Width of finder frame border. Default is 2. |
finderTextHint | string | String being displayed as description. |
finderTextHintColor | string | Foreground color of the description label. |
finderAspectRatio | FinderAspectRatio | Aspect ratio of finder frame (width \ height), which is used to build actual finder frame. Default is 1 - it is a square frame, which is good for QR capturing. |
flashButtonInactiveColor | string | Foreground color of the flash button when flash is off. |
flashEnabled | boolean | Whether flash is toggled on or off. |
focusLockEnabled | boolean | Disables auto-focus and locks the lens at the specified focus lock lens position. Default value is false. iOS only. For Android, minFocusDistanceLock can be used. |
focusLockPosition | number | The position of the lens. Values can be between 0.0f (minimum focusing distance) and 1.0f (maximum focusing distance). The value will be clamped to [0.0f, 1.0f]. The default value is 0.0. iOS only. For Android, minFocusDistanceLock can be used. |
orientationLockMode | OrientationLockMode | UI Interface orientation lock mode |
minimumTextLength | number | Optional minimum required text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only. |
maximumTextLength | number | Optional maximum text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only. |
minFocusDistanceLock | boolean | Lock focus distance withing minimum possible range |
minimum1DBarcodesQuietZone | number | Optional minimum required quiet zone on the barcode. Measured in modules (the size of minimal bar on the barcode). The default is 10. NOTE - This feature works on ITF barcodes only. |
stripCheckDigits | boolean | With this option enabled, the scanner removes checks digits for UPC, EAN and MSI Plessey codes. Has no effect if both single and double digit MSI Plessey checksums are enabled. The default is false |
successBeepEnabled | boolean | Whether scanner screen should make a sound on successful barcode detection. |
topBarBackgroundColor | string | Background color of the top bar. |
topBarButtonsColor | string | Foreground color of the cancel button. |
barcodeFormats | BarcodeFormat[] | Accepted barcode formats |
useButtonsAllCaps | boolean | Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only. |
replaceCancelButtonWithIcon | boolean | If true , replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only. |
cameraPreviewMode | CameraPreviewMode | Preview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only |
cameraZoomRange | ZoomRange | The range of valid camera zoom factors. Default value is (1.0; 3.0). iOS only. For Android, minFocusDistanceLock can be used. |
autoCancelTimeout | number | Sets auto close timer in seconds. 0 = disabled and it is the default value. Android only |
gs1DecodingEnabled | boolean | When set to true , the scanner assumes that the barcode can be a GS1 barcode. Turn it off, if you don't want to see decoded FNC1 characters ("]C1" and ASCII char 29). The default value is true . NOTE - Currently works for CODE128 barcodes only! |
msiPlesseyChecksumAlgorithm | MSIPlesseyChecksumAlgorithm | The checksum algorithm for MSI Plessey barcodes. The default value is Mod10. |
lowPowerMode | boolean | If true , enabled the mode which slightly decreases the scanning quality and the energy consumption, and increases the scanning speed. If false - mode is disabled. The default is false . Android only. |
codeDensity | CodeDensity | The expected density of QR codes in an image. |
barcodeImageGenerationType | BarcodeImageGenerationType | The type of barcode image generation. |
initialScanDelay | number | Scanning delay after scanner appearance in seconds. Defaults to 0 secs. |
delayAfterScan | number | Freezes a preview after a scan for a given amount of seconds. Defaults to 0 secs. Android only. |
doubleTapToZoomEnabled | boolean | When this property is set to true, the zoom can be activated by double tapping somewhere in the receivers view. iOS only. |
pinchToZoomEnabled | boolean | When this property is set to true, the zoom can be activated by a pinch gesture somewhere in the receivers view. iOS only. |
shouldAnimateZooming | boolean | Defines, if zooming in or out should be animated. iOS only. |
overlayConfiguration | SelectionOverlayConfiguration | The selection overlay configuration. |
ZoomRange
Defines a range for zooming
Prop | Type | Description |
---|
minZoom | number | The minimum zoom scale. Defaults to 1.0. |
maxZoom | number | The maximum zoom scale. Defaults to 3.0. |
SelectionOverlayConfiguration
Barcode Selection Overlay configuration
Prop | Type | Description |
---|
overlayEnabled | boolean | Whether the barcode selection overlay is enabled or not. |
automaticSelectionEnabled | boolean | Whether the barcode is selected automatically when being detected or not. |
textFormat | BarcodeOverlayTextFormat | Define the way of how to show barcode data with selection overlay. |
polygonColor | string | The color of the polygon in the selection overlay. |
textColor | string | The color of the text in the selection overlay. |
textContainerColor | string | The color of the texts background in the selection overlay. |
highlightedPolygonColor | string | The color of the polygon in the selection overlay, when highlighted. |
highlightedTextColor | string | The color of the text in the selection overlay, when highlighted. |
highlightedTextContainerColor | string | The color of the texts background in the selection overlay, when highlighted. |
BatchBarcodeScannerConfiguration
Prop | Type | Description |
---|
acceptedDocumentFormats | BarcodeDocumentFormat[] | An optional array of barcode document formats that act as a detection filter. By default all supported document formats will be detected. |
cameraOverlayColor | string | Background color of the detection overlay. |
cameraModule | CameraModule | The preferred camera module (default - BACK) |
cameraZoomFactor | number | The relative initial zoom level of the camera in the range [0,1], where 0 is zoomed out and 1 is zoomed in. The default value is 0. |
cameraZoomRange | ZoomRange | The range of valid camera zoom factors. Default value is (1.0; 3.0). iOS only. |
cancelButtonHidden | boolean | Whether the cancel button is hidden or not. iOS only. |
cancelButtonTitle | string | String being displayed on the cancel button. |
doubleTapToZoomEnabled | boolean | When this property is set to true, the zoom can be activated by double tapping somewhere in the receivers view. iOS only. |
pinchToZoomEnabled | boolean | When this property is set to true, the zoom can be activated by a pinch gesture somewhere in the receivers view. iOS only. |
shouldAnimateZooming | boolean | Defines, if zooming in or out should be animated. iOS only. |
engineMode | EngineMode | Barcode scanner engine mode (NEXT_GEN or LEGACY). Default is NEXT_GEN. |
finderLineColor | string | Foreground color of the detection overlay. |
finderLineWidth | number | Width of finder frame border. Default is 2. |
finderTextHint | string | String being displayed as description. |
finderTextHintColor | string | Foreground color of the description label. |
finderAspectRatio | FinderAspectRatio | Aspect ratio of finder frame (width \ height), which is used to build actual finder frame. Default is 1 - it is a square frame, which is good for QR capturing. |
flashEnabled | boolean | Whether flash is toggled on or off. |
focusLockEnabled | boolean | Disables auto-focus and locks the lens at the specified focus lock lens position. The default value is false. |
focusLockPosition | number | The position of the lens. Values can be between 0.0f (minimum focusing distance) and 1.0f (maximum focusing distance). The value will be clamped to [0.0f, 1.0f]. The default value is 0.0. |
orientationLockMode | OrientationLockMode | UI Interface orientation lock mode |
minimumTextLength | number | Optional minimum required text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only. |
maximumTextLength | number | Optional maximum text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only. |
minimum1DBarcodesQuietZone | number | Optional minimum required quiet zone on the barcode. Measured in modules (the size of minimal bar on the barcode). The default is 10. NOTE - This feature works on ITF barcodes only. |
minFocusDistanceLock | boolean | Lock focus distance withing minimum possible range |
stripCheckDigits | boolean | With this option enabled, the scanner removes checks digits for UPC, EAN and MSI Plessey codes. Has no effect if both single and double digit MSI Plessey checksums are enabled. The default is false |
successBeepEnabled | boolean | Whether scanner screen should make a sound on successful barcode detection. |
topBarBackgroundColor | string | Background color of the top bar. |
topBarButtonsColor | string | Foreground color of the cancel button. |
topBarButtonsInactiveColor | string | Foreground color of the top bar buttons when disabled. |
barcodeFormats | BarcodeFormat[] | Accepted barcode formats |
useButtonsAllCaps | boolean | Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only. |
gs1DecodingEnabled | boolean | When set to true , the scanner assumes that the barcode can be a GS1 barcode. Turn it off, if you don't want to see decoded FNC1 characters ("]C1" and ASCII char 29). The default value is true . NOTE - Currently works for CODE128 barcodes only! |
msiPlesseyChecksumAlgorithm | MSIPlesseyChecksumAlgorithm | The checksum algorithm for MSI Plessey barcodes. The default value is Mod10. |
lowPowerMode | boolean | If true , enabled the mode which slightly decreases the scanning quality and the energy consumption, and increases the scanning speed. If false - mode is disabled. The default is false . Android only. |
barcodesCountText | string | The text to display for the barcodes count |
barcodesCountTextColor | string | The color for barcodes count text |
clearButtonTitle | string | Text of the button which clears the list of scanned barcodes. |
detailsActionColor | string | The color of Submit button |
detailsBackgroundColor | string | The color of bottom sheet |
detailsPrimaryColor | string | The color of text elements in bottom sheet |
deleteButtonTitle | string | String being displayed on the delete button. |
enableCameraButtonTitle | string | Title of the button that opens the screen where the user can allow the usage of the camera by the app. |
enableCameraExplanationText | string | Text that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera. |
fetchingStateText | string | The text for the data fetching state of the barcode item in a list. Smth "Fetching info…" |
noBarcodesTitle | string | Text of the message that there are no barcodes scanned |
submitButtonTitle | string | Text of the button which finishes the flow |
codeDensity | CodeDensity | The expected density of QR codes in an image. |
replaceCancelButtonWithIcon | boolean | If true , replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only. |
cameraPreviewMode | CameraPreviewMode | Preview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only |
autoCancelTimeout | number | Sets auto close timer in seconds. 0 = disabled and it is the default value. Android only |
initialScanDelay | number | Scanning delay after scanner appearance in seconds. Defaults to 0 secs. |
overlayConfiguration | SelectionOverlayConfiguration | The selection overay configuration. |
HealthInsuranceCardScannerResult
Prop | Type |
---|
status | Status |
fields | { type: string; value: string; confidence: number; }[] |
HealthInsuranceCardScannerConfiguration
Prop | Type | Description |
---|
cameraModule | CameraModule | The preferred camera module (default - BACK) |
cameraOverlayColor | string | Background color outside of the finder window. |
cancelButtonTitle | string | Title of the cancel button. |
cancelButtonHidden | boolean | Whether the cancel button is hidden or not. iOS only. |
detectionStatusFailedDetectionText | string | String being displayed when health insurance card was not found. |
detectionStatusFailedValidationText | string | String being displayed when health insurance card was found but not recognized. |
detectionStatusSuccessText | string | String being displayed when health insurance card was found and recognized. |
enableCameraButtonTitle | string | Title of the button that opens the screen where the user can allow the usage of the camera by the app. |
enableCameraExplanationText | string | Text that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera. |
finderLineColor | string | Foreground color of the detection overlay. |
finderLineWidth | number | Width of finder frame border. Default is 2. |
finderTextHint | string | String being displayed as description. |
finderTextHintColor | string | Foreground color of the description label. |
flashEnabled | boolean | Controls whether the flash should be initially enabled. The default value is FALSE. |
orientationLockMode | OrientationLockMode | UI Interface orientation lock mode |
topBarBackgroundColor | string | The background color of the top toolbar. |
topBarButtonsActiveColor | string | The color of all active toggle buttons in the toolbar. |
topBarButtonsInactiveColor | string | The color of all inactive toggle buttons in the toolbar. iOS only. |
useButtonsAllCaps | boolean | Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only. |
replaceCancelButtonWithIcon | boolean | If true , replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only. |
cameraPreviewMode | CameraPreviewMode | Preview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only |
TextDataScannerResult
Prop | Type |
---|
status | Status |
result | { text: string; confidence: number; } |
TextDataScannerConfiguration
Prop | Type | Description |
---|
cameraModule | CameraModule | The preferred camera module (default - BACK) |
cameraOverlayColor | string | Background color outside of the finder window. |
cancelButtonTitle | string | Title of the cancel button. |
cancelButtonHidden | boolean | Whether the cancel button is hidden or not. iOS only. |
enableCameraButtonTitle | string | Title of the button that opens the screen where the user can allow the usage of the camera by the app. |
enableCameraExplanationText | string | Text that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera. |
finderLineColor | string | Foreground color of the detection overlay. |
finderLineWidth | number | Width of finder frame border. Default is 2. |
finderTextHintColor | string | Foreground color of the description label. |
flashEnabled | boolean | Controls whether the flash should be initially enabled. The default value is FALSE. |
orientationLockMode | OrientationLockMode | UI Interface orientation lock mode |
topBarBackgroundColor | string | The background color of the top toolbar. |
topBarButtonsActiveColor | string | The color of all active toggle buttons in the toolbar. |
topBarButtonsInactiveColor | string | The color of all inactive toggle buttons in the toolbar. |
wordBoxHighlightColor | string | The color of the highlight of the wordboxes founded on the frame |
wordBoxHighlightEnabled | boolean | If the wordboxes should be highlighted when were found on the frame |
minimumNumberOfRequiredFramesWithEqualRecognitionResult | number | Minimum number of accumulated frames that have equal result |
maximumNumberOfAccumulatedFrames | number | Maximum number of accumulated frames to inspect before actual result is returned |
supportedLanguages | string[] | Languages on which the recognition will be run. ISO 639-1 or RFC4646 for special languages that are not available for ISO 639-1 |
ocrResolutionLimit | number | The image will be downscaled to the given value during the processing. If the quality of the scanning is not enough, try to increase the limit. This variable affects the performance of the scanning process. Higher the size limit - better the quality, but the recognition is slower. 0 - do not rescale. |
useButtonsAllCaps | boolean | Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only. |
replaceCancelButtonWithIcon | boolean | If true , replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only. |
cameraPreviewMode | CameraPreviewMode | Preview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only |
textDataScannerStep | TextDataScannerStep | Configuration for the scanned item |
TextDataScannerStep
Configuration for the scanned item
Prop | Type | Description |
---|
guidanceText | string | User guidance hint text. |
pattern | string | Validation pattern to automatically validate recognized text. '?' = any character, '#' - any digit, all other characters represent themselves. An empty string or nil value will disable the validation pattern. |
shouldMatchSubstring | boolean | If set to TRUE pattern validation also validates successfully if only a part of the whole recognized text matches the the validation pattern. If set to FALSE, the whole text must match the validation pattern. Applies to pattern validation only. Defaults to FALSE. |
preferredZoom | number | The cameras zoom level preferred for this step. The actual zoom might be different from the preferred one to avoid clipping of finder area and maintain its aspect ratio and height |
aspectRatio | FinderAspectRatio | The preferred finder aspect ratio. * |
unzoomedFinderHeight | number | The preferred height of the finder for zoom scale 1.0 (unzoomed). The actual finder height might change to maintain aspect ratio and to not clip the screen. Defaults to 40 points. |
allowedSymbols | string | A string (list) of accepted characters during text recognition. If empty or nil, all characters are accepted. Defaults to nil. |
textFilterStrategy | TextFilterStrategy | Recognition strategy for the text. |
significantShakeDelay | number | Threshold used to pause the detection after significant movement occurred. -1 is default value. Default = 0 for textFilterStrategy='DOCUMENT' and 1000 for textFilterStrategy='LCD_DOT_MATRIX_DISPLAY' |
LicensePlateScannerResult
Prop | Type | Description |
---|
status | Status | 'OK' if the License Plate was scanned, 'CANCELED' if the user canceled the scanner UI. |
licensePlate | string | The License Plate detected by the scanner |
confidence | number | Confidence in the accuracy of the detection (0 - 100) |
countryCode | string | The Country Code on the License Plate as detected by the scanner |
rawText | string | The entire raw text detected on the License Plate by the scanner |
isValidationSuccessful | boolean | 'true' if the validation of the scanned license plate was successful, 'false' otherwise - iOS only. |
LicensePlateScannerConfiguration
Prop | Type | Description |
---|
cameraModule | CameraModule | The preferred camera module (default - BACK) |
cameraOverlayColor | string | Background color outside of the finder window. |
cancelButtonTitle | string | Title of the cancel button. |
cancelButtonHidden | boolean | Whether the cancel button is hidden or not. iOS only. |
confirmationDialogStyle | DialogStyle | The style of the confirmation dialog. iOS Only. |
confirmationDialogConfirmButtonStyle | DialogButtonStyle | The style of the confirmation dialogs confirm button. iOS Only. |
confirmationDialogRetryButtonStyle | DialogButtonStyle | The style of the confirmation dialogs retry button. iOS Only. |
enableCameraButtonTitle | string | Title of the button that opens the screen where the user can allow the usage of the camera by the app. |
enableCameraExplanationText | string | Text that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera. |
finderLineColor | string | Foreground color of the detection overlay. |
finderLineWidth | number | Width of finder frame border. Default is 2. |
finderTextHint | string | User guidance text below the finder view |
finderTextHintColor | string | Foreground color of the description label. |
finderPreferredHeight | number | The preferred heigth of the view finder. Defaults to 150.0. iOS Only. |
flashEnabled | boolean | Controls whether the flash should be initially enabled. The default value is FALSE. |
orientationLockMode | OrientationLockMode | UI Interface orientation lock mode |
topBarBackgroundColor | string | The background color of the top toolbar. |
topBarButtonsActiveColor | string | The color of all active toggle buttons in the toolbar. |
topBarButtonsInactiveColor | string | The color of all inactive toggle buttons in the toolbar. |
minNumberOfRequiredFramesWithEqualRecognitionResult | number | Minimum number of accumulated frames that have equal result |
maximumNumberOfAccumulatedFrames | number | Maximum number of accumulated frames to inspect before actual result is returned |
useButtonsAllCaps | boolean | Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only. |
significantShakeDelay | number | Threshold used to pause the detection after significant movement occurred. -1 is default value. Default = 0 for textFilterStrategy='DOCUMENT' and 1000 for textFilterStrategy='LCD_DOT_MATRIX_DISPLAY'. Android only. |
scanStrategy | LicensePlateScanStrategy | Detector mode, classic (OCR based) or ML (machine learning based) approach. |
confirmationDialogTitle | string | The title of the confirmation dialog. |
confirmationDialogMessage | string | The message text of the confirmation dialog. |
confirmationDialogConfirmButtonTitle | string | The title of the confirmation dialog retry button. |
confirmationDialogRetryButtonTitle | string | The title of the confirmation dialog confirm button. |
confirmationDialogAccentColor | string | The accent color of buttons on a confirmation dialog. Android only. |
confirmationDialogConfirmButtonFilled | boolean | Allows to set if the confirm button should be filled. Defaults to TRUE. Android only. |
confirmationDialogConfirmButtonFilledTextColor | string | Allows to set a text color of the filled button. See confirmationDialogConfirmButtonFilled . Android only. |
replaceCancelButtonWithIcon | boolean | If true , replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only. |
cameraPreviewMode | CameraPreviewMode | Preview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only |
DialogStyle
Configuration for the dialog/alert style
Prop | Type | Description |
---|
screenBackgroundColor | string | The Color of the screen-covering backdrop view. |
dialogBackgroundColor | string | The general background color of the actual dialog view. |
dialogBackgroundEffect | BlurEffect | The visual effect of the dialogs background. |
cornerRadius | number | The corner radius of the dialog. |
titleColor | string | The color of the dialogs title. |
titleFont | Font | The font of the dialogs title |
messageColor | string | The color of the dialogs message. |
messageFont | Font | The font of the dialogs message. |
separatorColor | string | The color of the separators around the dialogs button area. |
separatorWidth | number | The width of the separators in points. |
Font
The font name and size. iOS only.
Prop | Type | Description |
---|
fontName | string | The font name. defaults to SYSTEM. |
fontSize | number | The font size. defaults 17.0 . |
DialogButtonStyle
Configuration for the dialogs/alerts OK button style.
Prop | Type | Description |
---|
font | Font | The font of the button title. |
textColor | string | The color of the buttons title while not pressed. |
highlightedTextColor | string | The color of the buttons title while pressed. |
backgroundColor | string | The background color of the button while not pressed. |
highlightedBackgroundColor | string | The background color of the button while pressed. |
MedicalCertificateRecognizerConfiguration
Prop | Type | Description |
---|
cameraModule | CameraModule | The preferred camera module (default - BACK) |
cameraOverlayColor | string | Background color outside of the finder window. |
cancelButtonTitle | string | Title of the cancel button. |
cancelButtonHidden | boolean | Whether the cancel button is hidden or not. iOS only. |
enableCameraButtonTitle | string | Title of the button that opens the screen where the user can allow the usage of the camera by the app. |
enableCameraExplanationText | string | Text that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera. |
finderLineColor | string | Foreground color of the detection overlay. |
finderLineWidth | number | Width of finder frame border. Default is 2. |
flashEnabled | boolean | Controls whether the flash should be initially enabled. The default value is FALSE. |
orientationLockMode | OrientationLockMode | UI Interface orientation lock mode |
topBarBackgroundColor | string | The background color of the top toolbar. |
topBarButtonsActiveColor | string | The color of all active toggle buttons in the toolbar. |
topBarButtonsInactiveColor | string | The color of all inactive toggle buttons in the toolbar. |
useButtonsAllCaps | boolean | Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only. |
userGuidanceBackgroundColor | string | The background color of the user guidance hints. |
userGuidanceTextColor | string | The text color of the user guidance hints. |
userGuidanceHidden | boolean | Whether the user guidance label is hidden or not. iOS only. |
recognizePatientInfo | boolean | Whether sdk should run recognition of Patient Information block. |
returnCroppedDocumentImage | boolean | Whether sdk should return cropped document image or not. (Android only) |
errorDialogStyle | DialogStyle | The style of the dialog/alert in case of error. iOS only. |
errorDialogTitle | string | Error dialog title |
errorDialogAccentColor | string | The accent color of buttons on a error dialog. Android only. |
errorDialogMessage | string | Error dialog message |
errorDialogOkButton | string | Error dialog ok button text. |
errorDialogOkButtonFilled | boolean | Allows to set if the confirm button should be filled. Android only. |
errorDialogOkButtonFilledTextColor | string | Allows to set a text color of the filled button. Android only. |
errorDialogButtonStyle | DialogButtonStyle | The style of the dialogs/alerts OK button in case of error. iOS only. |
showFinderOverlay | boolean | Option to show or hide finder overlay |
userGuidanceStrings | MedicalCertificateUserGuidanceStrings | Configuration that helps to override default hint values |
cameraPreviewMode | CameraPreviewMode | Preview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only |
finderAspectRatio | FinderAspectRatio | Aspect ratio of the view finder (width \ height). Set to nil of no view finder should be displayed. iOS only. |
finderSecondaryAspectRatio | FinderAspectRatio | Secondary aspect ratio of finder frame (width \ height). Set to nil if no secondary view finder should be displayed. iOS only. |
MedicalCertificateUserGuidanceStrings
Configuration for the hint values
Prop | Type | Description |
---|
startScanning | string | Text that is shown on camera open. |
scanning | string | Text that is shown when the camera is seeking for the document on the visible area, shown after the first result from the detector. |
energySaving | string | Text that is shown when energy saving is active. (iOS only) |
capturing | string | Text that is shown when the camera snaps the image. |
processing | string | Text that is shown when the detector tries to detect the document from the snapped image. |
paused | string | Text that is shown when the detector is paused. iOS only. |
GenericDocumentRecognizerResult
DeDriverLicenseResult
GenericDocumentField
Prop | Type |
---|
text | string |
confidence | number |
DriverLicenseCategories
DriverLicenseCategory
DePassportResult
MrzDocumentResult
DeIdCardResult
GenericDocumentRecognizerConfiguration
Prop | Type | Description |
---|
flashEnabled | boolean | Controls whether the flash should be initially enabled. The default value is FALSE. |
orientationLockMode | OrientationLockMode | UI Interface orientation lock mode |
cameraModule | CameraModule | The preferred camera module (default - BACK) |
topBarBackgroundColor | string | The background color of the top toolbar. |
topBarButtonsActiveColor | string | The color of all active toggle buttons in the toolbar. |
topBarButtonsInactiveColor | string | The color of all inactive toggle buttons in the toolbar. |
cameraOverlayColor | string | Background color outside of the finder window. |
finderLineColor | string | Foreground color of the detection overlay. |
finderLineWidth | number | Width of finder frame border. Default is 2. |
fieldsCountTextColor | string | Text color of the fields count label. |
fieldConfidenceHighColor | string | Color of confidence value label background in details screen, when the field confidence level is high. |
fieldConfidenceModerateColor | string | Color of confidence value label background in details screen, when the field confidence level is moderate. |
fieldConfidenceLowColor | string | Color of confidence value label background in details screen, when the field confidence level is low. |
fieldConfidenceTextColor | string | Color of confidence value label text in details. |
tipTextColor | string | Color of tip text on scanning screen. |
tipBackgroundColor | string | Color of tip background on scanning screen. |
detailsBackgroundColor | string | The color of bottom sheet |
detailsPrimaryColor | string | The color of text elements in bottom sheet |
detailsActionColor | string | The color of Submit button |
detailsSectionHeaderTextColor | string | Text color for section headers on the details screen. iOS only. |
detailsSectionHeaderBackgroundColor | string | Background color for section headers on the details screen. iOS only. |
cancelButtonTitle | string | Title of the cancel button. |
cancelButtonHidden | boolean | Whether the cancel button is hidden or not. iOS only. |
clearButtonTitle | string | String used for displaying amount of detected fields. Use %d for number formatting symbol. |
submitButtonTitle | string | Text of the button which finishes the flow |
fieldsCountText | string | String used for displaying amount of detected fields. Use %d for number formatting symbol. |
confidenceValue | string | String that shows average confidence value of scanned document. Use %d as number formatting symbol. |
scanBackSideTitle | string | String that asks user to scan back side of a document. |
scanFrontSideTitle | string | String that asks user to scan front side of a document. |
startScanningTitle | string | String that asks user to start scanning a document. |
scannedEverythingTitle | string | String that notifies that both sides of document are scanned. |
emptyValueTitle | string | String being displayed for empty values. iOS only. |
enableCameraButtonTitle | string | Title of the button that opens the screen where the user can allow the usage of the camera by the app. |
enableCameraExplanationText | string | Text that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera. |
imageTitle | string | A title to show image content. Android only. |
noDataTitle | string | String that notifies that nothing was scanned yet. |
acceptedDocumentTypes | GenericDocumentType[] | Accepted document types. All other document types will be ignored. By default - All types |
sharpnessAcceptanceFactor | number | Accepted minimal sharpness score. Images with a score less than that will be rejected with RecognitionStatus::ErrorTooBlurry. Default is 80. 0 - any image will be accepted. 80 - a good compromise; the recommended setting. 100 - only very sharp images will be accepted. |
fieldsDisplayConfiguration | FieldsDisplayConfiguration[] | Allows to configure the display configuration for fields. |
documentsDisplayConfiguration | DocumentsDisplayConfiguration[] | Allows to configure the display configuration for documents. |
excludedFieldTypes | string[] | List of secure fields which should be excluded from scanning process. All other fields will be scanned as usual. Field should be set ONLY as normalized field name. Example - [DePassport.BirthDate] or [DePassport.Birthplace] |
useButtonsAllCaps | boolean | Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only. |
replaceCancelButtonWithIcon | boolean | If true , replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only. |
cameraPreviewMode | CameraPreviewMode | Preview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only |
FieldsDisplayConfiguration
Field display configuration object
Prop | Type | Description |
---|
normalizedFieldName | string | Complete list of available normalized field names is available in the documentation |
defaultDisplayText | string | The display text of the field in the list |
defaultDisplayState | FieldDisplayState | The default display state of a field in the RTU UI, could be hidden by default or visible by default. |
DocumentsDisplayConfiguration
Field display configuration object
Prop | Type | Description |
---|
normalizedDocumentName | string | Complete list of available normalized document names is available in the documentation |
defaultDisplayText | string | The display text of the document in the list |
CheckRecognizerResult
USACheckResult
USA Check Result
CheckRecognizerResultField
Check Recognizer Result recognized field
CheckRecognizerResultFieldValue
Check Recognizer Result recognized field value
Prop | Type | Description |
---|
text | string | The field recognized text |
FRACheckResult
FRA Check Result
KWTCheckResult
KWT Check Result
AUSCheckResult
AUS Check Result
INDCheckResult
IND Check Result
CommonCheckResult
Check Result
CheckRecognizerConfiguration
Prop | Type | Description |
---|
acceptedCheckStandards | CheckStandard[] | Accepted check standards. Optional, by default - all checks are accepted. With an empty list no filter is applied and all checks are accepted. |
cameraModule | CameraModule | The preferred camera module (default - BACK) |
cameraOverlayColor | string | Background color outside of the finder window. |
cancelButtonTitle | string | Title of the cancel button. |
cancelButtonHidden | boolean | Whether the cancel button is hidden or not. iOS only. |
captureHighResolutionImage | boolean | Set high-resolution Check image capturing. If set to TRUE a high-resolution photo of the check is captured to run the recognition on. Upon successful recognition the recognition result also contains a high-resolution image of the check. If set to FALSE, the video frames will be used for recognition and result image delivery. The default value is TRUE. |
enableCameraButtonTitle | string | Title of the button that opens the screen where the user can allow the usage of the camera by the app. |
enableCameraExplanationText | string | Text that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera. |
errorDialogStyle | DialogStyle | The style of the dialog/alert in case of error. iOS Only. |
errorDialogButtonStyle | DialogButtonStyle | The style of the dialogs/alerts OK button in case of error. iOS Only. |
errorAlertTitle | string | String being displayed as the title in the error alert that may occur when the recognition fails on captured high-resolution images. iOS only. |
errorAlertMessage | string | String being displayed as the message in the error alert that may occur when the recognition fails on captured high-resolution images. iOS only. |
errorAlertButtonText | string | String being displayed as the button text in the error alert that may occur when the recognition fails on captured high-resolution images. iOS only. |
finderAspectRatio | FinderAspectRatio | Aspect ratio of finder frame (width \ height), which is used to build actual finder frame. Default is 1 - it is a square frame, which is good for QR capturing. |
finderLineColor | string | Foreground color of the detection overlay. |
finderLineWidth | number | Width of finder frame border. Default is 2. |
flashEnabled | boolean | Controls whether the flash should be initially enabled. The default value is FALSE. |
orientationLockMode | OrientationLockMode | UI Interface orientation lock mode |
topBarBackgroundColor | string | The background color of the top toolbar. |
topBarButtonsActiveColor | string | The color of all active toggle buttons in the toolbar. |
topBarButtonsInactiveColor | string | The color of all inactive toggle buttons in the toolbar. |
userGuidanceBackgroundColor | string | The background color of the user guidance hints. |
userGuidanceTextColor | string | The text color of the user guidance hints. |
userGuidanceStringValues | CheckUserGuidanceStrings | Configuration that helps to override default hint values. |
useButtonsAllCaps | boolean | Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only. |
cameraPreviewMode | CameraPreviewMode | Preview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only |
CheckUserGuidanceStrings
Configuration that helps to override default hint values.
Prop | Type | Description |
---|
startScanning | string | Text that is shown on camera open. |
scanning | string | Text that is shown when the camera is seeking for the document on the visible area, shown after the first result from the detector. |
energySaving | string | Text that is shown when energy saving is active. (iOS only) |
capturing | string | Text that is shown when the camera snaps the image. (Android only) |
processing | string | Text that is shown when the detector tries to detect the document from the snapped image. (Android only) |
InitializeSDKResult
Prop | Type | Description |
---|
result | string | The result initialization message |
InitializationOptions
Prop | Type | Description |
---|
licenseKey | string | The Scanbot SDK License Key |
loggingEnabled | boolean | If 'true' it enables logging. Consider switching logging OFF in production builds for security and performance reasons! |
storageImageQuality | number | The quality of stored images, from (1 to 100). Defaults to 80. |
storageImageFormat | CameraImageFormat | The preferred format for stored images. |
storageBaseDirectory | string | Optional custom storage path. |
documentDetectorMode | DocumentDetectorMode | The engine used to detect documents. The default and recommended value is ML_BASED. |
fileEncryptionPassword | string | Encryption custom password. Setting this property will enable encryption. |
fileEncryptionMode | FileEncryptionMode | Encryption mode. Setting this property will enable encryption. |
useCameraX | boolean | If set to true , Camera X will be used for the RTU-UI components (Android Only) Default is false . |
allowGpuAcceleration | boolean | If set to false , GPU Acceleration will be disabled for Barcode Scanner, Document Scanner and Generic Document Recognizer (Android Only). Default is false . |
allowXnnpackAcceleration | boolean | Enables/disables XNNPACK acceleration for TensorFlow ML models, which provides highly optimized implementations of floating-point neural network operators (Android Only) |
enableNativeLogging | boolean | Enables Scanbot SDK Core native logging (default is false; Android Only) |
GetLicenseInfoResult
Prop | Type | Description |
---|
isLicenseValid | boolean | True if the license is valid, false otherwise |
licenseStatus | LicenseStatus | The license status |
licenseExpirationDate | number | The license expiration date in milliseconds |
DetectBarcodesOnImageResult
Prop | Type | Description |
---|
barcodes | BarcodeResultField[] | The detected barcodes |
DetectBarcodesOnImageArguments
Prop | Type | Description |
---|
imageFileUri | string | The input image file URI |
DetectBarcodesOnImagesResult
Prop | Type | Description |
---|
results | DetectBarcodesOnImagesField[] | An array for which each element has a imageUri and the list of detected barcodes |
DetectBarcodesOnImagesField
Detect Barcodes On Images Result Field
Prop | Type | Description |
---|
imageFileUri | string | The URI of the image file the barcodes have been detected on |
barcodeResults | BarcodeResultField[] | The array of detected barcodes |
DetectBarcodesOnImagesArguments
Prop | Type | Description |
---|
imageFileUris | string[] | The input image files URIs |
ApplyImageFilterResult
Prop | Type | Description |
---|
imageFileUri | string | The URI of the filtered image |
GetImageDataResult
Prop | Type | Description |
---|
base64ImageData | string | The Base 64 encoded representation of the image data |
RotateImageResult
Prop | Type | Description |
---|
imageFileUri | string | The URI of the rotated image |
Prop | Type | Description |
---|
operationResult | string | Operation Result |
DetectDocumentResult
Prop | Type | Description |
---|
documentImageFileUri | string | The URI of the document image file, if something is detected |
polygon | PolygonPoint[] | The array of detected polygon points, if something is detected |
detectionResult | DetectionStatus | The status of the detection |
EstimateBlurResult
Prop | Type | Description |
---|
blur | number | Estimated blur level |
Prop | Type | Description |
---|
status | Status | The status of the operation (OK or CANCELED) |
imageFilesUrls | string[] | A list containing the file URLs for the extracted images |
Prop | Type | Description |
---|
pdfFilePath | string | The location of the PDF file |
quality | number | The quality that each extracted image should have. This tweaks the compression, affecting the final image file size. (100: maximum quality, 0: minimum quality) Default value is 90 |
scaling | number | Integer scaling factor applied to the PDF media box frame while extracting. Affects the output image quality. In most cases the recommended value is 2 or higher. Default value is 2. |
Prop | Type | Description |
---|
status | Status | The status of the operation (OK or CANCELED) |
pages | Page[] | A list containing the extracted pages |
RecognizeMRZResult
Prop | Type | Description |
---|
recognitionSuccessful | boolean | True if the recognition was successful, false otherwise |
documentType | MRZDocumentType | The recognized document type |
checkDigitsCount | number | Total number of check digits as required by the travel document type |
validCheckDigitsCount | number | Number of successfully validated check digits. |
rawString | string | The raw string of the recognized machine readable zone. |
fields | MRZRecognizerResultField[] | An array of all recognized fields |
MRZRecognizerResultField
MRZ Recognizer Result Field
Prop | Type | Description |
---|
name | MRZRecognizerResultFieldType | The type of the field |
value | string | The value of the recognized field |
confidence | number | The recognition confidence value of the field. |
RefreshImageUrisResult
Prop | Type | Description |
---|
pages | Page[] | The refreshed pages |
GetOCRConfigsResult
Prop | Type | Description |
---|
languageDataPath | string | The OCR languages data path |
installedLanguages | string[] | The installed OCR languages |
GetFilteredDocumentPreviewUriResult
Prop | Type | Description |
---|
filteredDocumentPreviewUri | string | The URI of the filtered document preview image |
PerformOCRResult
Prop | Type | Description |
---|
plainText | string | The OCR result as plain text |
pdfFileUri | string | The URI of the PDF file |
jsonData | any | The OCR result as JSON data |
CreatePDFResult
Prop | Type | Description |
---|
pdfFileUri | string | The URI of the generated PDF file |
WriteTIFFResult
Prop | Type | Description |
---|
tiffFileUri | string | The URI of the output TIFF file |
Type Aliases
Status
'OK' | 'CANCELED'
DetectionStatus
Detection Status
'OK' | 'OK_BUT_TOO_SMALL' | 'OK_BUT_BAD_ANGLES' | 'OK_BUT_BAD_ASPECT_RATIO' | 'ERROR_NOTHING_DETECTED' | 'ERROR_TOO_DARK' | 'ERROR_TOO_NOISY'
PageImageSource
The page image source
'UNKNOWN' | 'MANUAL_SNAP' | 'AUTO_SNAP' | 'CAMERA_FRAME'
ImageFilterType
The image filter types.
'ImageFilterTypeNone' | 'ImageFilterTypeColor' | 'ImageFilterTypeGray' | 'ImageFilterTypeBinarized' | 'ImageFilterTypeColorDocument' | 'ImageFilterTypePureBinarized' | 'ImageFilterTypeBackgroundClean' | 'ImageFilterTypeBlackAndWhite' | 'ImageFilterTypeOtsuBinarization' | 'ImageFilterTypeDeepBinarization' | 'ImageFilterTypeEdgeHighlight' | 'ImageFilterTypeLowLightBinarization' | 'ImageFilterTypeLowLightBinarization2' | 'ImageFilterTypeSensitiveBinarization' | 'ImageFilterTypePureGray'
CameraModule
Camera module to use
'FRONT' | 'BACK'
CameraPreviewMode
Represents camera preview modes
'FIT_IN' | 'FILL_IN'
DocumentDetectorMode
Mode for document detection.
'ML_BASED' | 'EDGE_BASED'
OrientationLockMode
Applied interface orientation
'NONE' | 'PORTRAIT' | 'LANDSCAPE'
CapturePhotoQualityPrioritization
The priorization of still image quality and capturing speed. Has no effect on devices prior to iOS 13.0. iOS only.
'CapturePhotoQualityPrioritizationSpeed' | 'CapturePhotoQualityPrioritizationBalanced' | 'CapturePhotoQualityPrioritizationQuality'
BarcodeFormat
Barcode format
'AZTEC' | 'CODABAR' | 'CODE_25' | 'CODE_39' | 'CODE_93' | 'CODE_128' | 'DATA_MATRIX' | 'EAN_8' | 'EAN_13' | 'ITF' | 'PDF_417' | 'QR_CODE' | 'RSS_14' | 'RSS_EXPANDED' | 'UPC_A' | 'UPC_E' | 'UNKNOWN' | 'MSI_PLESSEY' | 'IATA_2_OF_5' | 'INDUSTRIAL_2_OF_5'
AAMVARecordFieldType
AAMVA Record Field Type
'AUDIT_INFORMATION' | 'CARD_REVISION_DATE' | 'COMPLIANCE_TYPE' | 'COUNTRY_TERRITORY_OF_ISSUANCE' | 'COURT_RESTRICTION_CODE' | 'DATE_OF_BIRTH' | 'DOCUMENT_DISCRIMINATOR' | 'EYES_COLOR' | 'FAMILY_NAME' | 'FAMILY_NAME_TRUNCATION' | 'FEDERAL_COMMERCIAL_VEHICLE_CODES' | 'FIRST_NAME' | 'FIRST_NAMES_TRUNCATION' | 'FULL_NAME' | 'HAIR_COLOR' | 'HAZ_MAT_ENDORSEMENT_EXPIRY_DATE' | 'HEIGHT_IN_CM' | 'HEIGHT_IN_FEET_INCHES' | 'INVENTORY_CONTROL_NUMBER' | 'ISSUE_TIMESTAMP' | 'JURISDICTION_SPECIFIC' | 'JURISDICTION_SPECIFIC_RESTRICTION_CODE_DESCRIPTION' | 'JURISDICTION_SPECIFIC_VEHICLE_CLASSIFICATION_DESCRIPTION' | 'LAST_NAME' | 'LICENSE_CLASSIFICATION_CODE' | 'LICENSE_ENDORSEMENT_CODE' | 'LICENSE_EXPIRATION_DATE' | 'LICENSE_OR_ID_DOCUMENT_ISSUE_DATE' | 'LICENSE_OR_ID_NUMBER' | 'LICENSE_RESTRICTION_CODE' | 'LIMITED_DURATION_DOCUMENT_INDICATOR' | 'MAILING_CITY' | 'MAILING_JURISDICTION_CODE' | 'MAILING_POSTAL_CODE' | 'MAILING_STREET_ADDRESS_1' | 'MAILING_STREET_ADDRESS_2' | 'MEDICAL_INDICATOR_CODES' | 'MIDDLE_NAME_OR_INITIAL' | 'MIDDLE_NAMES_TRUNCATION' | 'NAME_PREFIX' | 'NAME_SUFFIX' | 'NON_RESIDENT_INDICATOR' | 'NUMBER_OF_DUPLICATES' | 'ORGAN_DONOR' | 'ORGAN_DONOR_INDICATOR' | 'PERMIT_CLASSIFICATION_CODE' | 'PERMIT_ENDORSEMENT_CODE' | 'PERMIT_EXPIRATION_DATE' | 'PERMIT_IDENTIFIER' | 'PERMIT_ISSUE_DATE' | 'PERMIT_RESTRICTION_CODE' | 'PHYSICAL_DESCRIPTION_WEIGHT_RANGE' | 'PLACE_OF_BIRTH' | 'PREFIX' | 'RACE_ETHNICITY' | 'RESIDENCE_CITY' | 'RESIDENCE_JURISDICTION_CODE' | 'RESIDENCE_POSTAL_CODE' | 'RESIDENCE_STREET_ADDRESS_1' | 'RESIDENCE_STREET_ADDRESS_2' | 'SEX' | 'SOCIAL_SECURITY_NUMBER' | 'STANDARD_ENDORSEMENT_CODE' | 'STANDARD_RESTRICTION_CODE' | 'STANDARD_VEHICLE_CLASSIFICATION' | 'SUFFIX' | 'UNDER_18_UNTIL' | 'UNDER_19_UNTIL' | 'UNDER_21_UNTIL' | 'UNIQUE_CUSTOMER_IDENTIFIER' | 'VETERAN_INDICATOR' | 'VIRGINIA_SPECIFIC_CLASS' | 'VIRGINIA_SPECIFIC_ENDORSEMENTS' | 'VIRGINIA_SPECIFIC_RESTRICTIONS' | 'WEIGHT_IN_KG' | 'WEIGHT_IN_LBS' | 'UNKNOWN'
BoardingPassDocumentFieldType
Boarding Pass Document Field Type
'AIRLINE_DESIGNATOR_OF_BOARDING_PASS_ISSUER' | 'AIRLINE_NUMERIC_CODE' | 'BAGGAGE_TAG_LICENSE_PLATE_NUMBERS' | 'CHECK_IN_SEQUENCE_NUMBER' | 'COMPARTMENT_CODE' | 'DATE_OF_BOARDING_PASS_ISSUANCE_JULIAN' | 'DATE_OF_FLIGHT_JULIAN' | 'DEPARTURE_AIRPORT_CODE' | 'DESTINATION_AIRPORT_CODE' | 'DOCUMENT_FORM_SERIAL_NUMBER' | 'DOCUMENT_TYPE' | 'FAST_TRACK' | 'FIRST_NON_CONSECUTIVE_BAGGAGE_TAG_LICENSE_PLATE_NUMBER' | 'FLIGHT_NUMBER' | 'FOR_INDIVIDUAL_AIRLINE_USE' | 'FREE_BAGGAGE_ALLOWANCE' | 'FREQUENT_FLYER_AIRLINE_DESIGNATOR' | 'FREQUENT_FLYER_NUMBER' | 'IDAD_INDICATOR' | 'INTERNATIONAL_DOCUMENTATION_VERIFICATION' | 'MARKETING_CARRIER_DESIGNATOR' | 'OPERATING_CARRIER_DESIGNATOR' | 'OPERATING_CARRIER_PNR_CODE' | 'PASSENGER_DESCRIPTION' | 'PASSENGER_STATUS' | 'SEAT_NUMBER' | 'SECOND_NON_CONSECUTIVE_BAGGAGE_TAG_LICENSE_PLATE_NUMBER' | 'SELECTEE_INDICATOR' | 'SOURCE_OF_BOARDING_PASS_ISSUANCE' | 'SOURCE_OF_CHECK_IN' | 'VERSION_NUMBER' | 'UNKNOWN'
GS1SystemElementValidationStatus
GS1 Element Validation Status
'VALID' | 'INVALID'
IDCardPDF417DocumentFieldType
ID Card PDF417 Document Field Type
'FIRST_NAME' | 'LAST_NAME' | 'DOCUMENT_CODE' | 'BIRTH_DATE' | 'DATE_ISSUED' | 'DATE_EXPIRED' | 'OPTIONAL_1' | 'UNKNOWN'
MedicalCertificateDocumentFieldType
Medical Certificate Document Field Type
'REQUIRES_CARE' | 'ACCIDENT' | 'INITIAL_CERTIFICATE' | 'RENEWED_CERTIFICATE' | 'WORK_ACCIDENT' | 'ASSIGNED_TO_ACCIDENT_INSURANCE_DOCTOR' | 'INCAPABLE_OF_WORK_SINCE' | 'INCAPABLE_OF_WORK_UNTIL' | 'DIAGNOSED_ON' | 'DOCUMENT_DATE' | 'BIRTH_DATE' | 'FIRST_NAME' | 'LAST_NAME' | 'DIAGNOSE' | 'HEALTH_INSURANCE_NUMBER' | 'INSURED_PERSON_NUMBER' | 'STATUS' | 'PLACE_OF_OPERATION_NUMBER' | 'DOCTOR_NUMBER' | 'UNKNOWN'
MedicalPlanPatientFieldType
Medical Plan Patient Field Type
'FIRST_NAME' | 'LAST_NAME' | 'TITLE' | 'PRE_NAME' | 'SUFFIX' | 'PATIENT_ID' | 'BIRTH_DATE' | 'GENDER' | 'WEIGHT' | 'HEIGHT' | 'CREATININE_VALUE' | 'ALLERGIES_AND_INTOLERANCES' | 'BREAST_FEEDING' | 'PREGNANT' | 'PATIENT_FREE_TEXT' | 'UNKNOWN'
MedicalPlanDoctorFieldType
Medical Plan Doctor Field Type
'ISSUER_NAME' | 'DOCTOR_NUMBER' | 'PHARMACY_ID' | 'HOSPITAL_ID' | 'STREET' | 'POSTAL_CODE' | 'PLACE' | 'TELEPHONE_NUMBER' | 'EMAIL' | 'ISSUING_DATE_AND_TIME' | 'UNKNOWN'
MedicalPlanStandardSubheadingFieldType
Medical Plan Standard Subheading Field Type
'KEY_WORDS' | 'SUBHEADING_FREE_TEXT'
MedicalPlanMedicineFieldType
Medical Plan Medicine Field Type
'PHARMACEUTICAL_NUMBER' | 'DRUG_NAME' | 'DOSAGE_FORM' | 'DOSAGE_FORM_FREE_TEXT' | 'MORNING' | 'MIDDAY' | 'EVENING' | 'NIGHT' | 'DOSAGE_FREE_TEXT' | 'DOSING_UNIT' | 'DOSING_UNIT_FREE_TEXT' | 'RELEVANT_INFO' | 'REASON_FOR_TREATMENT' | 'GENERAL_NOTES' | 'UNKNOWN'
MedicalPlanMedicineSubstanceFieldType
Medical Plan Medicine Substance Field Type
'ACTIVE_SUBSTANCE' | 'POTENCY' | 'UNKNOWN'
MedicalPlanPrescriptionFieldType
Medical Plan Prescription Field Type
'GENERAL_INFORMATION' | 'PRESCRIPTION_FREE_TEXT' | 'UNKNOWN'
SEPADocumentFieldType
SEPA Document Field Type
'SERVICE_TAG' | 'VERSION' | 'CHARACTER_SET' | 'IDENTIFICATION' | 'RECEIVER_IBAN' | 'RECEIVER_BIC' | 'RECEIVER_NAME' | 'AMOUNT' | 'PURPOSE' | 'REMITTANCE' | 'INFORMATION' | 'UNKNOWN'
SwissQRCodeDocumentFieldType
Swiss QR Code Document Field Type
'ADDITIONAL_BILLING_INFORMATION' | 'ADDITIONAL_INFO_TRAILER' | 'ADDITIONAL_INFO_UNSTRUCTURED' | 'ALTERNATIVE_PROCEDURE_PARAMETER' | 'AMOUNT' | 'CURRENCY' | 'DEBTOR_ADDRESS_TYPE' | 'DEBTOR_COUNTRY' | 'DEBTOR_NAME' | 'DEBTOR_PLACE' | 'DEBTOR_POSTAL_CODE' | 'DEBTOR_STREET_OR_ADDRESS_LINE_1' | 'DEBTOR_STREET_OR_ADDRESS_LINE_2' | 'DUE_DATE' | 'ENCODING' | 'FINAL_PAYEE_ADDRESS_TYPE' | 'FINAL_PAYEE_BUILDING_OR_ADDRESS_LINE_2' | 'FINAL_PAYEE_COUNTRY' | 'FINAL_PAYEE_NAME' | 'FINAL_PAYEE_PLACE' | 'FINAL_PAYEE_POSTAL_CODE' | 'FINAL_PAYEE_STREET_OR_ADDRESS_LINE_1' | 'IBAN' | 'PAYEE_ADDRESS_TYPE' | 'PAYEE_BUILDING_OR_ADDRESS_LINE_2' | 'PAYEE_COUNTRY' | 'PAYEE_NAME' | 'PAYEE_PLACE' | 'PAYEE_POSTAL_CODE' | 'PAYEE_STREET_OR_ADDRESS_LINE_1' | 'PAYMENT_REFERENCE' | 'PAYMENT_REFERENCE_TYPE' | 'UNKNOWN'
SwissQRCodeVersion
Swiss QR Code Version
'V1_0' | 'V2_0' | 'V2_1' | 'UNKNOWN'
VCardDocumentFormatFieldType
vCard Document Field Type
'ANNIVERSARY' | 'BIRTHDAY' | 'BUSY_TIME_URL' | 'CALENDAR_URI' | 'CALENDAR_URI_FOR_REQUESTS' | 'CATEGORIES' | 'CLIENT_PID_MAP' | 'CUSTOM' | 'DELIVERY_ADDRESS' | 'EMAIL' | 'FIRST_NAME' | 'GENDER' | 'GEO_LOCATION' | 'IMPP' | 'KIND' | 'LANGUAGES' | 'LOGO' | 'MEMBER' | 'NAME' | 'NICKNAME' | 'NOTE' | 'ORGANISATION' | 'PHOTO' | 'PRODUCT_ID' | 'PUBLIC_KEY' | 'RELATED' | 'REVISION' | 'ROLE' | 'SOUND' | 'SOURCE' | 'TELEPHONE_NUMBER' | 'TIME_ZONE' | 'TITLE' | 'UID' | 'URL' | 'VERSION' | 'XML' | 'UNKNOWN'
BarcodeDocumentFormat
Barcode document format
'AAMVA' | 'BOARDING_PASS' | 'DE_MEDICAL_PLAN' | 'MEDICAL_CERTIFICATE' | 'ID_CARD_PDF_417' | 'SEPA' | 'SWISS_QR' | 'VCARD' | 'GS1'
EngineMode
Barcode scanner engine mode
'NEXT_GEN' | 'LEGACY'
MSIPlesseyChecksumAlgorithm
MSI plessey checksum algorithm
'None' | 'Mod10' | 'Mod11IBM' | 'Mod11NCR' | 'Mod1010' | 'Mod1110IBM' | 'Mod1110NCR'
CodeDensity
The expected density of QR codes in an image.
'LOW' | 'HIGH'
BarcodeImageGenerationType
Defines the possible barcode image sources.
'NONE' | 'VIDEO_FRAME' | 'CAPTURED_IMAGE'
BarcodeOverlayTextFormat
Barcode scanner engine mode
'NONE' | 'CODE' | 'CODE_AND_TYPE'
TextFilterStrategy
Additional parameter for GenericTextRecognizer to set the type of the scanned object
'Document' | 'LcdDotMatrixDisplay'
BlurEffect
The blur effect style. iOS only.
'EXTRA_LIGHT' | 'LIGHT' | 'DARK' | 'REGULAR' | 'PROMINENT' | 'SYSTEM_ULTRA_THIN_MATERIAL' | 'SYSTEM_THIN_MATERIAL' | 'SYSTEM_MATERIAL' | 'SYSTEM_THICK_MATERIAL' | 'SYSTEM_CHROME_MATERIAL' | 'SYSTEM_ULTRA_THIN_MATERIAL_LIGHT' | 'SYSTEM_THIN_MATERIAL_LIGHT' | 'SYSTEM_MATERIAL_LIGHT' | 'SYSTEM_THICK_MATERIAL_LIGHT' | 'SYSTEM_CHROME_MATERIAL_LIGHT' | 'SYSTEM_ULTRA_THIN_MATERIAL_DARK' | 'SYSTEM_THIN_MATERIAL_DARK' | 'SYSTEM_MATERIAL_DARK' | 'SYSTEM_THICK_MATERIAL_DARK' | 'SYSTEM_CHROME_MATERIAL_DARK'
LicensePlateScanStrategy
Detector mode, classic (OCR based) or ML (machine learning based) approach.
'Classic' | 'MlBased'
GenericDocumentType
Supported document types
'DeIdCardFront' | 'DeIdCardBack' | 'DePassport' | 'DeDriverLicenseFront' | 'DeDriverLicenseBack'
GenericDocumentFields
DeDriverLicenseResult | DePassportResult | DeIdCardResult
FieldDisplayState
Field display state in the RTU UI
'Hidden' | 'VisibleIfNotEmpty' | 'AlwaysVisible'
UnknownCheckResult
Unknown Check Result
CommonCheckResult
CheckStatus
Check Status
'SUCCESS' | 'FAIL'
CheckStandard
Supported check standards.
'USA' | 'FRA' | 'KWT' | 'AUS' | 'IND'
BaseSdkResult
{status: Status}
CameraImageFormat
'JPG' | 'PNG'
FileEncryptionMode
File encryption mode, 'AES128' or 'AES256'.
'AES128' | 'AES256'
LicenseStatus
The SDK license status
'Okay' | 'Trial' | 'Expired' | 'WrongOS' | 'Corrupted' | 'AppIDMismatch' | 'NotSet'
ImageFilter
'NONE' | 'COLOR_ENHANCED' | 'GRAYSCALE' | 'PURE_GRAYSCALE' | 'BINARIZED' | 'COLOR_DOCUMENT' | 'PURE_BINARIZED' | 'BACKGROUND_CLEAN' | 'BLACK_AND_WHITE' | 'OTSU_BINARIZATION' | 'DEEP_BINARIZATION' | 'LOW_LIGHT_BINARIZATION' | 'EDGE_HIGHLIGHT' | 'LOW_LIGHT_BINARIZATION_2'
Result of applyImageFilterOnPage
Page
Result of createPage
Page
Result of rotatePage
Page
SetDocumentImageResult
Result of setDocumentImage
Page
Result of detectDocumentOnPage
Page
PdfExtractorArguments
PdfExtractorArguments
RecognizeCheckResult
Result of recognizeCheck
CheckRecognizerResult
MRZDocumentType
MRZ Document Type
'PASSPORT' | 'TRAVEL_DOCUMENT' | 'VISA' | 'ID_CARD' | 'SWISS_DRIVER_LICENSE' | 'UNDEFINED'
MRZRecognizerResultFieldType
MRZ Recognizer Result Field Type
'DateOfBirth' | 'DateOfExpiry' | 'DepartmentOfIssuance' | 'DiscreetIssuingStateOrOrganization' | 'DocumentCode' | 'FirstName' | 'Gender' | 'IssuingStateOrOrganization' | 'KindOfDocument' | 'LanguageCode' | 'LastName' | 'Nationality' | 'Optional1' | 'Optional2' | 'PersonalNumber' | 'PINCode' | 'TravelDocumentType' | 'Unknown' | 'VersionNumber'
OCROutputFormat
'PLAIN_TEXT' | 'RESULT_JSON' | 'PDF_FILE' | 'FULL_OCR_RESULT'
PDFPageSize
'FROM_IMAGE' | 'A4' | 'FIXED_A4' | 'US_LETTER' | 'FIXED_US_LETTER' | 'AUTO_LOCALE' | 'AUTO'
TIFFCompression
'NONE' | 'CCITTRLE' | 'CCITTFAX3' | 'CCITT_T4' | 'CCITTFAX4' | 'CCITT_T6' | 'CCITTRLEW' | 'LZW' | 'PACKBITS' | 'DEFLATE' | 'ADOBE_DEFLATE'
PageFileType
"ORIGINAL" | "DOCUMENT" | "UNFILTERED_DOCUMENT"