DSMultiFrameResultCrossFilter
The DSMultiFrameResultCrossFilter
class is responsible for filtering captured results.
Definition
Assembly: DynamsoftUtility.xcframework
- Objective-C
- Swift
@interface DSMultiFrameResultCrossFilter ()<CapturedResultFilter>
class MultiFrameResultCrossFilter: NSObject, CapturedResultFilter
Methods
Method | Description |
---|---|
enableLatestOverlapping |
Enables or disables the to-the-latest overlapping feature of one or multiple specific result item types. This feature can sharpenly increase the read-rate performance when decoding multiple barcodes under the video streaming. |
enableResultCrossVerification |
Enables or disables the verification of one or multiple specific result item types. |
enableResultDeduplication |
Enables or disables the deduplication process for one or multiple specific result item types. |
getDuplicateForgetTime |
Gets the interval during which duplicates are disregarded for a given result item type. |
getMaxOverlappingFrames |
Get the maximum overlapping frames count for a given result item type. |
isLatestOverlappingEnabled |
Checks if to-the-latest overlapping is active for a given result item type. |
isResultCrossVerificationEnabled |
Checks if verification is active for a given result item type. |
isResultDeduplicationEnabled |
Checks if deduplication is active for a given result item type. |
setDuplicateForgetTime |
Sets the interval during which duplicates are disregarded for specific result item types. |
setMaxOverlappingFrames |
Set the maximum overlapping frames count for a given result item type. |
enableLatestOverlapping
Enables or disables the to-the-latest overlapping feature of one or multiple specific result item types. This feature can sharpenly increase the read-rate performance when decoding multiple barcodes under the video streaming.
- Objective-C
- Swift
- (void)enableLatestOverlapping:(DSCapturedResultItemType)resultItemTypes isEnabled:(BOOL)isEnabled;
func enableLatestOverlapping(resultItemTypes: DSCapturedResultItemType, isEnabled: Bool)
Parameters
[in] type
: Specifies the result item type with DSCapturedResultItemType
.
[in] enable
: Bool to toggle to-the-latest overlapping on or off.
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.
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.
getDuplicateForgetTime
Gets the interval during which duplicates are disregarded for a given result item type.
- 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.
getMaxOverlappingFrames
Get the maximum overlapping frames count for a given result item type.
- Objective-C
- Swift
- (NSInteger)getMaxOverlappingFrames:(DSCapturedResultItemType)resultItemType;
func getMaxOverlappingFrames(resultItemType: DSCapturedResultItemType) -> Int
Parameters
[in] type
: Specifies the result item type with DSCapturedResultItemType
.
Return Value
The maximum overlapping frame count for the overlapping.
isLatestOverlappingEnabled
Checks if to-the-latest overlapping is active for a given result item type.
- Objective-C
- Swift
- (BOOL)isLatestOverlappingEnabled:(DSCapturedResultItemType)resultItemTypes;
func isLatestOverlappingEnabled(resultItemType: DSCapturedResultItemType) -> Bool
Parameters
[in] type
: Specifies the result item type with DSCapturedResultItemType
.
Return Value
Boolean indicating the to-the-latest overlapping status for the specified 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.
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.
setMaxOverlappingFrames
Set the maximum overlapping frames count for a given result item type.
- Objective-C
- Swift
- (void)setMaxOverlappingFrames:(DSCapturedResultItemType)resultItemTypes maxOverlappingFrames:(NSInteger)maxOverlappingFrames;
func setMaxOverlappingFrames(resultItemType: DSCapturedResultItemType, maxOverlappingFrames: Int)
Parameters
[in] type
: Specifies the result item type with EnumCapturedResultItemType
.
[in] maxOverlappingFrames
: The maximum overlapping frame count for the overlapping.