Configuration of the camera settings to be used while scanning.

Constructors

Properties

cameraLiveScannerResolution: CameraLiveScannerResolution

The size of the image from camera which would be sent to the scanner for live scanning.

Default Value

"FULL_HD";
cameraModule: CameraModule

Determines which camera module to use on start-up.

Default Value

"BACK";
defaultZoomFactor: number

The default zoom factor on start-up.

Default Value

1.0;
flashEnabled: boolean

Determines whether the flash is enabled on start-up.

Default Value

false;
fpsLimit: number

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

Default Value

20;
idealPreviewResolution: Resolution

The ideal resolution for the camera preview. Actual resolution may vary depending on browser and device capabilities.

Default Value

new Resolution({
"width": 1920,
"height": 1080
});
zoomSteps: number[]

The zoom steps available to the user.

Default Value

[1.0, 2.0, 5.0];

Generated using TypeDoc