Optional backgroundOptional captureOptional container?: { accessKey?: string; readonly accessKeyLabel?: string; autocapitalize?: string; dir?: string; draggable?: boolean; hidden?: boolean; inert?: boolean; innerText?: string; lang?: string; readonly offsetHeight?: number; ... 288 more ...; focus?: (options?: FocusOptions) => void; }The 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 desiredIf set, limit the resolution of the image that is used for barcode recognition. A lower value will result in faster processing times but may reduce recognition quality.
Optional enable4kDetermines whether the scanner should use the 4K video stream. This will enhance the recognition quality, but will also increase the CPU load and memory consumption.Should be enabled on devices that can handle the increased load. If the device does not support 4K, it will fall back to the highest available resolution. This setting overrides videoConstraints width and height settings. Defaults to false
Optional finder?: { Optional fpsThe rate of detections/recognitions per second in normal performance mode. If the number is equal or greater than the video frame rate, no frames will be skipped. A lower value will result in improved overall performance on lower-end devices, but may reduce recognition speed. In seconds. Defaults to 60.
Optional mirrored?: booleanOptional onOptional onError callback of the SDK. If any error was reported, your scanner might not be scanning anymore, e.g. due to an out-of-memory error.
Optional overlay?: { visible?: boolean; textFormat?: SelectionOverlayTextFormat; automaticSelectionEnabled?: boolean; countingRepeatDelay?: number; style?: { polygonStrokeColor?: string; ... 10 more ...; highlightedTextBackgroundColor?: string; }; onBarcodeFound?: (code: BarcodeItem, polygon: IBarcodePolygonHandle, label: IBarcodePoly...Optional preferredCamera id or camera label. A list of available cameras can be obtained from ScanbotSDK.cameras.
Optional previewIn FIT_IN – Fits the entire preview (camera) frame into the view. If aspect ratio does not fit, will contain black edges
Optional scannerOptional spinnerOptional userOptional videoScanbotCameraView video constraints
Optional zoom?: numberDigital zoom level of the video stream. Defaults to 1.0. Please note that this is not the same as the optical zoom of the camera.
Generated using TypeDoc
Capture delay in milliseconds after detecting barcodes. Defaults to 1000