DSCrossVerificationCriteria
The DSCrossVerificationCriteria class defines the parameters for cross-verification of captured results across multiple frames.
Definition
Assembly: DynamsoftCaptureVisionBundle.xcframework
- Objective-C
- Swift
@interface DSCrossVerificationCriteria : NSObjectclass CrossVerificationCriteria : NSObject
Attributes
| Attribute | Type | Description |
|---|---|---|
frameWindow |
NSInteger | The number of frames to consider for cross-verification. |
minConsistentFrames |
NSInteger | The minimum number of frames that must contain consistent results for verification to succeed. |
frameWindow
The number of frames to consider for cross-verification. Default value is 5 for barcode decoding.
- Objective-C
- Swift
@property (nonatomic, assign) NSInteger frameWindow;var frameWindow: Int { get set }
Value Range
A positive integer.
minConsistentFrames
The minimum number of frames that must contain consistent results for verification to succeed. Default value is 2 for barcode decoding.
- Objective-C
- Swift
@property (nonatomic, assign) NSInteger minConsistentFrames;var minConsistentFrames: Int { get set }
Value Range
A positive integer that should be less than or equal to frameWindow.