Thanks for downloading Dynamsoft Barcode Reader Package!
Your download will start shortly. If your download does not begin, click here to retry.
DSMultiFrameResultCrossFilter
The DSMultiFrameResultCrossFilter
class is responsible for filtering captured results.
Definition
Assembly: DynamsoftUtility.framework
- Objective-C
- Swift
@interface DSMultiFrameResultCrossFilter ()<CapturedResultFilter>
class MultiFrameResultCrossFilter: NSObject, CapturedResultFilter
Methods
Method | Description |
---|---|
enableResultDeduplication |
Enables or disables the deduplication process for one or multiple specific result item types. |
enableResultCrossVerification |
Enables or disables the verification of one or multiple specific result item types. |
setDuplicateForgetTime |
Sets the interval during which duplicates are disregarded for specific result item types. |
isResultDeduplicationEnabled |
Checks if deduplication is active for a given result item type. |
isResultCrossVerificationEnabled |
Checks if verification is active for a given result item type. |
getDuplicateForgetTime |
Gets the interval during which duplicates are disregarded for specific result item types. |
enableResultDeduplication
Enables or disables the deduplication process for one or multiple specific result item types.
- Objective-C
- Swift
- (void)enableResultDeduplication:(DSCapturedResultItemType)resultItemType isEnabled:(BOOL)isEnabled;
func enableResultDeduplication(resultItemType: DSCapturedResultItemType, isEnabled: Bool)
Parameters
resultItemType
: Specifies one or multiple specific result item types, which can be defined using DSCapturedResultItemType
.
isEnabled
: A BOOL value that indicates whether to enable the result deduplication feature.
enableResultCrossVerification
Enables or disables the verification of one or multiple specific result item types.
- Objective-C
- Swift
- (void)enableResultCrossVerification:(DSCapturedResultItemType)resultItemType isEnabled:(BOOL)isEnabled;
func enableResultCrossVerification(resultItemType: DSCapturedResultItemType, isEnabled: Bool)
Parameters
resultItemType
: Specifies one or multiple specific result item types, which can be defined using DSCapturedResultItemType
.
isEnabled
: A BOOL value that indicates whether to enable the result cross verification feature.
setDuplicateForgetTime
Sets the interval during which duplicates are disregarded for specific result item types.
- Objective-C
- Swift
- (void)setDuplicateForgetTime:(DSCapturedResultItemType)resultItemType duplicateForgetTime:(NSInteger)duplicateForgetTime;
func setDuplicateForgetTime(resultItemType: DSCapturedResultItemType, duplicateForgetTime: Int)
Parameters
resultItemType
: Specifies one or multiple specific result item types, which can be defined using DSCapturedResultItemType
.
duplicateForgetTime
: The duplicate forget time of the specified capture result type.
isResultDeduplicationEnabled
Checks if deduplication is active for a given result item type.
- Objective-C
- Swift
- (bool)isResultDeduplicationEnabled:(DSCapturedResultItemType)resultItemType;
func isResultDeduplicationEnabled(resultItemType: DSCapturedResultItemType) -> Bool
Parameters
resultItemType
: Specifies the result item type with DSCapturedResultItemType
.
Return Value
Boolean indicating the deduplication status for the specified type.
isResultCrossVerificationEnabled
Checks if verification is active for a given result item type.
- Objective-C
- Swift
- (bool)isResultCrossVerificationEnabled:(DSCapturedResultItemType)resultItemType;
func isResultCrossVerificationEnabled(resultItemType: DSCapturedResultItemType) -> Bool
Parameters
resultItemType
: Specifies the result item type with DSCapturedResultItemType
.
Return Value
Boolean indicating the status of verification for the specified type.
getDuplicateForgetTime
Gets the interval during which duplicates are disregarded for specific result item types.
- Objective-C
- Swift
- (NSInteger)getDuplicateForgetTime:(DSCapturedResultItemType)resultItemType;
func getDuplicateForgetTime(resultItemType: DSCapturedResultItemType) -> Int
Parameters
resultItemType
: Specifies the result item type with DSCapturedResultItemType
.
Return Value
The set interval for the specified item type.