ScanQuality

data class ScanQuality(val mrzRegionFound: Boolean, val ocrConfidence: Float?, val recognizedLineCount: Int)

Quality signals observed while analysing a frame. The SDK never refuses a result on quality grounds.

Since

0.2.0

Constructors

Link copied to clipboard
constructor(mrzRegionFound: Boolean, ocrConfidence: Float?, recognizedLineCount: Int)

Properties

Link copied to clipboard

Whether an MRZ-shaped candidate was located in this frame's recognized text.

Link copied to clipboard

Mean OCR confidence across recognized lines, in [0, 1]; null when no line reported one.

Link copied to clipboard

How many text lines the engine recognized in this frame.