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 |
The DSSimplifiedCaptureVisionSettings
class contains settings for capturing and recognizing images with the DSCaptureVisionRouter
class.
Assembly: DynamsoftCore.framework
>- Objective-C >- Swift > >1. ```objc @interface DSSimplifiedCaptureVisionSettings : NSObject ``` 2. ```swift class SimplifiedCaptureVisionSettings : NSObject ```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. |
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 } ```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 } ```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 } ```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 } ```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 } ```Specifies the settings for barcode recognition.
>- Objective-C >- Swift > >1. ```objc @property (nonatomic, strong, nullable) DSSimplifiedBarcodeReaderSettings *barcodeSettings; ``` 2. ```swift var barcodeSettings: DSSimplifiedBarcodeReaderSettings? { get set } ```Specifies the settings for label recognition.
>- Objective-C >- Swift > >1. ```objc @property (nonatomic, strong, nullable) DSSimplifiedLabelRecognizerSettings *labelSettings; ``` 2. ```swift var labelSettings: DSSimplifiedLabelRecognizerSettings? { get set } ```Specifies the minimum image capture interval.
>- Objective-C >- Swift > >1. ```objc @property (nonatomic, assign) NSInteger minImageCaptureInterval; ``` 2. ```swift var minImageCaptureInterval: Int { get set } ```