Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# MrzReadingResult Class

Namespace: id3.Document

## Definition

Represents the result of MRZ reading.
Python

    class MrzReadingResult

Dart

    class MrzReadingResult implements Finalizable

C#

    public partial class MrzReadingResult

Java

    public class MrzReadingResult implements AutoCloseable, Serializable

Swift

    public class MrzReadingResult

C

    typedef struct id3DocumentMrzReadingResult *ID3_DOCUMENT_MRZ_READING_RESULT;

## Usage

Python

    mrzReadingResultInstance = MrzReadingResult()
    # ...

Explicit destruction

    # ...
    del mrzReadingResultInstance

Dart

    final mrzReadingResultInstance = sdk.MrzReadingResult();
    // ...

Explicit destruction

    // ...
    mrzReadingResultInstance.dispose()

C#

    using (var mrzReadingResultInstance = new MrzReadingResult())
    {
       // ...
    }

Explicit destruction

    var mrzReadingResultInstance = new MrzReadingResult()
    // ...
    mrzReadingResultInstance.Dispose()

Java

    try (MrzReadingResult mrzReadingResultInstance = new MrzReadingResult()) {
    // ...
    }

Explicit destruction

    MrzReadingResult mrzReadingResultInstance = new MrzReadingResult();
    // ...
    mrzReadingResultInstance.close();

Swift

    private var mrzReadingResultInstance: MrzReadingResult? = nil
    mrzReadingResultInstance = try MrzReadingResult()

C

    ID3_DOCUMENT_MRZ_READING_RESULT hMrzReadingResult{};
    int err = id3DocumentMrzReadingResult_Initialize(&hMrzReadingResult);
    if (err == ID3_SUCCESS) {
        // ...
        id3DocumentMrzReadingResult_Dispose(&hMrzReadingResult);
    }

## Properties

Name | Type | Description
--- | --- | ---
bounds | PointList | Boundaries of the MRZ detected, in following order: top-left, top-right, bottom-right, bottom-left.
confidence | float | Confidence score for the MRZ detected.
mrz | string | Value of the MRZ detected.
mrzType | MrzType | Type of the MRZ detected.

## Methods

Name | Description
--- | ---
clone | Clones the MrzReadingResult object.