CharacterDisambiguation

data class CharacterDisambiguation(val lineIndex: Int, val columnIndex: Int, val recognized: Char, val resolved: Char)

One glyph change in an MrzCandidate: the recognized glyph at (lineIndex, columnIndex) was read as resolved.

The glyphs come from the document. toString() shows no document values; they are in the properties.

Since

0.3.0

Constructors

Link copied to clipboard
constructor(lineIndex: Int, columnIndex: Int, recognized: Char, resolved: Char)

Properties

Link copied to clipboard

The zero-based column of the glyph within its line.

Link copied to clipboard

The zero-based index of the line within MrzCandidate.mrzLines.

Link copied to clipboard

The glyph as the OCR engine recognized it, after folding to upper case.

Link copied to clipboard

The glyph in this candidate.

Functions

Link copied to clipboard
open override fun toString(): String

Where the changed glyph sits; never a glyph itself.