Result Accumulation Configuration
data class ResultAccumulationConfiguration(var confirmationMethod: ConfirmationMethod = ConfirmationMethod.EXACT, var minConfirmations: Int = 3, var minConfidenceForStableField: Double = 0.8, var autoClearThreshold: Int = 4) : Parcelable
Configuration for how to accumulate results.
Constructors
Link copied to clipboard
constructor(confirmationMethod: ConfirmationMethod = ConfirmationMethod.EXACT, minConfirmations: Int = 3, minConfidenceForStableField: Double = 0.8, autoClearThreshold: Int = 4)
Properties
Link copied to clipboard
Will auto-clear the cache if this number of frames have been a different document type or empty.
Link copied to clipboard
Method used to confirm a result.
Link copied to clipboard
Minimum confidence required to consider a field confirmed.
Link copied to clipboard
Number of confirmations required to consider a result confirmed (see ConfirmationMethod). Requiring more confirmations will increase the reliability of the result but also the time to gather enough confirmations. In live mode, this is the number of camera frames that must confirm a field value. In single-shot mode, this is the number of internal recognition attempts that must agree on a field value. If not enough attempts confirm a field, the status will be OK_BUT_LOW_CONFIDENCE_RESULT instead of OK.