MultiFrameResultCrossFilter
The MultiFrameResultCrossFilter class is responsible for filtering captured results.
Definition
Namespace: com.dynamsoft.utility
Assembly: DynamsoftCaptureVisionBundle.aar
class MultiFrameResultCrossFilter implements CapturedResultFilter
Methods
| Method | Description |
|---|---|
MultiFrameResultCrossFilter |
The constructor. |
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. |
MultiFrameResultCrossFilter
The constructor.
MultiFrameResultCrossFilter();
enableResultCrossVerification
Enables or disables the verification of one or multiple specific result item types.
void enableResultCrossVerification(@EnumCapturedResultItemType int resultItemTypes, boolean enable);
Parameters
[in] type: Specifies one or multiple specific result item types, which can be defined using EnumCapturedResultItemType.
[in] enable: Boolean to toggle verification on or off.
isResultCrossVerificationEnabled
Checks if verification is active for a given result item type.
boolean isResultCrossVerificationEnabled(@EnumCapturedResultItemType int type);
Parameters
[in] type: Specifies the result item type with EnumCapturedResultItemType.
Return Value
Boolean indicating the status of verification for the specified type.
enableResultDeduplication
Enables or disables the deduplication process for one or multiple specific result item types.
void enableResultDeduplication(@EnumCapturedResultItemType int resultItemTypes, boolean enable);
Parameters
[in] type: Specifies one or multiple specific result item types, which can be defined using EnumCapturedResultItemType.
[in] enable: Boolean to toggle deduplication on or off.
isResultDeduplicationEnabled
Checks if deduplication is active for a given result item type.
boolean isResultDeduplicationEnabled(@EnumCapturedResultItemType int type);
Parameters
[in] type: Specifies the result item type with EnumCapturedResultItemType.
Return Value
Boolean indicating the deduplication status for the specified type.
setDuplicateForgetTime
Sets the interval during which duplicates are disregarded for a given result item type.
void setDuplicateForgetTime(@EnumCapturedResultItemType int resultItemTypes, int time);
Parameters
[in] type: Specifies one or multiple specific result item types, which can be defined using EnumCapturedResultItemType.
[in] time: Time in milliseconds during which duplicates are disregarded.
getDuplicateForgetTime
Gets the interval during which duplicates are disregarded for a given result item type.
int getDuplicateForgetTime(@EnumCapturedResultItemType int type);
Parameters
[in] type: Specifies the result item type with EnumCapturedResultItemType.
Return Value
The set interval for the specified 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.
void enableLatestOverlapping(@EnumCapturedResultItemType int resultItemTypes, boolean enable);
Parameters
[in] type: Specifies the result item type with EnumCapturedResultItemType.
[in] enable: Boolean to toggle to-the-latest overlapping on or off.
isLatestOverlappingEnabled
Checks if to-the-latest overlapping is active for a given result item type.
boolean isLatestOverlappingEnabled(@EnumCapturedResultItemType int type);
Parameters
[in] type: Specifies the result item type with EnumCapturedResultItemType.
Return Value
Boolean indicating the to-the-latest overlapping status for the specified type.
setMaxOverlappingFrames
Set the maximum overlapping frames count for a given result item type. You can set it higher if:
- You capture device is stationary or moving stably.
- You want to further improve the read-rate.
void setMaxOverlappingFrames(@EnumCapturedResultItemType int resultItemTypes, int maxFramesToCheck);
Parameters
[in] type: Specifies the result item type with EnumCapturedResultItemType.
[in] maxOverlappingFrames: The maximum overlapping frame count for the overlapping.
getMaxOverlappingFrames
Get the maximum overlapping frames count for a given result item type.
int getMaxOverlappingFrames(@EnumCapturedResultItemType int type);
Parameters
[in] type: Specifies the result item type with EnumCapturedResultItemType.
Return Value
The maximum overlapping frame count for the overlapping.