Resource Base
Table of contents

DSMultiFrameResultCrossFilter

The DSMultiFrameResultCrossFilter class is responsible for filtering captured results.

Definition

Assembly: DynamsoftUtility.xcframework

  • Objective-C
  • Swift
  1. @interface DSMultiFrameResultCrossFilter ()<CapturedResultFilter>
    
  2. 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
  1. - (void)enableLatestOverlapping:(DSCapturedResultItemType)resultItemTypes
                      isEnabled:(BOOL)isEnabled;
    
  2. 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
  1. - (void)enableResultCrossVerification:(DSCapturedResultItemType)resultItemType
                    isEnabled:(BOOL)isEnabled;
    
  2. 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
  1. - (void)enableResultDeduplication:(DSCapturedResultItemType)resultItemType
                        isEnabled:(BOOL)isEnabled;
    
  2. 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
  1. - (NSInteger)getDuplicateForgetTime:(DSCapturedResultItemType)resultItemType;
    
  2. 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
  1. - (NSInteger)getMaxOverlappingFrames:(DSCapturedResultItemType)resultItemType;
    
  2. 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
  1. - (BOOL)isLatestOverlappingEnabled:(DSCapturedResultItemType)resultItemTypes;
    
  2. 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
  1. - (bool)isResultDeduplicationEnabled:(DSCapturedResultItemType)resultItemType;
    
  2. 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
  1. - (bool)isResultCrossVerificationEnabled:(DSCapturedResultItemType)resultItemType;
    
  2. 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
  1. - (void)setDuplicateForgetTime:(DSCapturedResultItemType)resultItemType
            duplicateForgetTime:(NSInteger)duplicateForgetTime;
    
  2. 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
  1. - (void)setMaxOverlappingFrames:(DSCapturedResultItemType)resultItemTypes
           maxOverlappingFrames:(NSInteger)maxOverlappingFrames;
    
  2. 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.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

Change +