New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

capacitor-plugin-scanbot-sdk

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-plugin-scanbot-sdk

Scanbot Document and Barcode Scanner SDK for Capacitor

  • 2.2.1
  • npm
  • Socket score

Version published
Weekly downloads
1.1K
increased by16.94%
Maintainers
1
Weekly downloads
 
Created
Source

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>
ParamType
configurationDocumentScannerConfiguration

Returns: Promise<DocumentScannerResult>


closeDocumentScanner()

closeDocumentScanner() => Promise<void>

startFinderDocumentScanner(...)

startFinderDocumentScanner(configuration: FinderDocumentScannerConfiguration) => Promise<DocumentScannerResult>
ParamType
configurationFinderDocumentScannerConfiguration

Returns: Promise<DocumentScannerResult>


closeFinderDocumentScanner()

closeFinderDocumentScanner() => Promise<void>

startCroppingScreen(...)

startCroppingScreen(args: { page: Page; configuration: CroppingConfiguration; }) => Promise<CroppingResult>
ParamType
args{ page: Page; configuration: CroppingConfiguration; }

Returns: Promise<CroppingResult>


closeCroppingScreen()

closeCroppingScreen() => Promise<void>

startMrzScanner(...)

startMrzScanner(configuration: MrzScannerConfiguration) => Promise<MrzResult>
ParamType
configurationMrzScannerConfiguration

Returns: Promise<MrzResult>


closeMrzScanner()

closeMrzScanner() => Promise<void>

startBarcodeScanner(...)

startBarcodeScanner(configuration: BarcodeScannerConfiguration) => Promise<BarcodeResult>
ParamType
configurationBarcodeScannerConfiguration

Returns: Promise<BarcodeResult>


closeBarcodeScanner()

closeBarcodeScanner() => Promise<void>

startBatchBarcodeScanner(...)

startBatchBarcodeScanner(configuration: BatchBarcodeScannerConfiguration) => Promise<BarcodeResult>
ParamType
configurationBatchBarcodeScannerConfiguration

Returns: Promise<BarcodeResult>


closeBatchBarcodeScanner()

closeBatchBarcodeScanner() => Promise<void>

startEHICScanner(...)

startEHICScanner(configuration: HealthInsuranceCardScannerConfiguration) => Promise<HealthInsuranceCardScannerResult>
ParamType
configurationHealthInsuranceCardScannerConfiguration

Returns: Promise<HealthInsuranceCardScannerResult>


closeEHICScanner()

closeEHICScanner() => Promise<void>

startTextDataScanner(...)

startTextDataScanner(configuration: TextDataScannerConfiguration) => Promise<TextDataScannerResult>
ParamType
configurationTextDataScannerConfiguration

Returns: Promise<TextDataScannerResult>


closeTextDataScanner()

closeTextDataScanner() => Promise<void>

startLicensePlateScanner(...)

startLicensePlateScanner(configuration: LicensePlateScannerConfiguration) => Promise<LicensePlateScannerResult>
ParamType
configurationLicensePlateScannerConfiguration

Returns: Promise<LicensePlateScannerResult>


closeLicensePlateScanner()

closeLicensePlateScanner() => Promise<void>

startMedicalCertificateRecognizer(...)

startMedicalCertificateRecognizer(configuration: MedicalCertificateRecognizerConfiguration) => Promise<MedicalCertificateRecognizerResult>
ParamType
configurationMedicalCertificateRecognizerConfiguration

Returns: Promise<MedicalCertificateScannerResult>


closeMedicalCertificateRecognizer()

closeMedicalCertificateRecognizer() => Promise<void>

startGenericDocumentRecognizer(...)

startGenericDocumentRecognizer(configuration: GenericDocumentRecognizerConfiguration) => Promise<GenericDocumentRecognizerResult>
ParamType
configurationGenericDocumentRecognizerConfiguration

Returns: Promise<GenericDocumentRecognizerResult>


closeGenericDocumentRecognizer()

closeGenericDocumentRecognizer() => Promise<void>

startCheckRecognizer(...)

startCheckRecognizer(configuration: CheckRecognizerConfiguration) => Promise<CheckRecognizerResult & BaseSdkResult>
ParamType
configurationCheckRecognizerConfiguration

Returns: Promise<CheckRecognizerResult & BaseSdkResult>


closeCheckRecognizer()

closeCheckRecognizer() => Promise<void>

initializeSDK(...)

initializeSDK(options: InitializationOptions) => Promise<InitializeSDKResult & BaseSdkResult>
ParamType
optionsInitializationOptions

Returns: Promise<InitializeSDKResult & BaseSdkResult>


getLicenseInfo()

getLicenseInfo() => Promise<GetLicenseInfoResult & BaseSdkResult>

Returns: Promise<GetLicenseInfoResult & BaseSdkResult>


detectBarcodesOnImage(...)

detectBarcodesOnImage(args: DetectBarcodesOnImageArguments) => Promise<DetectBarcodesOnImageResult & BaseSdkResult>
ParamType
argsDetectBarcodesOnImageArguments

Returns: Promise<DetectBarcodesOnImageResult & BaseSdkResult>


detectBarcodesOnImages(...)

detectBarcodesOnImages(args: DetectBarcodesOnImagesArguments) => Promise<DetectBarcodesOnImagesResult & BaseSdkResult>
ParamType
argsDetectBarcodesOnImagesArguments

Returns: Promise<DetectBarcodesOnImagesResult & BaseSdkResult>


applyImageFilter(...)

applyImageFilter(args: { imageFileUri: string; filter: ImageFilterType; }) => Promise<ApplyImageFilterResult & BaseSdkResult>
ParamType
args{ imageFileUri: string; filter: ImageFilterType; }

Returns: Promise<ApplyImageFilterResult & BaseSdkResult>


applyImageFilterOnPage(...)

applyImageFilterOnPage(args: { page: Page; filter: ImageFilterType; }) => Promise<ApplyImageFilterOnPageResult & BaseSdkResult>
ParamType
args{ page: Page; filter: ImageFilterType; }

Returns: Promise<Page & BaseSdkResult>


getImageData(...)

getImageData(args: { imageFileUri: string; }) => Promise<GetImageDataResult & BaseSdkResult>
ParamType
args{ imageFileUri: string; }

Returns: Promise<GetImageDataResult & BaseSdkResult>


rotateImage(...)

rotateImage(args: { imageFileUri: string; degrees: number; }) => Promise<RotateImageResult & BaseSdkResult>
ParamType
args{ imageFileUri: string; degrees: number; }

Returns: Promise<RotateImageResult & BaseSdkResult>


createPage(...)

createPage(args: { imageUri: string; }) => Promise<CreatePageResult & BaseSdkResult>
ParamType
args{ imageUri: string; }

Returns: Promise<Page & BaseSdkResult>


removePage(...)

removePage(args: { page: Page; }) => Promise<RemovePageResult & BaseSdkResult>
ParamType
args{ page: Page; }

Returns: Promise<RemovePageResult & BaseSdkResult>


rotatePage(...)

rotatePage(args: { page: Page; times: number; }) => Promise<RotatePageResult & BaseSdkResult>
ParamType
args{ page: Page; times: number; }

Returns: Promise<Page & BaseSdkResult>


setDocumentImage(...)

setDocumentImage(args: { page: Page; imageUri: string; }) => Promise<SetDocumentImageResult & BaseSdkResult>
ParamType
args{ page: Page; imageUri: string; }

Returns: Promise<Page & BaseSdkResult>


detectDocument(...)

detectDocument(args: { imageFileUri: string; }) => Promise<DetectDocumentResult & BaseSdkResult>
ParamType
args{ imageFileUri: string; }

Returns: Promise<DetectDocumentResult & BaseSdkResult>


detectDocumentOnPage(...)

detectDocumentOnPage(args: { page: Page; }) => Promise<DetectDocumentOnPageResult & BaseSdkResult>
ParamType
args{ page: Page; }

Returns: Promise<Page & BaseSdkResult>


estimateBlur(...)

estimateBlur(args: { imageFileUri: string; }) => Promise<EstimateBlurResult & BaseSdkResult>
ParamType
args{ imageFileUri: string; }

Returns: Promise<EstimateBlurResult & BaseSdkResult>


extractImagesFromPdf(...)

extractImagesFromPdf(args: ExtractImagesFromPdfArguments) => Promise<ExtractImagesFromPdfResult & BaseSdkResult>
ParamType
argsPdfExtractorArguments

Returns: Promise<ExtractImagesFromPdfResult & BaseSdkResult>


extractPagesFromPdf(...)

extractPagesFromPdf(args: ExtractPagesFromPdfArguments) => Promise<ExtractPagesFromPdfResult & BaseSdkResult>
ParamType
argsPdfExtractorArguments

Returns: Promise<ExtractPagesFromPdfResult & BaseSdkResult>


recognizeCheck(...)

recognizeCheck(args: { imageFileUri: string; }) => Promise<RecognizeCheckResult & BaseSdkResult>
ParamType
args{ imageFileUri: string; }

Returns: Promise<CheckRecognizerResult & BaseSdkResult>


recognizeMrz(...)

recognizeMrz(args: { imageFileUri: string; }) => Promise<RecognizeMRZResult & BaseSdkResult>
ParamType
args{ imageFileUri: string; }

Returns: Promise<RecognizeMRZResult & BaseSdkResult>


refreshImageUris(...)

refreshImageUris(args: { pages: Page[]; }) => Promise<RefreshImageUrisResult & BaseSdkResult>
ParamType
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: ImageFilterType; }) => Promise<GetFilteredDocumentPreviewUriResult & BaseSdkResult>
ParamType
args{ page: Page; filter: ImageFilterType; }

Returns: Promise<GetFilteredDocumentPreviewUriResult & BaseSdkResult>


performOCR(...)

performOCR(args: { imageFileUris: string[]; languages: string[]; options: { outputFormat?: OCROutputFormat; }; }) => Promise<PerformOCRResult & BaseSdkResult>
ParamType
args{ imageFileUris: string[]; languages: string[]; options: { outputFormat?: OCROutputFormat; }; }

Returns: Promise<PerformOCRResult & BaseSdkResult>


createPDF(...)

createPDF(args: { imageFileUris: string[]; pageSize: PDFPageSize; }) => Promise<CreatePDFResult & BaseSdkResult>
ParamType
args{ imageFileUris: string[]; pageSize: PDFPageSize; }

Returns: Promise<CreatePDFResult & BaseSdkResult>


writeTIFF(...)

writeTIFF(args: { imageFileUris: string[]; options: { oneBitEncoded?: boolean; dpi?: number; compression?: TIFFCompression; }; }) => Promise<WriteTIFFResult & BaseSdkResult>
ParamType
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

ParamType
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.

ParamTypeDescription
args{ pageId: string; }the pageId of the page that should be returned

Returns: Promise<Page>


Interfaces

DocumentScannerResult
PropType
statusStatus
pagesPage[]
Page

SDK Page

PropTypeDescription
pageIdstringA string identifying the page in the internal page file storage
polygonPolygonPoint[]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
detectionResultDetectionStatusThe document detection result status for the operation that produced the page
pageImageSourcePageImageSourceThe image source
filterImageFilterTypeThe Image Filter that was applied on the page image
documentImageSizeLimitSizeThe value that was set for documentImageSizeLimit, which limits the maximum size of the document image.
originalImageFileUristringFile URI of the original image
documentImageFileUristringFile URI of the cropped document image (if document detection was successful)
originalPreviewImageFileUristringFile URI of a screen-sized preview of the original image
documentPreviewImageFileUristringFile URI of a screen-sized preview of the document image (if document detection was successful)
PolygonPoint

Polygon Point

PropTypeDescription
xnumberPolygon point X
ynumberPolygon point Y
Size

Standard size object

PropTypeDescription
widthnumberWidth parameter
heightnumberHeight parameter
DocumentScannerConfiguration
PropTypeDescription
acceptedAngleScorenumberThe minimum score in percent (0 - 100) of the perspective distortion to accept a detected document. Default is 75.0.
acceptedSizeScorenumberThe minimum document width or height in percent (0 - 100) of the screen size to accept a detected document. Default is 80.0.
autoSnappingButtonHiddenbooleanControls whether the auto-snapping toggle button is hidden or not.
autoSnappingButtonTitlestringTitle of the auto-snapping toggle button.
autoSnappingEnabledbooleanWhen 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.
autoSnappingSensitivitynumberControls 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)
autoSnappingDelaynumberThe minimum delay in seconds between two consecutive automatic image captures. iOS only.
bottomBarBackgroundColorstringThe background color of the bottom shutter-bar.
bottomBarButtonsColorstringThe color of the title of all buttons in the bottom shutter-bar (Cancel button, etc.), as well as the camera permission prompt button.
cameraModuleCameraModuleThe preferred camera module (default - BACK)
cameraBackgroundColorstringThe color of the camera background (relevant only when the camera preview mode is CameraPreviewMode.FIT_IN).
cameraPreviewModeCameraPreviewModePreview mode of the camera. Fit-In or Fill-In.
cameraUnavailableExplanationTextstringString being displayed on the label describing that the app is in split mode and needs to go fullscreen to work with camera. iOS only.
cancelButtonHiddenbooleanWhether the cancel button is hidden or not. iOS only.
cancelButtonTitlestringTitle of the cancel button.
defaultPageFilterImageFilterTypeThe default image filter type for new documents pages. Defaults to ImageFilterTypeNone.
detectorModeDocumentDetectorModeThe 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.
enableCameraButtonTitlestringTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
enableCameraExplanationTextstringText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
flashEnabledbooleanControls whether the flash should be initially enabled. The default value is FALSE.
forceUserGuidancebooleanShows the user guidance elements if auto-snapping is disabled.
ignoreBadAspectRatiobooleanSets whether to ignore the OK_BUT_BAD_ASPECT_RATIO detection status. By default, BadAspectRatio is not ignored.
imageScalenumberThe 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.
multiPageButtonHiddenbooleanControls whether the multi-page toggle button is hidden or not.
multiPageButtonTitlestringTitle of the multi-page mode toggle button.
multiPageEnabledbooleanControls 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.
orientationLockModeOrientationLockModeUI Interface orientation lock mode
pageCounterButtonTitlestringTitle 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.
photoQualityPrioritizationCapturePhotoQualityPrioritizationThe prioritization 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.
polygonBackgroundColorstringThe 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).
polygonBackgroundColorOKstringThe background color of the detected document outline when we are ready to snap OK.
polygonColorstringThe 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).
polygonColorOKstringThe color of the detected document outline when we are ready to snap OK.
polygonLineWidthnumberWidth of the detected document outline.
polygonCornerRadiusnumberThe radius to use when drawing rounded corners of the polygon. Default is 8.0.
polygonAutoSnapProgressColorstringStroke color of polygon auto snap progress animation. Default is green. Can't be nil.
polygonAutoSnapProgressLineWidthnumberLine width of polygon auto snap progress animation. Default is 5.0.
polygonAutoSnapProgressEnabledbooleanWhether polygon auto snap progress animation is enabled or not. Default is true.
requiredAspectRatiosFinderAspectRatio[]An optional array of aspect ratios the documents have to conform to.
shutterButtonAutoInnerColorstringThe inner color of the shutter button in auto-snapping mode.
shutterButtonAutoOuterColorstringThe background color of the shutter button in auto-snapping mode.
shutterButtonIndicatorColorstringThe indicator color of the shutter button in auto-snapping mode. (iOS Only)
shutterButtonManualInnerColorstringThe foreground color of the shutter button in manual mode.
shutterButtonManualOuterColorstringThe background color of the shutter button in manual mode.
stopsCameraSessionWhenDisappearedbooleanThe 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.
textHintBadAnglesstringText hint that will be shown when the current detection status is OK_BUT_BAD_ANGLES
textHintBadAspectRatiostringText hint that will be shown when the current detection status is OK_BUT_BAD_ASPECT_RATIO
textHintNothingDetectedstringText hint that will be shown when the current detection status is ERROR_NOTHING_DETECTED
textHintOffCenterstringThe text being displayed on the user-guidance label, when a document was detected, but its center is too far away from the image center.
textHintOKstringText hint that will be shown when the current detection status is OK
textHintTooDarkstringText hint that will be shown when the current detection status is ERROR_TOO_DARK
textHintTooNoisystringText hint that will be shown when the current detection status is ERROR_TOO_NOISY
textHintTooSmallstringText hint that will be shown when the current detection status is OK_BUT_TOO_SMALL
topBarBackgroundColorstringThe background color of the top toolbar.
topBarButtonsActiveColorstringThe color of all active toggle buttons in the toolbar.
topBarButtonsInactiveColorstringThe color of all inactive toggle buttons in the toolbar.
userGuidanceBackgroundColorstringThe background color of the user guidance hints.
userGuidanceTextColorstringThe text color of the user guidance hints.
userGuidanceFontSizenumberFont size of the user guidance. Default is 17.0. (iOS only)
documentImageSizeLimitSizeLimits the maximum size of the document image. If width or height are zero, this property is effectively ignored.
shutterButtonHiddenbooleanHides 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.
textHintEnergySavingActivestringThe text being displayed on the user-guidance label, when the scanners energy saver is activated. iOS only.
maxNumberOfPagesnumberMaximum number of pages to scan. Ignored when set to null, or when multiPageEnabled is FALSE. Default value is null.
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
accessibilityConfigurationDocumentScannerAccessibilityConfigurationAllows you to customize the accessibility configuration for the Document Scanner UI
FinderAspectRatio

Finder aspect ratio

PropTypeDescription
widthnumberThe width component of the aspect ratio.
heightnumberThe height component of the aspect ratio.
DocumentScannerAccessibilityConfiguration

Document scanner accessibility configuration

PropTypeDescription
flashButtonAccessibilityLabelstringText, that is used as an accessibility label for the flash button.
flashButtonAccessibilityHintstringText, that is used as an accessibility hint for the flash button.
multiPageButtonAccessibilityLabelstringText, that is used as an accessibility label for the multi-page button.
multiPageButtonAccessibilityHintstringText, that is used as an accessibility hint for the multi-page button.
autoSnappingButtonAccessibilityLabelstringText, that is used as an accessibility label for the auto-snapping button.
autoSnappingButtonAccessibilityHintstringText, that is used as an accessibility hint for the auto-snapping button.
cancelButtonAccessibilityLabelstringText, that is used as an accessibility label for the cancel button.
cancelButtonAccessibilityHintstringText, that is used as an accessibility hint for the cancel button.
pageCounterButtonAccessibilityLabelstringText, that is used as an accessibility label for the page-amount button.
pageCounterAccessibilityHintstringText, that is used as an accessibility hint for the page-amount button.
shutterButtonAccessibilityLabelstringText, that is used as an accessibility label for the shutter button.
shutterButtonAccessibilityHintstringText, that is used as an accessibility hint for the shutter button.
FinderDocumentScannerConfiguration
PropTypeDescription
acceptedAngleScorenumberThe minimum score in percent (0 - 100) of the perspective distortion to accept a detected document. Default is 75.0.
acceptedSizeScorenumberThe minimum document width or height in percent (0 - 100) of the screen size to accept a detected document. Default is 80.0.
autoSnappingEnabledbooleanWhen 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.
autoSnappingSensitivitynumberControls 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 capturing by 3 seconds. The default value is 0.66 (2 seconds)
autoSnappingDelaynumberThe minimum delay in seconds between two consecutive automatic image captures. iOS only.
cameraModuleCameraModuleThe preferred camera module (default - BACK)
cameraBackgroundColorstringThe color of the camera background (relevant only when the camera preview mode is CameraPreviewMode.FIT_IN).
cameraPreviewModeCameraPreviewModePreview mode of the camera. Fit-In or Fill-In.
cameraUnavailableExplanationTextstringString being displayed on the label describing that the app is in split mode and needs to go fullscreen to work with camera. iOS only.
cancelButtonTitlestringTitle of the cancel button.
defaultPageFilterImageFilterTypeThe default image filter type for new documents pages. Defaults to ImageFilterTypeNone.
detectorModeDocumentDetectorModeThe 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.
enableCameraButtonTitlestringTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
enableCameraExplanationTextstringText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
flashEnabledbooleanControls whether the flash should be initially enabled. The default value is FALSE.
forceUserGuidancebooleanShows the user guidance elements if auto-snapping is disabled.
finderEnabledbooleanEnables the view finder.
finderLineColorstringForeground color of the detection overlay.
finderLineWidthnumberWidth of finder frame border. Default is 2.
cameraOverlayColorstringBackground color outside the finder window.
finderAspectRatioFinderAspectRatioAspect ratio of finder frame (width \ height), which is used to build actual finder frame. Default is 1 - which is a square frame
ignoreBadAspectRatiobooleanSets whether to ignore the OK_BUT_BAD_ASPECT_RATIO detection status. By default, BadAspectRatio is not ignored.
imageScalenumberThe 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.
orientationLockModeOrientationLockModeUI Interface orientation lock mode
photoQualityPrioritizationCapturePhotoQualityPrioritizationThe prioritization 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.
polygonEnabledbooleanEnables the displaying of the documents' polygon.
polygonBackgroundColorstringThe 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).
polygonBackgroundColorOKstringThe background color of the detected document outline when we are ready to snap OK.
polygonColorstringThe 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).
polygonColorOKstringThe color of the detected document outline when we are ready to snap OK.
polygonLineWidthnumberWidth of the detected document outline.
polygonCornerRadiusnumberThe radius to use when drawing rounded corners of the polygon. Default is 8.0.
autoSnapProgressColorstringStroke color of polygon or finder auto snap progress animation. Default is green. Can't be nil.
autoSnapProgressLineWidthnumberLine width of polygon or finder auto snap progress animation. Default is 5.0.
autoSnapProgressEnabledbooleanWhether polygon or finder auto snap progress animation is enabled or not. Default is true.
lockDocumentAspectRatioToFinderbooleanIf true allows only scanning of documents with the aspect ratio that the finder has.
shutterButtonAutoInnerColorstringThe inner color of the shutter button in auto-snapping mode.
shutterButtonAutoOuterColorstringThe background color of the shutter button in auto-snapping mode.
shutterButtonIndicatorColorstringThe indicator color of the shutter button in auto-snapping mode. iOS only.
shutterButtonManualInnerColorstringThe foreground color of the shutter button in manual mode.
shutterButtonManualOuterColorstringThe background color of the shutter button in manual mode.
stopsCameraSessionWhenDisappearedbooleanThe 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. Defaults to True. iOS only.
textHintBadAnglesstringText hint that will be shown when the current detection status is OK_BUT_BAD_ANGLES
textHintBadAspectRatiostringText hint that will be shown when the current detection status is OK_BUT_BAD_ASPECT_RATIO
textHintNothingDetectedstringText hint that will be shown when the current detection status is ERROR_NOTHING_DETECTED
textHintOffCenterstringThe text being displayed on the user-guidance label, when a document was detected, but its center is too far away from the image center.
textHintOKstringText hint that will be shown when the current detection status is OK
textHintTooDarkstringText hint that will be shown when the current detection status is ERROR_TOO_DARK
textHintTooNoisystringText hint that will be shown when the current detection status is ERROR_TOO_NOISY
textHintTooSmallstringText hint that will be shown when the current detection status is OK_BUT_TOO_SMALL
topBarBackgroundColorstringThe background color of the top toolbar.
topBarButtonsActiveColorstringThe color of all active toggle buttons in the toolbar.
topBarButtonsInactiveColorstringThe color of all inactive toggle buttons in the toolbar.
userGuidanceBackgroundColorstringThe background color of the user guidance hints.
userGuidanceTextColorstringThe text color of the user guidance hints.
userGuidanceFontSizenumberFont size of the user guidance. Default is 17.0. (iOS only)
documentImageSizeLimitSizeLimits the maximum size of the document image. If width or height are zero, this property is effectively ignored.
shutterButtonHiddenbooleanHides 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 behavior configuration will have no effect. Also the auto-snapping button will be hidden.
textHintEnergySavingActivestringThe text being displayed on the user-guidance label, when the scanner's energy saver is activated. iOS only.
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by Android Material Design. Defaults to TRUE. Android only.
accessibilityConfigurationFinderDocumentScannerAccessibilityConfigurationAllows you to customize the accessibility configuration for the Document Scanner UI
FinderDocumentScannerAccessibilityConfiguration

Finder Document scanner accessibility configuration

PropTypeDescription
flashButtonAccessibilityLabelstringText, that is used as an accessibility label for the flash button.
flashButtonAccessibilityHintstringText, that is used as an accessibility hint for the flash button.
cancelButtonAccessibilityLabelstringText, that is used as an accessibility label for the cancel button.
cancelButtonAccessibilityHintstringText, that is used as an accessibility hint for the cancel button.
shutterButtonAccessibilityLabelstringText, that is used as an accessibility label for the shutter button.
shutterButtonAccessibilityHintstringText, that is used as an accessibility hint for the shutter button.
CroppingResult
PropType
statusStatus
pagePage
CroppingConfiguration
PropTypeDescription
topBarTitlestringTitle in the top bar (iOS only).
topBarTitleColorstringColor of the title in the top bar (iOS only).
cancelButtonTitlestringTitle of the cancel button.
hintTitlestringText of the edit screen hint.
hintTitleColorstringColor of the edit screen hint text.
backgroundColorstringBackground color of the screen.
rotateButtonTitlestringTitle of the Rotate button.
resetButtonTitlestringTitle of the Reset button.
detectButtonTitlestringTitle of the Detect button.
doneButtonTitlestringTitle of the Done button.
rotateButtonHiddenbooleanChanges the visibility of the Rotate button.
detectResetButtonHiddenbooleanChanges the visibility of Detect and Reset buttons.
orientationLockModeOrientationLockModeUI Interface orientation lock mode
polygonColorstringDefault color of the cropping outline.
anchorPointsColorstringDefault color of the cropping draggable elements.
polygonColorMagneticstringOutline color of magnetically snapped edges.
polygonLineWidthnumberWidth of the detected document outline.
topBarBackgroundColorstringThe background color of the top toolbar.
topBarButtonsActiveColorstringThe color of all active toggle buttons in the toolbar.
bottomBarBackgroundColorstringThe background color of the bottom shutter-bar.
bottomBarButtonsColorstringThe color of the title of all buttons in the bottom shutter-bar (Cancel button, etc.), as well as the camera permission prompt button.
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
swapTopBottomButtonsbooleanSwap top and bottom buttons on the screen
accessibilityConfigurationCroppingAccessibilityConfigurationAllows you to customize the accessibility configuration for the Cropping UI
CroppingAccessibilityConfiguration

Cropping screen accessibility configuration

PropTypeDescription
cancelButtonAccessibilityLabelstringText, that is used as an accessibility label for the cancel button
cancelButtonAccessibilityHintstringText, that is used as an accessibility hint for the cancel button
doneButtonAccessibilityLabelstringText, that is used as an accessibility label for the done button
doneButtonAccessibilityHintstringText, that is used as an accessibility hint for the done button.
detectButtonAccessibilityLabelstringText, that is used as an accessibility label for the detect button
detectButtonAccessibilityHintstringText, that is used as an accessibility hint for the detect button
resetButtonAccessibilityLabelstringText, that is used as an accessibility label for the reset button
resetButtonAccessibilityHintstringText, that is used as an accessibility hint for the reset button
rotateButtonAccessibilityLabelstringText, that is used as an accessibility hint for the rotate button
rotateButtonAccessibilityHintstringText, that is used as an accessibility hint for the rotate button
MrzResult
PropType
statusStatus
MrzScannerConfiguration
PropTypeDescription
cameraModuleCameraModuleThe preferred camera module (default - BACK)
cameraOverlayColorstringBackground color outside of the finder window.
cancelButtonTitlestringTitle of the cancel button.
cancelButtonHiddenbooleanWhether the cancel button is hidden or not. iOS only.
enableCameraButtonTitlestringTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
enableCameraExplanationTextstringText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
finderLineColorstringForeground color of the detection overlay.
finderLineWidthnumberWidth of finder frame border. Default is 2.
finderTextHintstringString being displayed as description.
finderTextHintColorstringForeground color of the description label.
finderAspectRatioFinderAspectRatioAspect 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.
flashEnabledbooleanControls whether the flash should be initially enabled. The default value is FALSE.
orientationLockModeOrientationLockModeUI Interface orientation lock mode
successBeepEnabledbooleanControls whether to play a beep sound after a successful detection. Default value is TRUE.
topBarBackgroundColorstringThe background color of the top toolbar.
topBarButtonsActiveColorstringThe color of all active toggle buttons in the toolbar.
topBarButtonsInactiveColorstringThe color of all inactive toggle buttons in the toolbar. iOS only.
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
replaceCancelButtonWithIconbooleanIf true, replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only.
cameraPreviewModeCameraPreviewModePreview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only
autoCancelTimeoutnumberTime in seconds until the screen is automatically cancelled. Set to 0 to disable automatic cancellation. Defaults to 0 (disabled). iOS only.
BarcodeResult
PropType
statusStatus
barcodesBarcodeResultField[]
BarcodeResultField
PropTypeDescription
typeBarcodeFormatThe recognized barcode type
textstringThe recognized barcode text
textWithExtensionstringThe recognized barcode text with extension (if available)
rawBytesnumber[]The array of raw bytes that compose the recognized barcode
parsedSuccessfulbooleanTrue if the Barcode Document has been parsed successfully
formattedResultAAMVADocumentFormat | BoardingPassDocumentFormat | GS1DocumentFormat | IDCardPDF417DocumentFormat | MedicalCertificateDocumentFormat | MedicalPlanDocumentFormat | SEPADocumentFormat | SwissQRCodeDocumentFormat | VCardDocumentFormatThe formatted barcode document (if it was parsed succesfully)
AAMVADocumentFormat

AAMVA Document Format

PropTypeDescription
headerRawStringstringHeader Raw String
fileTypestringFile Type
issuerIdentificationNumberstringIssuer Identification Number
aamvaVersionNumberstringAAMVA Version Number
jurisdictionVersionNumberstringJurisdiction Version Number
numberOfEntriesnumberNumber of entries
subfilesAAMVADocumentSubfileSub-files
AAMVADocumentSubfile

AAMVA Document Sub-File

PropTypeDescription
subFileTypestringSub-file type
subFileRawHeaderstringSub-file raw header
fieldsAAMVADocumentSubfileField[]Sub-file fields
AAMVADocumentSubfileField

AAMVA Document Sub-File Field

PropTypeDescription
typeAAMVARecordFieldTypeAAMVA Document sub-file Record Field Type
typeStringstringAAMVA Document sub-file Field Type String
valuestringAAMVA Document sub-file Field value
rawValuestringAAMVA Document sub-file Field raw value
BoardingPassDocumentFormat

Boarding Pass Document Format

PropTypeDescription
numberOfLegsnumberNumber of legs
electronicTicketbooleanTrue if electronic ticket, false otherwise
securityDatastringSecurity Data
legsBoardingPassLeg[]Legs
BoardingPassLeg

Boarding Pass Leg

PropTypeDescription
fieldsBoardingPassLegField[]Boarding Pass Leg Fields
BoardingPassLegField

Boarding Pass Leg Field

PropTypeDescription
typeBoardingPassDocumentFieldTypeBoarding Pass Document Field Type
valuestringBoarding Pass Document Field Value
GS1DocumentFormat

GS1 Document Format

PropTypeDescription
fieldsGS1DocumentField[]GS1 Document fields
GS1DocumentField

GS1 Document Field

PropTypeDescription
rawValuestringField raw value
applicationIdentifierstringApplication Identifier
dataTitlestringData Title
fieldDescriptionstringField description
standardbooleanTrue if it is standard, false otherwise
validationStatusGS1SystemElementValidationStatusValidation Status
IDCardPDF417DocumentFormat

ID Card PDF417 Document Format

PropTypeDescription
fieldsIDCardPDF417DocumentField[]ID Card PDF417 Document Fields
IDCardPDF417DocumentField

ID Card PDF417 Document Field

PropTypeDescription
typeIDCardPDF417DocumentFieldTypeField Type
valuestringField Value
MedicalCertificateDocumentFormat

Medical Certificate Document Format

PropTypeDescription
fieldsMedicalCertificateDocumentField[]Medical Certificate Document Fields
MedicalCertificateDocumentField

Medical Certificate Document Field

PropTypeDescription
typeMedicalCertificateDocumentFieldTypeMedical Certificate Document Field Type
valuestringMedical Certificate Document Field Value
MedicalPlanDocumentFormat

Medical Plan Document Format

PropTypeDescription
GUIDstringIdentifier
currentPagenumberCurrent page (index)
totalNumberOfPagesnumberTotal number of pages
documentVersionNumberstringDocument version number
patchVersionNumberstringPatch version number
languageCountryCodestringLanguage country code
patientMedicalPlanPatientInformationPatient Information
doctorMedicalPlanDoctorInformationDoctor Information
subheadingsMedicalPlanStandardSubheading[]Subheadings
MedicalPlanPatientInformation

Medical Plan Patient Information

PropTypeDescription
fieldsMedicalPlanPatientField[]Medical Plan Patient Fields
MedicalPlanPatientField

Medical Plan Patient Field

PropTypeDescription
typeMedicalPlanPatientFieldTypeMedical Plan Patient Field Type
valuestringMedical Plan Patient Field Value
MedicalPlanDoctorInformation

Medical Plan Doctor Information

PropTypeDescription
fieldsMedicalPlanDoctorField[]Medical Plan Doctor Information Fields
MedicalPlanDoctorField

Medical Plan Doctor Field

PropTypeDescription
typeMedicalPlanDoctorFieldTypeMedical Plan Doctor Field Type
valuestringMedical Plan Doctor Field Value
MedicalPlanStandardSubheading

Medical Plan Standard Subheading

PropTypeDescription
fieldsMedicalPlanStandardSubheadingField[]Subheading Fields
generalNotesstring[]General Notes
medicinesMedicalPlanMedicine[]Medicines
prescriptionsMedicalPlanPrescription[]Prescriptions
MedicalPlanStandardSubheadingField

Medical Plan Standard Subheading Field

PropTypeDescription
typeMedicalPlanStandardSubheadingFieldTypeMedical Plan Standard Subheading Field Type
valuestringMedical Plan Standard Subheading Field Value
MedicalPlanMedicine

Medical Plan Medicine

PropTypeDescription
fieldsMedicalPlanMedicineField[]Medical Plan Medicine Fields
substancesMedicalPlanMedicineSubstance[]Medical Plan Medicine Substances
MedicalPlanMedicineField

Medical Plan Medicine Field

PropTypeDescription
typeMedicalPlanMedicineFieldTypeMedical Plan Medicine Field Type
valuestringMedical Plan Medicine Field Value
MedicalPlanMedicineSubstance

Medical Plan Medicine Substance

PropTypeDescription
fieldsMedicalPlanMedicineSubstanceField[]Medical Plan Medicine Substance Fields
MedicalPlanMedicineSubstanceField

Medical Plan Medicine Substance Field

PropTypeDescription
typeMedicalPlanMedicineSubstanceFieldTypeMedical Plan Medicine Substance Field Type
valuestringMedical Plan Medicine Substance Field Value
MedicalPlanPrescription

Medical Plan Prescription

PropTypeDescription
fieldsMedicalPlanPrescriptionField[]Medical Plan Prescription Fields
MedicalPlanPrescriptionField

Medical Plan Prescription Field

PropTypeDescription
typeMedicalPlanPrescriptionFieldTypeMedical Plan Prescription Field Type
valuestringMedical Plan Prescription Field Value
SEPADocumentFormat

SEPA Document Format

PropTypeDescription
fieldsSEPADocumentFormatField[]SEPA Document Format Fields
SEPADocumentFormatField

SEPA Document Format Field

PropTypeDescription
typeSEPADocumentFieldTypeSEPA Document Field Type
valuestringSEPA Document Field Value
SwissQRCodeDocumentFormat

Swiss QR Code Document Format

PropTypeDescription
fieldsSwissQRCodeDocumentField[]Swiss QR Code Document Fields
versionSwissQRCodeVersionSwiss QR Code Version
SwissQRCodeDocumentField

Swiss QR Code Document Field

PropTypeDescription
typeSwissQRCodeDocumentFieldTypeSwiss QR Code Document Field Type
valuestringSwiss QR Code Document Field Value
typeHumanReadableStringstringSwiss QR Code Document Field Human-readable String
VCardDocumentFormat

vCard Document Format

PropTypeDescription
fieldsVCardDocumentFormatField[]vCard Document Format Fields
VCardDocumentFormatField

vCard Document Field

PropTypeDescription
typeVCardDocumentFormatFieldTypevCard Document Field Type
typeModifiersstring[]vCard Document Field Type Modifiers
rawTextstringvCard Document Field Raw Text
valuesstring[]vCard Document Field Values
BarcodeScannerConfiguration
PropTypeDescription
acceptedDocumentFormatsBarcodeDocumentFormat[]An optional array of barcode document formats that act as a detection filter. By default all supported document formats will be detected.
cameraOverlayColorstringBackground color of the detection overlay.
cameraModuleCameraModuleThe preferred camera module (default - BACK)
cameraZoomFactornumberThe 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.
cancelButtonHiddenbooleanWhether the cancel button is hidden or not. iOS only.
cancelButtonTitlestringString being displayed on the cancel button.
engineModeEngineModeBarcode scanner engine mode (NEXT_GEN or LEGACY). Default is NEXT_GEN.
enableCameraButtonTitlestringTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
enableCameraExplanationTextstringText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
finderLineColorstringForeground color of the detection overlay.
finderLineWidthnumberWidth of finder frame border. Default is 2.
finderTextHintstringString being displayed as description.
finderTextHintColorstringForeground color of the description label.
finderAspectRatioFinderAspectRatioAspect 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.
flashButtonInactiveColorstringForeground color of the flash button when flash is off.
flashEnabledbooleanWhether flash is toggled on or off.
focusLockEnabledbooleanDisables 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.
focusLockPositionnumberThe 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.
orientationLockModeOrientationLockModeUI Interface orientation lock mode
minimumTextLengthnumberOptional minimum required text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only.
maximumTextLengthnumberOptional maximum text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only.
minFocusDistanceLockbooleanLock focus distance withing minimum possible range
minimum1DBarcodesQuietZonenumberOptional 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.
stripCheckDigitsbooleanWith 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
successBeepEnabledbooleanWhether scanner screen should make a sound on successful barcode detection.
topBarBackgroundColorstringBackground color of the top bar.
topBarButtonsColorstringForeground color of the cancel button.
barcodeFormatsBarcodeFormat[]Accepted barcode formats
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
replaceCancelButtonWithIconbooleanIf true, replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only.
cameraPreviewModeCameraPreviewModePreview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only
cameraZoomRangeZoomRangeThe range of valid camera zoom factors. Default value is (1.0; 3.0). iOS only. For Android, minFocusDistanceLock can be used.
autoCancelTimeoutnumberSets auto close timer in seconds. 0 = disabled and it is the default value. Android only
gs1DecodingEnabledbooleanWhen 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!
msiPlesseyChecksumAlgorithmMSIPlesseyChecksumAlgorithmThe checksum algorithm for MSI Plessey barcodes. The default value is Mod10.
lowPowerModebooleanIf 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.
codeDensityCodeDensityThe expected density of QR codes in an image.
barcodeImageGenerationTypeBarcodeImageGenerationTypeThe type of barcode image generation.
initialScanDelaynumberScanning delay after scanner appearance in seconds. Defaults to 0 secs.
delayAfterScannumberFreezes a preview after a scan for a given amount of seconds. Defaults to 0 secs. Android only.
doubleTapToZoomEnabledbooleanWhen this property is set to true, the zoom can be activated by double tapping somewhere in the receivers view. iOS only.
pinchToZoomEnabledbooleanWhen this property is set to true, the zoom can be activated by a pinch gesture somewhere in the receivers view. iOS only.
shouldAnimateZoomingbooleanDefines, if zooming in or out should be animated. iOS only.
overlayConfigurationSelectionOverlayConfigurationThe selection overlay configuration.
ZoomRange

Defines a range for zooming

PropTypeDescription
minZoomnumberThe minimum zoom scale. Defaults to 1.0.
maxZoomnumberThe maximum zoom scale. Defaults to 3.0.
SelectionOverlayConfiguration

Barcode Selection Overlay configuration

PropTypeDescription
overlayEnabledbooleanWhether the barcode selection overlay is enabled or not.
automaticSelectionEnabledbooleanWhether the barcode is selected automatically when being detected or not.
textFormatBarcodeOverlayTextFormatDefine the way of how to show barcode data with selection overlay.
polygonColorstringThe color of the polygon in the selection overlay.
textColorstringThe color of the text in the selection overlay.
textContainerColorstringThe color of the texts background in the selection overlay.
highlightedPolygonColorstringThe color of the polygon in the selection overlay, when highlighted.
highlightedTextColorstringThe color of the text in the selection overlay, when highlighted.
highlightedTextContainerColorstringThe color of the texts background in the selection overlay, when highlighted.
BatchBarcodeScannerConfiguration
PropTypeDescription
acceptedDocumentFormatsBarcodeDocumentFormat[]An optional array of barcode document formats that act as a detection filter. By default all supported document formats will be detected.
cameraOverlayColorstringBackground color of the detection overlay.
cameraModuleCameraModuleThe preferred camera module (default - BACK)
cameraZoomFactornumberThe 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.
cameraZoomRangeZoomRangeThe range of valid camera zoom factors. Default value is (1.0; 3.0). iOS only.
cancelButtonHiddenbooleanWhether the cancel button is hidden or not. iOS only.
cancelButtonTitlestringString being displayed on the cancel button.
doubleTapToZoomEnabledbooleanWhen this property is set to true, the zoom can be activated by double tapping somewhere in the receivers view. iOS only.
pinchToZoomEnabledbooleanWhen this property is set to true, the zoom can be activated by a pinch gesture somewhere in the receivers view. iOS only.
shouldAnimateZoomingbooleanDefines, if zooming in or out should be animated. iOS only.
engineModeEngineModeBarcode scanner engine mode (NEXT_GEN or LEGACY). Default is NEXT_GEN.
finderLineColorstringForeground color of the detection overlay.
finderLineWidthnumberWidth of finder frame border. Default is 2.
finderTextHintstringString being displayed as description.
finderTextHintColorstringForeground color of the description label.
finderAspectRatioFinderAspectRatioAspect 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.
flashEnabledbooleanWhether flash is toggled on or off.
focusLockEnabledbooleanDisables auto-focus and locks the lens at the specified focus lock lens position. The default value is false.
focusLockPositionnumberThe 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.
orientationLockModeOrientationLockModeUI Interface orientation lock mode
minimumTextLengthnumberOptional minimum required text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only.
maximumTextLengthnumberOptional maximum text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only.
minimum1DBarcodesQuietZonenumberOptional 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.
minFocusDistanceLockbooleanLock focus distance withing minimum possible range
stripCheckDigitsbooleanWith 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
successBeepEnabledbooleanWhether scanner screen should make a sound on successful barcode detection.
topBarBackgroundColorstringBackground color of the top bar.
topBarButtonsColorstringForeground color of the cancel button.
topBarButtonsInactiveColorstringForeground color of the top bar buttons when disabled.
barcodeFormatsBarcodeFormat[]Accepted barcode formats
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
gs1DecodingEnabledbooleanWhen 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!
msiPlesseyChecksumAlgorithmMSIPlesseyChecksumAlgorithmThe checksum algorithm for MSI Plessey barcodes. The default value is Mod10.
lowPowerModebooleanIf 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.
barcodesCountTextstringThe text to display for the barcodes count
barcodesCountTextColorstringThe color for barcodes count text
clearButtonTitlestringText of the button which clears the list of scanned barcodes.
detailsActionColorstringThe color of Submit button
detailsBackgroundColorstringThe color of bottom sheet
detailsPrimaryColorstringThe color of text elements in bottom sheet
deleteButtonTitlestringString being displayed on the delete button.
enableCameraButtonTitlestringTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
enableCameraExplanationTextstringText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
fetchingStateTextstringThe text for the data fetching state of the barcode item in a list. Smth "Fetching info…"
noBarcodesTitlestringText of the message that there are no barcodes scanned
submitButtonTitlestringText of the button which finishes the flow
codeDensityCodeDensityThe expected density of QR codes in an image.
replaceCancelButtonWithIconbooleanIf true, replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only.
cameraPreviewModeCameraPreviewModePreview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only
autoCancelTimeoutnumberSets auto close timer in seconds. 0 = disabled and it is the default value. Android only
initialScanDelaynumberScanning delay after scanner appearance in seconds. Defaults to 0 secs.
overlayConfigurationSelectionOverlayConfigurationThe selection overay configuration.
HealthInsuranceCardScannerResult
PropType
statusStatus
fields{ type: string; value: string; confidence: number; }[]
HealthInsuranceCardScannerConfiguration
PropTypeDescription
cameraModuleCameraModuleThe preferred camera module (default - BACK)
cameraOverlayColorstringBackground color outside of the finder window.
cancelButtonTitlestringTitle of the cancel button.
cancelButtonHiddenbooleanWhether the cancel button is hidden or not. iOS only.
detectionStatusFailedDetectionTextstringString being displayed when health insurance card was not found.
detectionStatusFailedValidationTextstringString being displayed when health insurance card was found but not recognized.
detectionStatusSuccessTextstringString being displayed when health insurance card was found and recognized.
enableCameraButtonTitlestringTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
enableCameraExplanationTextstringText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
finderLineColorstringForeground color of the detection overlay.
finderLineWidthnumberWidth of finder frame border. Default is 2.
finderTextHintstringString being displayed as description.
finderTextHintColorstringForeground color of the description label.
flashEnabledbooleanControls whether the flash should be initially enabled. The default value is FALSE.
orientationLockModeOrientationLockModeUI Interface orientation lock mode
topBarBackgroundColorstringThe background color of the top toolbar.
topBarButtonsActiveColorstringThe color of all active toggle buttons in the toolbar.
topBarButtonsInactiveColorstringThe color of all inactive toggle buttons in the toolbar. iOS only.
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
replaceCancelButtonWithIconbooleanIf true, replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only.
cameraPreviewModeCameraPreviewModePreview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only
TextDataScannerResult
PropType
statusStatus
result{ text: string; confidence: number; }
TextDataScannerConfiguration
PropTypeDescription
cameraModuleCameraModuleThe preferred camera module (default - BACK)
cameraOverlayColorstringBackground color outside of the finder window.
cancelButtonTitlestringTitle of the cancel button.
cancelButtonHiddenbooleanWhether the cancel button is hidden or not. iOS only.
enableCameraButtonTitlestringTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
enableCameraExplanationTextstringText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
finderLineColorstringForeground color of the detection overlay.
finderLineWidthnumberWidth of finder frame border. Default is 2.
finderTextHintColorstringForeground color of the description label.
flashEnabledbooleanControls whether the flash should be initially enabled. The default value is FALSE.
orientationLockModeOrientationLockModeUI Interface orientation lock mode
topBarBackgroundColorstringThe background color of the top toolbar.
topBarButtonsActiveColorstringThe color of all active toggle buttons in the toolbar.
topBarButtonsInactiveColorstringThe color of all inactive toggle buttons in the toolbar.
wordBoxHighlightColorstringThe color of the highlight of the wordboxes founded on the frame
wordBoxHighlightEnabledbooleanIf the wordboxes should be highlighted when were found on the frame
minimumNumberOfRequiredFramesWithEqualRecognitionResultnumberMinimum number of accumulated frames that have equal result
maximumNumberOfAccumulatedFramesnumberMaximum number of accumulated frames to inspect before actual result is returned
supportedLanguagesstring[]Languages on which the recognition will be run. ISO 639-1 or RFC4646 for special languages that are not available for ISO 639-1
ocrResolutionLimitnumberThe 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.
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
replaceCancelButtonWithIconbooleanIf true, replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only.
cameraPreviewModeCameraPreviewModePreview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only
textDataScannerStepTextDataScannerStepConfiguration for the scanned item
TextDataScannerStep

Configuration for the scanned item

PropTypeDescription
guidanceTextstringUser guidance hint text.
patternstringValidation 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.
shouldMatchSubstringbooleanIf 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.
preferredZoomnumberThe 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
aspectRatioFinderAspectRatioThe preferred finder aspect ratio. *
unzoomedFinderHeightnumberThe 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.
allowedSymbolsstringA string (list) of accepted characters during text recognition. If empty or nil, all characters are accepted. Defaults to nil.
textFilterStrategyTextFilterStrategyRecognition strategy for the text.
significantShakeDelaynumberThreshold 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
PropTypeDescription
statusStatus'OK' if the License Plate was scanned, 'CANCELED' if the user canceled the scanner UI.
licensePlatestringThe License Plate detected by the scanner
confidencenumberConfidence in the accuracy of the detection (0 - 100)
countryCodestringThe Country Code on the License Plate as detected by the scanner
rawTextstringThe entire raw text detected on the License Plate by the scanner
isValidationSuccessfulboolean'true' if the validation of the scanned license plate was successful, 'false' otherwise - iOS only.
LicensePlateScannerConfiguration
PropTypeDescription
cameraModuleCameraModuleThe preferred camera module (default - BACK)
cameraOverlayColorstringBackground color outside of the finder window.
cancelButtonTitlestringTitle of the cancel button.
cancelButtonHiddenbooleanWhether the cancel button is hidden or not. iOS only.
confirmationDialogStyleDialogStyleThe style of the confirmation dialog. iOS Only.
confirmationDialogConfirmButtonStyleDialogButtonStyleThe style of the confirmation dialogs confirm button. iOS Only.
confirmationDialogRetryButtonStyleDialogButtonStyleThe style of the confirmation dialogs retry button. iOS Only.
enableCameraButtonTitlestringTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
enableCameraExplanationTextstringText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
finderLineColorstringForeground color of the detection overlay.
finderLineWidthnumberWidth of finder frame border. Default is 2.
finderTextHintstringUser guidance text below the finder view
finderTextHintColorstringForeground color of the description label.
finderPreferredHeightnumberThe preferred heigth of the view finder. Defaults to 150.0. iOS Only.
flashEnabledbooleanControls whether the flash should be initially enabled. The default value is FALSE.
orientationLockModeOrientationLockModeUI Interface orientation lock mode
topBarBackgroundColorstringThe background color of the top toolbar.
topBarButtonsActiveColorstringThe color of all active toggle buttons in the toolbar.
topBarButtonsInactiveColorstringThe color of all inactive toggle buttons in the toolbar.
minNumberOfRequiredFramesWithEqualRecognitionResultnumberMinimum number of accumulated frames that have equal result
maximumNumberOfAccumulatedFramesnumberMaximum number of accumulated frames to inspect before actual result is returned
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
significantShakeDelaynumberThreshold 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.
scanStrategyLicensePlateScanStrategyDetector mode, classic (OCR based) or ML (machine learning based) approach.
confirmationDialogTitlestringThe title of the confirmation dialog.
confirmationDialogMessagestringThe message text of the confirmation dialog.
confirmationDialogConfirmButtonTitlestringThe title of the confirmation dialog retry button.
confirmationDialogRetryButtonTitlestringThe title of the confirmation dialog confirm button.
confirmationDialogAccentColorstringThe accent color of buttons on a confirmation dialog. Android only.
confirmationDialogConfirmButtonFilledbooleanAllows to set if the confirm button should be filled. Defaults to TRUE. Android only.
confirmationDialogConfirmButtonFilledTextColorstringAllows to set a text color of the filled button. See confirmationDialogConfirmButtonFilled. Android only.
replaceCancelButtonWithIconbooleanIf true, replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only.
cameraPreviewModeCameraPreviewModePreview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only
DialogStyle

Configuration for the dialog/alert style

PropTypeDescription
screenBackgroundColorstringThe Color of the screen-covering backdrop view.
dialogBackgroundColorstringThe general background color of the actual dialog view.
dialogBackgroundEffectBlurEffectThe visual effect of the dialogs background.
cornerRadiusnumberThe corner radius of the dialog.
titleColorstringThe color of the dialogs title.
titleFontFontThe font of the dialogs title
messageColorstringThe color of the dialogs message.
messageFontFontThe font of the dialogs message.
separatorColorstringThe color of the separators around the dialogs button area.
separatorWidthnumberThe width of the separators in points.
Font

The font name and size. iOS only.

PropTypeDescription
fontNamestringThe font name. defaults to SYSTEM.
fontSizenumberThe font size. defaults 17.0 .
DialogButtonStyle

Configuration for the dialogs/alerts OK button style.

PropTypeDescription
fontFontThe font of the button title.
textColorstringThe color of the buttons title while not pressed.
highlightedTextColorstringThe color of the buttons title while pressed.
backgroundColorstringThe background color of the button while not pressed.
highlightedBackgroundColorstringThe background color of the button while pressed.
MedicalCertificateRecognizerConfiguration
PropTypeDescription
cameraModuleCameraModuleThe preferred camera module (default - BACK)
cameraOverlayColorstringBackground color outside of the finder window.
cancelButtonTitlestringTitle of the cancel button.
cancelButtonHiddenbooleanWhether the cancel button is hidden or not. iOS only.
enableCameraButtonTitlestringTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
enableCameraExplanationTextstringText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
finderLineColorstringForeground color of the detection overlay.
finderLineWidthnumberWidth of finder frame border. Default is 2.
flashEnabledbooleanControls whether the flash should be initially enabled. The default value is FALSE.
orientationLockModeOrientationLockModeUI Interface orientation lock mode
topBarBackgroundColorstringThe background color of the top toolbar.
topBarButtonsActiveColorstringThe color of all active toggle buttons in the toolbar.
topBarButtonsInactiveColorstringThe color of all inactive toggle buttons in the toolbar.
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
userGuidanceBackgroundColorstringThe background color of the user guidance hints.
userGuidanceTextColorstringThe text color of the user guidance hints.
userGuidanceHiddenbooleanWhether the user guidance label is hidden or not. iOS only.
recognizePatientInfobooleanWhether sdk should run recognition of Patient Information block.
returnCroppedDocumentImagebooleanWhether sdk should return cropped document image or not. (Android only)
errorDialogStyleDialogStyleThe style of the dialog/alert in case of error. iOS only.
errorDialogTitlestringError dialog title
errorDialogAccentColorstringThe accent color of buttons on a error dialog. Android only.
errorDialogMessagestringError dialog message
errorDialogOkButtonstringError dialog ok button text.
errorDialogOkButtonFilledbooleanAllows to set if the confirm button should be filled. Android only.
errorDialogOkButtonFilledTextColorstringAllows to set a text color of the filled button. Android only.
errorDialogButtonStyleDialogButtonStyleThe style of the dialogs/alerts OK button in case of error. iOS only.
showFinderOverlaybooleanOption to show or hide finder overlay
userGuidanceStringsMedicalCertificateUserGuidanceStringsConfiguration that helps to override default hint values
cameraPreviewModeCameraPreviewModePreview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only
finderAspectRatioFinderAspectRatioAspect ratio of the view finder (width \ height). Set to nil of no view finder should be displayed. iOS only.
finderSecondaryAspectRatioFinderAspectRatioSecondary 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

PropTypeDescription
startScanningstringText that is shown on camera open.
scanningstringText that is shown when the camera is seeking for the document on the visible area, shown after the first result from the detector.
energySavingstringText that is shown when energy saving is active. (iOS only)
capturingstringText that is shown when the camera snaps the image.
processingstringText that is shown when the detector tries to detect the document from the snapped image.
pausedstringText that is shown when the detector is paused. iOS only.
GenericDocumentRecognizerResult
PropType
documentTypeGenericDocumentType
statusStatus
fieldsGenericDocumentFields
DeDriverLicenseResult
PropType
birthDateGenericDocumentField
birthplaceGenericDocumentField
expiryDateGenericDocumentField
givenNamesGenericDocumentField
idGenericDocumentField
issueDateGenericDocumentField
issuingAuthorityGenericDocumentField
licenseCategoriesGenericDocumentField
photoImageUristring
signatureImageUristring
surnameGenericDocumentField
restrictionsGenericDocumentField
categoriesDriverLicenseCategories
GenericDocumentField
PropType
textstring
confidencenumber
DriverLicenseCategories
PropType
aDriverLicenseCategory
a1DriverLicenseCategory
a2DriverLicenseCategory
bDriverLicenseCategory
b1DriverLicenseCategory
beDriverLicenseCategory
cDriverLicenseCategory
c1DriverLicenseCategory
c1eDriverLicenseCategory
ceDriverLicenseCategory
dDriverLicenseCategory
d1DriverLicenseCategory
d1eDriverLicenseCategory
deDriverLicenseCategory
lDriverLicenseCategory
mDriverLicenseCategory
tDriverLicenseCategory
DriverLicenseCategory
PropType
restrictionsGenericDocumentField
validFromGenericDocumentField
validUntilGenericDocumentField
DePassportResult
PropType
birthDateGenericDocumentField
birthplaceGenericDocumentField
countryCodeGenericDocumentField
expiryDateGenericDocumentField
genderGenericDocumentField
givenNamesGenericDocumentField
idGenericDocumentField
issueDateGenericDocumentField
issuingAuthorityGenericDocumentField
maidenNameGenericDocumentField
nationalityGenericDocumentField
passportTypeGenericDocumentField
photoImageUristring
rawMrzGenericDocumentField
signatureImageUristring
surnameGenericDocumentField
mrzMrzDocumentResult
MrzDocumentResult
PropType
birthDateGenericDocumentField
checkDigitsGenericDocumentField[]
documentNumberGenericDocumentField
expiryDateGenericDocumentField
genderGenericDocumentField
givenNamesGenericDocumentField
issuingAuthorityGenericDocumentField
nationalityGenericDocumentField
optional1GenericDocumentField
optional2GenericDocumentField
surnameGenericDocumentField
travelDocTypeGenericDocumentField
travelDocTypeVariantGenericDocumentField
DeIdCardResult
PropType
birthDateGenericDocumentField
birthplaceGenericDocumentField
expiryDateGenericDocumentField
givenNamesGenericDocumentField
idGenericDocumentField
maidenNameGenericDocumentField
nationalityGenericDocumentField
pinGenericDocumentField
photoImageUristring
signatureImageUristring
surnameGenericDocumentField
addressGenericDocumentField
eyeColorGenericDocumentField
heightGenericDocumentField
issueDateGenericDocumentField
issuingAuthorityGenericDocumentField
pseudonymGenericDocumentField
rawMrzGenericDocumentField
GenericDocumentRecognizerConfiguration
PropTypeDescription
flashEnabledbooleanControls whether the flash should be initially enabled. The default value is FALSE.
orientationLockModeOrientationLockModeUI Interface orientation lock mode
cameraModuleCameraModuleThe preferred camera module (default - BACK)
topBarBackgroundColorstringThe background color of the top toolbar.
topBarButtonsActiveColorstringThe color of all active toggle buttons in the toolbar.
topBarButtonsInactiveColorstringThe color of all inactive toggle buttons in the toolbar.
cameraOverlayColorstringBackground color outside of the finder window.
finderLineColorstringForeground color of the detection overlay.
finderLineWidthnumberWidth of finder frame border. Default is 2.
fieldsCountTextColorstringText color of the fields count label.
fieldConfidenceHighColorstringColor of confidence value label background in details screen, when the field confidence level is high.
fieldConfidenceModerateColorstringColor of confidence value label background in details screen, when the field confidence level is moderate.
fieldConfidenceLowColorstringColor of confidence value label background in details screen, when the field confidence level is low.
fieldConfidenceTextColorstringColor of confidence value label text in details.
tipTextColorstringColor of tip text on scanning screen.
tipBackgroundColorstringColor of tip background on scanning screen.
detailsBackgroundColorstringThe color of bottom sheet
detailsPrimaryColorstringThe color of text elements in bottom sheet
detailsActionColorstringThe color of Submit button
detailsSectionHeaderTextColorstringText color for section headers on the details screen. iOS only.
detailsSectionHeaderBackgroundColorstringBackground color for section headers on the details screen. iOS only.
cancelButtonTitlestringTitle of the cancel button.
cancelButtonHiddenbooleanWhether the cancel button is hidden or not. iOS only.
clearButtonTitlestringString used for displaying amount of detected fields. Use %d for number formatting symbol.
submitButtonTitlestringText of the button which finishes the flow
fieldsCountTextstringString used for displaying amount of detected fields. Use %d for number formatting symbol.
confidenceValuestringString that shows average confidence value of scanned document. Use %d as number formatting symbol.
scanBackSideTitlestringString that asks user to scan back side of a document.
scanFrontSideTitlestringString that asks user to scan front side of a document.
startScanningTitlestringString that asks user to start scanning a document.
scannedEverythingTitlestringString that notifies that both sides of document are scanned.
emptyValueTitlestringString being displayed for empty values. iOS only.
enableCameraButtonTitlestringTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
enableCameraExplanationTextstringText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
imageTitlestringA title to show image content. Android only.
noDataTitlestringString that notifies that nothing was scanned yet.
acceptedDocumentTypesGenericDocumentType[]Accepted document types. All other document types will be ignored. By default - All types
sharpnessAcceptanceFactornumberAccepted 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.
fieldsDisplayConfigurationFieldsDisplayConfiguration[]Allows to configure the display configuration for fields.
documentsDisplayConfigurationDocumentsDisplayConfiguration[]Allows to configure the display configuration for documents.
excludedFieldTypesstring[]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]
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
replaceCancelButtonWithIconbooleanIf true, replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only.
cameraPreviewModeCameraPreviewModePreview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only
FieldsDisplayConfiguration

Field display configuration object

PropTypeDescription
normalizedFieldNamestringComplete list of available normalized field names is available in the documentation
defaultDisplayTextstringThe display text of the field in the list
defaultDisplayStateFieldDisplayStateThe default display state of a field in the RTU UI, could be hidden by default or visible by default.
DocumentsDisplayConfiguration

Field display configuration object

PropTypeDescription
normalizedDocumentNamestringComplete list of available normalized document names is available in the documentation
defaultDisplayTextstringThe display text of the document in the list
CheckRecognizerResult
PropTypeDescription
fieldsUSACheckResult | CommonCheckResult | FRACheckResult | KWTCheckResult | AUSCheckResult | INDCheckResultCheck Recognizer recognized fields
checkStatusCheckStatusThe status of the operation
imageFileUristringThe URI of the snapped Check Image
checkTypeCheckStandardThe type of the recognized check
USACheckResult

USA Check Result

PropTypeDescription
accountNumberCheckRecognizerResultFieldThe account number
auxiliaryOnUsCheckRecognizerResultFieldAuxiliary on US
transitNumberCheckRecognizerResultFieldTransit Number
CheckRecognizerResultField

Check Recognizer Result recognized field

PropTypeDescription
validationStatusnumberThe validation status (1 if successful, 0 otherwise)
valueCheckRecognizerResultFieldValueThe field value
CheckRecognizerResultFieldValue

Check Recognizer Result recognized field value

PropTypeDescription
textstringThe field recognized text
FRACheckResult

FRA Check Result

PropTypeDescription
accountNumberCheckRecognizerResultFieldThe account number
chequeNumberCheckRecognizerResultFieldThe cheque number
routingNumberCheckRecognizerResultFieldThe routing number
KWTCheckResult

KWT Check Result

PropTypeDescription
accountNumberCheckRecognizerResultFieldThe account number
chequeNumberCheckRecognizerResultFieldThe cheque number
sortCodeCheckRecognizerResultFieldThe sort code
AUSCheckResult

AUS Check Result

PropTypeDescription
accountNumberCheckRecognizerResultFieldThe account number
auxDomesticCheckRecognizerResultFieldAUX domestic
bsbCheckRecognizerResultFieldBSB
extraAuxDomesticCheckRecognizerResultFieldExtra AUX domestic
transactionCodeCheckRecognizerResultFieldTransaction code
INDCheckResult

IND Check Result

PropTypeDescription
accountNumberCheckRecognizerResultFieldThe account number
serialNumberCheckRecognizerResultFieldThe serial number
sortNumberCheckRecognizerResultFieldThe sort number
transactionCodeCheckRecognizerResultFieldTransaction code
CommonCheckResult

Check Result

PropTypeDescription
fontTypeCheckRecognizerResultFieldThe font type
rawStringCheckRecognizerResultFieldThe recognized raw string
countryCodeCheckRecognizerResultFieldThe country code for the recognized check
CheckRecognizerConfiguration
PropTypeDescription
acceptedCheckStandardsCheckStandard[]Accepted check standards. Optional, by default - all checks are accepted. With an empty list no filter is applied and all checks are accepted.
cameraModuleCameraModuleThe preferred camera module (default - BACK)
cameraOverlayColorstringBackground color outside of the finder window.
cancelButtonTitlestringTitle of the cancel button.
cancelButtonHiddenbooleanWhether the cancel button is hidden or not. iOS only.
captureHighResolutionImagebooleanSet 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.
enableCameraButtonTitlestringTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
enableCameraExplanationTextstringText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
errorDialogStyleDialogStyleThe style of the dialog/alert in case of error. iOS Only.
errorDialogButtonStyleDialogButtonStyleThe style of the dialogs/alerts OK button in case of error. iOS Only.
errorAlertTitlestringString being displayed as the title in the error alert that may occur when the recognition fails on captured high-resolution images. iOS only.
errorAlertMessagestringString being displayed as the message in the error alert that may occur when the recognition fails on captured high-resolution images. iOS only.
errorAlertButtonTextstringString being displayed as the button text in the error alert that may occur when the recognition fails on captured high-resolution images. iOS only.
finderAspectRatioFinderAspectRatioAspect 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.
finderLineColorstringForeground color of the detection overlay.
finderLineWidthnumberWidth of finder frame border. Default is 2.
flashEnabledbooleanControls whether the flash should be initially enabled. The default value is FALSE.
orientationLockModeOrientationLockModeUI Interface orientation lock mode
topBarBackgroundColorstringThe background color of the top toolbar.
topBarButtonsActiveColorstringThe color of all active toggle buttons in the toolbar.
topBarButtonsInactiveColorstringThe color of all inactive toggle buttons in the toolbar.
userGuidanceBackgroundColorstringThe background color of the user guidance hints.
userGuidanceTextColorstringThe text color of the user guidance hints.
userGuidanceStringValuesCheckUserGuidanceStringsConfiguration that helps to override default hint values.
useButtonsAllCapsbooleanControls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
cameraPreviewModeCameraPreviewModePreview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only
CheckUserGuidanceStrings

Configuration that helps to override default hint values.

PropTypeDescription
startScanningstringText that is shown on camera open.
scanningstringText that is shown when the camera is seeking for the document on the visible area, shown after the first result from the detector.
energySavingstringText that is shown when energy saving is active. (iOS only)
capturingstringText that is shown when the camera snaps the image. (Android only)
processingstringText that is shown when the detector tries to detect the document from the snapped image. (Android only)
InitializeSDKResult
PropTypeDescription
resultstringThe result initialization message
InitializationOptions
PropTypeDescription
licenseKeystringThe Scanbot SDK License Key
loggingEnabledbooleanIf 'true' it enables logging. Consider switching logging OFF in production builds for security and performance reasons!
storageImageQualitynumberThe quality of stored images, from (1 to 100). Defaults to 80.
storageImageFormatCameraImageFormatThe preferred format for stored images.
storageBaseDirectorystringOptional custom storage path.
documentDetectorModeDocumentDetectorModeThe engine used to detect documents. The default and recommended value is ML_BASED.
fileEncryptionPasswordstringEncryption custom password. Setting this property will enable encryption.
fileEncryptionModeFileEncryptionModeEncryption mode. Setting this property will enable encryption.
useCameraXbooleanIf set to true, Camera X will be used for the RTU-UI components (Android Only) Default is false.
allowGpuAccelerationbooleanIf set to false, GPU Acceleration will be disabled for Barcode Scanner, Document Scanner and Generic Document Recognizer (Android Only). Default is false.
allowXnnpackAccelerationbooleanEnables/disables XNNPACK acceleration for TensorFlow ML models, which provides highly optimized implementations of floating-point neural network operators (Android Only)
enableNativeLoggingbooleanEnables Scanbot SDK Core native logging (default is false; Android Only)
GetLicenseInfoResult
PropTypeDescription
isLicenseValidbooleanTrue if the license is valid, false otherwise
licenseStatusLicenseStatusThe license status
licenseExpirationDatenumberThe license expiration date in milliseconds
DetectBarcodesOnImageResult
PropTypeDescription
barcodesBarcodeResultField[]The detected barcodes
DetectBarcodesOnImageArguments
PropTypeDescription
imageFileUristringThe input image file URI
DetectBarcodesOnImagesResult
PropTypeDescription
resultsDetectBarcodesOnImagesField[]An array for which each element has a imageUri and the list of detected barcodes
DetectBarcodesOnImagesField

Detect Barcodes On Images Result Field

PropTypeDescription
imageFileUristringThe URI of the image file the barcodes have been detected on
barcodeResultsBarcodeResultField[]The array of detected barcodes
DetectBarcodesOnImagesArguments
PropTypeDescription
imageFileUrisstring[]The input image files URIs
ApplyImageFilterResult
PropTypeDescription
imageFileUristringThe URI of the filtered image
GetImageDataResult
PropTypeDescription
base64ImageDatastringThe Base 64 encoded representation of the image data
RotateImageResult
PropTypeDescription
imageFileUristringThe URI of the rotated image
RemovePageResult
PropTypeDescription
operationResultstringOperation Result
DetectDocumentResult
PropTypeDescription
documentImageFileUristringThe URI of the document image file, if something is detected
polygonPolygonPoint[]The array of detected polygon points, if something is detected
detectionResultDetectionStatusThe status of the detection
EstimateBlurResult
PropTypeDescription
blurnumberEstimated blur level
ExtractImagesFromPdfResult
PropTypeDescription
statusStatusThe status of the operation (OK or CANCELED)
imageFilesUrlsstring[]A list containing the file URLs for the extracted images
PdfExtractorArguments
PropTypeDescription
pdfFilePathstringThe location of the PDF file
qualitynumberThe 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
scalingnumberInteger 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.
ExtractPagesFromPdfResult
PropTypeDescription
statusStatusThe status of the operation (OK or CANCELED)
pagesPage[]A list containing the extracted pages
RecognizeMRZResult
PropTypeDescription
recognitionSuccessfulbooleanTrue if the recognition was successful, false otherwise
documentTypeMRZDocumentTypeThe recognized document type
checkDigitsCountnumberTotal number of check digits as required by the travel document type
validCheckDigitsCountnumberNumber of successfully validated check digits.
rawStringstringThe raw string of the recognized machine readable zone.
fieldsMRZRecognizerResultField[]An array of all recognized fields
MRZRecognizerResultField

MRZ Recognizer Result Field

PropTypeDescription
nameMRZRecognizerResultFieldTypeThe type of the field
valuestringThe value of the recognized field
confidencenumberThe recognition confidence value of the field.
RefreshImageUrisResult
PropTypeDescription
pagesPage[]The refreshed pages
GetOCRConfigsResult
PropTypeDescription
languageDataPathstringThe OCR languages data path
installedLanguagesstring[]The installed OCR languages
GetFilteredDocumentPreviewUriResult
PropTypeDescription
filteredDocumentPreviewUristringThe URI of the filtered document preview image
PerformOCRResult
PropTypeDescription
plainTextstringThe OCR result as plain text
pdfFileUristringThe URI of the PDF file
jsonDataanyThe OCR result as JSON data
CreatePDFResult
PropTypeDescription
pdfFileUristringThe URI of the generated PDF file
WriteTIFFResult
PropTypeDescription
tiffFileUristringThe 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' | 'UNDEFINED' | 'IMPORT'

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'

ApplyImageFilterOnPageResult

Result of applyImageFilterOnPage

Page

CreatePageResult

Result of createPage

Page

RotatePageResult

Result of rotatePage

Page

SetDocumentImageResult

Result of setDocumentImage

Page

DetectDocumentOnPageResult

Result of detectDocumentOnPage

Page

ExtractImagesFromPdfArguments

PdfExtractorArguments

ExtractPagesFromPdfArguments

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"

Keywords

FAQs

Package last updated on 28 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc