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