Optional acceptedOptional acceptedThe brightness threshold to accept a detected document in the range of 0 (very dark) to 255 (very bright). If the average brightness value of the detectors input image is below this value, the status of the detection will be set to ERROR_TOO_DARK.
Optional acceptedMinimum score in percent (0 - 100) of accepted document width or height to screen size ratio of the detected document. Default is 80.0.
Optional accessibilityAllows you to customize the accessibility configuration for the Document Scanner UI.
Optional autoStroke color of the polygon or the finder's auto-snap progress animation. Default is green. Can't be nil.
Optional autoWhether to enable the polygon or finder's auto-snap progress animation. Default is true.
Optional autoLine width of the polygon or the finder's auto-snap progress animation. Default is 5.0.
Optional autoMinimum delay in seconds between two consecutive automatic image captures. iOS only.
Optional autoWhether to enable auto-snapping. If 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.
Optional autoControls 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. Default value is 0.66 (2 seconds).
Optional cameraColor of the camera background (relevant only when the camera preview mode is CameraPreviewMode.FIT_IN).
Optional cameraPreferred camera module (Default: BACK).
Optional cameraBackground color outside of the finder window.
Optional cameraPreview mode of the camera. Fit-In or Fill-In.
Optional cameraString being displayed on the label describing that the app is in split mode and needs to go fullscreen to work with the camera. iOS only.
Optional cancelTitle of the cancel button.
Optional defaultDefault image filter type for new document pages. Defaults to ImageFilterTypeNone.
Optional detectorDocument detector mode to be used for detecting the document outline. Defaults to ML_BASED. iOS only. For Android, use the Scanbot SDK initializer.
Optional documentLimits the maximum size of the document image. If the width or height are zero, this property is effectively ignored.
Optional enableTitle of the button that opens the screen where the user can allow the usage of the camera by the app.
Optional enableText that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
Optional finderAspect ratio of the finder frame (width to height), which is used to build the actual finder frame. Default is the DIN A4 aspect ratio.
Optional finderWhether to enable the view finder.
Optional finderForeground color of the detection overlay.
Optional finderWidth of finder frame border. Default is 2.
Optional flashWhether the flash toggle button is hidden.
Optional flashWhether the flash should be initially enabled. The default value is FALSE.
Optional forceWhether to show the user guidance elements if auto-snapping is disabled.
Optional ignoreSets whether to ignore the OK_BUT_BAD_ASPECT_RATIO detection status. By default, BadAspectRatio is ignored.
Optional imageImage 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.
Optional lockWhether to allow scanning only for documents with the same aspect ratio as the finder.
Optional orientationMode for locking the UI's orientation.
Optional photoPrioritization of still image quality and capturing speed. Defaults to CapturePhotoQualityPrioritization.BALANCED. If you experience lots of blurry still images, try to set this property to CapturePhotoQualityPrioritization.QUALITY. iOS only.
Optional polygonBackground color of the detected document's 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.)
Optional polygonBackground color of the detected document's outline when ready to snap.
Optional polygonColor of the detected document's 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.)
Optional polygonColor of the detected document's outline when ready to snap.
Optional polygonRadius to use when drawing rounded corners of the polygon. Default is 8.0.
Optional polygonWhether to display the document's polygon.
Optional polygonWidth of the detected document's outline.
Optional shutterForeground color of the shutter button in auto-snapping mode.
Optional shutterBackground color of the shutter button in auto-snapping mode.
Optional shutterWhether to hide the shutter button. Defaults to TRUE. 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.
Optional shutterIndicator color of the shutter button in auto-snapping mode. iOS only.
Optional shutterForeground color of the shutter button in manual mode.
Optional shutterBackground color of the shutter button in manual mode.
Optional stopsIf true, the camera session is stopped entirely when the receiver disappears and restarted when the receiver reappears. Else, will pause the delivery of video frames. Defaults to True. iOS only.
Optional textText hint that will be shown when the current detection status is OK_BUT_BAD_ANGLES.
Optional textText hint that will be shown when the current detection status is OK_BUT_BAD_ASPECT_RATIO.
Optional textText hint that will be shown when the scanner's energy saver is activated. iOS only.
Optional textText hint that will be shown when the current detection status is ERROR_NOTHING_DETECTED.
Optional textText hint that will be shown when the current detection status is OK.
Optional textText hint that will be show when a document was detected, but its center is too far away from the image center.
Optional textText hint that will be shown when the current detection status is ERROR_TOO_DARK.
Optional textText hint that will be shown when the current detection status is ERROR_TOO_NOISY.
Optional textText hint that will be shown when the current detection status is OK_BUT_TOO_SMALL.
Optional topBackground color of the top toolbar.
Optional topColor of all active toggle buttons in the toolbar.
Optional topColor of all inactive toggle buttons in the toolbar.
Optional touchWhether touch-to-focus is enabled on camera preview. Enabled by default. Android only.
Optional useWhether buttons should use all-capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
Optional userBackground color of the user guidance hints.
Optional userFont size of the user guidance. Default is 17.0.
Optional userText color of the user guidance hints.
Minimum score in percent (0 - 100) of the accepted perspective distortion of the detected document. Default is 75.0.