Resource Base
Table of contents

SimplifiedCaptureVisionSettings

The SimplifiedCaptureVisionSettings class contains settings for capturing and recognizing images with the CaptureVisionRouter class.

Definition

Namespace: com.dynamsoft.cvr

Assembly: DynamsoftCaptureVisionRouter.aar

class SimplifiedCaptureVisionSettings

Methods & Attributes

Method Description
toJSON Generate the current SimplifiedCaptureVisionSettings object to a JSON string.
fromJSON Generate a SimplifiedCaptureVisionSettings object from a JSON string.
Attribute Type Description
capturedResultItemTypes int Specifies the type(s) of CapturedItem(s) that will be captured.
roi Quadrilateral Specifies the region of interest (ROI) where the image capture and recognition will take place.
roiMeasuredInPercentage boolean Specifies whether the ROI is measured in pixels or as a percentage of the image size.
maxParallelTasks int Specifies the maximum number of parallel tasks that can be used for image capture and recognition.
minImageCaptureInterval int Set the minimum capture interval. It is measured in millisecond.
timeout int Specifies the maximum time (in milliseconds) allowed for image capture and recognition.
barcodeSettings SimplifiedBarcodeReaderSettings * Specifies the settings for DynamsoftBarcodeReader tasks.
labelSettings SimplifiedLabelRecognizerSettings * Specifies the settings for DynamsoftLabelRecognizer tasks.
documentSettings SimplifiedDocumentNormalizerSettings * Specifies the settings for DynamsoftDocumentNormalizer tasks.

toJSON

Transform the current SimplifiedLabelRecognizerSettings object to a JSON string.

String toJSON();

Return Value

The string that generated from the current SimplifiedLabelRecognizerSettings object.

fromJSON

Generate a SimplifiedLabelRecognizerSettings object from a JSON string.

static SimplifiedLabelRecognizerSettings fromJSON(String jsonString);

Return Value

The generated SimplifiedLabelRecognizerSettings object.

capturedResultItemTypes

Specifies the type(s) of CapturedItem(s) that will be captured.

int capturedResultItemTypes;

roi

Specifies the region of interest (ROI) where the image capture and recognition will take place.

Quadrilateral roi;

roiMeasuredInPercentage

Specifies whether the ROI is measured in pixels or as a percentage of the image size.

boolean roiMeasuredInPercentage;

maxParallelTasks

Specifies the maximum number of parallel tasks that can be used for image capture and recognition.

int maxParallelTasks;

minImageCaptureInterval

Set the minimum capture interval. It is measured in millisecond.

int minImageCaptureInterval;

timeout

Specifies the maximum time (in milliseconds) allowed for image capture and recognition.

int timeout;

barcodeSettings

Specifies the settings for DynamsoftBarcodeReader tasks with a SimplifiedBarcodeReaderSettings object.

SimplifiedBarcodeReaderSettings barcodeSettings;

labelSettings

Specifies the settings for DynamsoftLabelRecognizer tasks with a SimplifiedLabelRecognizerSettings object.

SimplifiedLabelRecognizerSettings labelSettings;

documentSettings

Specifies the settings for DynamsoftDocumentNormalizer tasks with a SimplifiedDocumentNormalizerSettings object.

SimplifiedDocumentNormalizerSettings documentSettings;

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 2.x
    • Version 2.2.10
    • Version 2.0.21
    • Version 2.0.20
    • Version 2.0.10
    • Version 2.2.10
    • Version 2.0.21
    • Version 2.0.20
    • Version 2.0.10
  • Version 1.x
    • Version 1.2.1
    • Version 1.2.0
    • Version 1.1.0
    • Version 1.0.0
    • Version 1.0.4
    • Version 1.0.3
    • Version 1.0.2
    • Version 1.0.1
    • Version 1.0.0
    • Version 1.1.13
    • Version 1.1.12
    • Version 1.1.11
    • Version 1.1.9
    • Version 1.1.8
    • Version 1.1.7
    • Version 1.1.6
    • Version 1.1.5
    • Version 1.1.4
    • Version 1.1.3
    • Version 1.1.2
    • Version 1.1.1
    • Version 1.1.0
    • Version 1.0.0
    • Version 1.0.4
    • Version 1.0.3
    • Version 1.0.2
    • Version 1.0.1
    • Version 1.0.0
Change +