ConsensusVerdict

sealed interface ConsensusVerdict

The outcome of offering one decoded frame to a MrzDecodeConsensus.

Confirmed holds the decoded reading, and toString() on it shows no document values; they are in the properties.

Since

0.5.0

Inheritors

Types

Link copied to clipboard
class Confirmed(val decoded: MrzScanResult.Decoded, val agreement: Int, val distinctReadings: Int) : ConsensusVerdict

Enough frames decoded the same document.

Link copied to clipboard
data class Gathering(val agreement: Int, val threshold: Int) : ConsensusVerdict

Not enough frames agree yet.