Class ResultAccumulationConfig
-
- All Implemented Interfaces:
public final class ResultAccumulationConfig
Configuration of the result accumulation for generic document recognition
-
-
Field Summary
Fields Modifier and Type Field Description private final Integer
minConfirmations
private final Float
minConfidenceForStableField
private final Integer
autoClearThreshold
-
Constructor Summary
Constructors Constructor Description ResultAccumulationConfig(Integer minConfirmations, Float minConfidenceForStableField, Integer autoClearThreshold)
-
Method Summary
Modifier and Type Method Description final Integer
getMinConfirmations()
Number of identical results required to consider a field confirmed. final Float
getMinConfidenceForStableField()
Minimum confidence required to consider a field confirmed. final Integer
getAutoClearThreshold()
Will auto-clear the cache if this number of frames have been a different document type or empty. -
-
Method Detail
-
getMinConfirmations
final Integer getMinConfirmations()
Number of identical results required to consider a field confirmed. By default - 3.
-
getMinConfidenceForStableField
final Float getMinConfidenceForStableField()
Minimum confidence required to consider a field confirmed. By default - 0.8f
-
getAutoClearThreshold
final Integer getAutoClearThreshold()
Will auto-clear the cache if this number of frames have been a different document type or empty. By default - 4.
-
-
-
-