Skip to content

Latest commit

 

History

History
179 lines (148 loc) · 4.47 KB

simplified-capture-vision-settings-v2.0.20.md

File metadata and controls

179 lines (148 loc) · 4.47 KB
layout title description keywords needGenerateH3Content needAutoGenerateSidebar noTitleIndex
default-layout
DSSimplifiedCaptureVisionSettings - Dynamsoft Capture Vision Router Module iOS Edition API Reference
The class DSSimplifiedCaptureVisionSettings of Dynamsoft Capture Vision Router Module contains settings for capturing and recognizing images with the DSCaptureVisionRouter class.
Capture Vision settings, objective-c, swift
true
true
true

DSSimplifiedCaptureVisionSettings

The DSSimplifiedCaptureVisionSettings class contains settings for capturing and recognizing images with the DSCaptureVisionRouter class.

Definition

Assembly: DynamsoftCore.framework

>- Objective-C >- Swift > >1. ```objc @interface DSSimplifiedCaptureVisionSettings : NSObject ``` 2. ```swift class SimplifiedCaptureVisionSettings : NSObject ```

Attributes

Attributes Type Description
capturedResultItemTypes NSInteger Specifies the type(s) of CapturedItem(s) that will be captured.
roi DSQuadrilateral * Specifies the region of interest (ROI) where the image capture and recognition will take place.
roiMeasuredInPercentage BOOL Specifies whether the ROI is measured in pixels or as a percentage of the image size.
maxParallelTasks NSInteger Specifies the maximum number of parallel tasks that can be used for image capture and recognition.
timeout NSInteger Specifies the maximum time (in milliseconds) allowed for image capture and recognition.
barcodeSettings DSSimplifiedBarcodeReaderSettings * Specifies the settings for barcode recognition.
labelSettings DSSimplifiedLabelRecognizerSettings * Specifies the settings for label recognition.
minImageCaptureInterval NSInteger Set the minimum capture interval. It is measured in millisecond.

capturedResultItemTypes

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

>- Objective-C >- Swift > >1. ```objc @property (nonatomic, assign) NSInteger capturedResultItemTypes; ``` 2. ```swift var capturedResultItemTypes: Int { get set } ```

roi

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

>- Objective-C >- Swift > >1. ```objc @property (nonatomic, strong, nullable) DSQuadrilateral *roi; ``` 2. ```swift var roi: DSQuadrilateral? { get set } ```

roiMeasuredInPercentage

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

>- Objective-C >- Swift > >1. ```objc @property (nonatomic, assign) BOOL roiMeasuredInPercentage; ``` 2. ```swift var roiMeasuredInPercentage: Bool { get set } ```

maxParallelTasks

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

>- Objective-C >- Swift > >1. ```objc @property (nonatomic, assign) NSInteger maxParallelTasks; ``` 2. ```swift var maxParallelTasks: Int { get set } ```

timeout

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

>- Objective-C >- Swift > >1. ```objc @property (nonatomic, assign) NSInteger timeout; ``` 2. ```swift var timeout: Int { get set } ```

barcodeSettings

Specifies the settings for barcode recognition.

>- Objective-C >- Swift > >1. ```objc @property (nonatomic, strong, nullable) DSSimplifiedBarcodeReaderSettings *barcodeSettings; ``` 2. ```swift var barcodeSettings: DSSimplifiedBarcodeReaderSettings? { get set } ```

labelSettings

Specifies the settings for label recognition.

>- Objective-C >- Swift > >1. ```objc @property (nonatomic, strong, nullable) DSSimplifiedLabelRecognizerSettings *labelSettings; ``` 2. ```swift var labelSettings: DSSimplifiedLabelRecognizerSettings? { get set } ```

minImageCaptureInterval

Specifies the minimum image capture interval.

>- Objective-C >- Swift > >1. ```objc @property (nonatomic, assign) NSInteger minImageCaptureInterval; ``` 2. ```swift var minImageCaptureInterval: Int { get set } ```