Optional
acceptedOptional
acceptedAn average brightness is computed as follows: It is the average of the Value channel in the HSV color space of:
Optional
acceptedThe minimum document width or height in percent (0-100) of the screen size to accept a detected document. Default is 80.0.
Optional
autoDelay in milliseconds before the auto-capture is triggered after 'onDocumentDetected' has been called. This delay is used to prevent too many documents being captured in a row. In essence, autoCaptureSensitivity controls the speed of autocapture during the detection phase, while autoCaptureDelay controls the speed of autocapture after the detection phase. Default is 1000ms.
Optional
autoIf auto-capture is enabled and when a document is detected, it will be automatically captured when conditions are good and the auto-snapping time-out elapses.
Optional
autoControls the auto-capture 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)
Optional
backgroundOptional
containerThe container HTML element of Scanbot Web SDK camera. Required when 'containerId' property is left undefined when calling any ScanbotSDK createScanner function. If both are provided, 'container' property takes precedence.
Optional
containerThe container HTML element id of Scanbot Web SDK camera. Required when 'container' property is left undefined when calling any ScanbotSDK createScanner function If both are provided, 'container' property takes precedence.
Optional
ignoreDetermines whether to ignore the OK_BUT_BAD_ASPECT_RATIO detection status. By default BadAspectRatio is not ignored.
Optional
mirroredOptional
onBy default, capture button invokes 'onDocumentDetected' callback, if you want custom behavior, you can optionally override this button
Optional
onDocument detected callback. Continuous callback, stopped only when detection is stopped or camera widget is disposed. Result contains the following properties: detectionStatus: "OK", success: true, cropped: "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD...", original: "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD...", polygon: Array(4)}
Optional
onError callback of the SDK.
Optional
preferredOptional
spinnerOptional
styleOptional
textOptional
useAttempts to take a single exposure using the video capture device, resulting in a high resolution image and potentially greatly improved detection quality. Relies on the experimental ImageCapture API that: https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture. Use with caution. At the time of writing this, reliably only works on Android devices with Google Chrome. If enabled, this only affects extraction after the document outline has been identified. This may also trigger your device's default "snap" animation, making scanbotSDK.utils.flash(); irrelevant Defaults to false.
Optional
videoScanbotCameraView video constraints
Static
DEFAULT_Static
DEFAULT_Static
DEFAULT_Static
DEFAULT_Static
DEFAULT_Static
fromStatic
mapStatic
mapGenerated using TypeDoc
The minimum score in percent (0 - 100) of the perspective distortion to accept a detected document. Default is 75.0.