Package-level declarations
Types
A failure to obtain a reading, reported on MrzScanResult.CaptureError; never thrown.
Telemetry emitted once per analysed frame, with diagnostics and no document data.
The outcome of analysing one frame, for telemetry.
Tracks the one running camera-session Job of a MrzCameraScanner.
Capture metadata (EXIF) read from a saved image, as the file reports it.
How much capture metadata a SavedImageMrzReader reads from a saved image.
Reads capture metadata (EXIF) from a saved image.
One glyph change in an MrzCandidate: the recognized glyph at (lineIndex, columnIndex) was read as resolved.
The outcome of offering one decoded frame to a MrzDecodeConsensus.
Where an analyzer's frames come from; sets the reading method on every result.
A GPS coordinate from a saved image's EXIF. Precise location: do not log verbatim.
Marks a declaration that is public only so Tessera's own modules can share it (for example the camera modules sharing one rule from mrz-ocr-core). It is not part of Tessera's API: it can change or go away in any release, without notice and without a deprecation cycle.
Runs the platform camera and streams a MrzScanResult for analysed frames on results.
One reconstruction of the recognized MRZ, listed by tolerant saved-image reading.
Accepts a reading only after the same parsed document decodes on threshold frames.
Filler characters < that the reader added at the end of a name line that was read short.
Analyses one camera frame: runs OCR, locates an MRZ, parses it, and returns a MrzScanResult.
The pure rules both platform recognizers use to read a short MRZ row again (mrz-camera's ML Kit recognizer and mrz-camera-ios's Vision saved-image recognizer), kept here so both platforms follow ONE rule and it is tested once, in this module's commonTest. It is public only so those modules can call it, and marked InternalTesseraApi: not consumer API, left out of the ABI dumps, hidden from Swift.
The outcome of analysing one frame.
The OCR engine seam: turns a frame of type F into recognized text lines.
How tolerant candidate extraction is of OCR formatting noise.
One line of recognized text, with its OCR confidence when reported.
The text an OCR engine recognized in one frame, as lines in reading order.
Reads an MRZ from one saved image.
The caller's acknowledgement that enables saved-image MRZ reading.
The result of reading one saved image: the scan outcome, any candidates, and capture metadata.
Quality signals observed while analysing a frame. The SDK never refuses a result on quality grounds.
Functions
Turns a stream of platform frames into MrzScanResults, one per frame, in order.