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;