Confirmed

class Confirmed(val decoded: MrzScanResult.Decoded, val agreement: Int, val distinctReadings: Int) : ConsensusVerdict

Enough frames decoded the same document.

Since

0.5.0

Constructors

Link copied to clipboard
constructor(decoded: MrzScanResult.Decoded, agreement: Int, distinctReadings: Int)
constructor(decoded: MrzScanResult.Decoded)

Creates a confirmed result for a single reading.

Properties

Link copied to clipboard

How many frames agreed when this reading was confirmed.

Link copied to clipboard

the decoded result of the frame that reached the threshold.

Link copied to clipboard

How many different parseable readings were offered in this round.

Functions

Link copied to clipboard
Link copied to clipboard
operator fun component2(): Int
Link copied to clipboard
operator fun component3(): Int
Link copied to clipboard

Copies this result while preserving its agreement facts.

fun copy(decoded: MrzScanResult.Decoded = this.decoded, agreement: Int, distinctReadings: Int): ConsensusVerdict.Confirmed

Copies this result with explicit agreement facts.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

That a reading was agreed on; never a document value.