CaptureMode enumeration

Mode of the module work, defining which screen or sequence of screens is started at the capture method call.

export enum CaptureMode {
 BaseCapture = 'BaseCapture',
 SingleCapture = 'SingleCapture',
 SingleView = 'SingleView',
 SingleCrop = 'SingleCrop',
}

Constants

Name Description
BaseCapture [Default] The capture method starts the whole scenario, including three screens. All input parameters are optional for the scenario to start. The images object with the result images is returned.
SingleCapture The capture method starts the capture screen with a camera stream or loading from gallery button. All input parameters are optional for the scenario to start. The images object with captured or loaded images is returned as a result.
SingleView

The capture method starts the document editor, where the captured images can be observed and corrected. The images object with captured or loaded images is passed as an input parameter. Returned result contains the images object with images.

 Note: When the last image in stack is closed inside this screen, the screen is closed and the camera screen is opened.

SingleCrop The manual cropping screen is started. An IBlobImageResult object from the images array is passed as an input parameter. Returned result contains the same edited IBlobImageResult object.

03.04.2023 17:06:08

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.