.. index:: 
  !MrzReadingResult.confidence Property

.. _id3_document_mrz_reading_result_confidence_class_member:

===============================================================================
MrzReadingResult.confidence Property
===============================================================================

Module: :ref:`MrzReadingResult<id3_document_mrz_reading_result_class>`

Type: float

Definition
----------

Confidence score for the MRZ detected.


.. tab-set::

  .. tab-item:: Python
    :sync: Python

    .. code:: Python

      confidence: float


    **Exceptions**

      .. line-block::

        :ref:`DocumentException<id3_document_document_exception>`
        An error has occurred during Document Library execution.

  .. tab-item:: Dart
    :sync: Dart

    .. code:: Dart

      double get confidence => getConfidence();


    **Exceptions**

      .. line-block::

        :ref:`DocumentException<id3_document_document_exception>`
        An error has occurred during Document Library execution.

  .. tab-item:: C#
    :sync: C#

    .. code:: C#

      public float confidence
      {
          get => Getconfidence();
      }


    **Exceptions**

      .. line-block::

        :ref:`DocumentException<id3_document_document_exception>`
        An error has occurred during Document Library execution.

  .. tab-item:: Java
    :sync: Java

    .. code:: Java

      public float getConfidence() throws DocumentException


    **Exceptions**

      .. line-block::

        :ref:`DocumentException<id3_document_document_exception>`
        An error has occurred during Document Library execution.

  .. tab-item:: Swift
    :sync: Swift

    .. code:: Swift

      public var confidence: Float
          get {
              return try! getConfidence()
          }
      }


    **Exceptions**

      .. line-block::

        :ref:`DocumentException<id3_document_document_exception>`
        An error has occurred during Document Library execution.

  .. tab-item:: C
    :sync: C

    .. code:: C

      int id3DocumentMrzReadingResult_GetConfidence (ID3_DOCUMENT_MRZ_READING_RESULT hMrzReadingResult, float * confidence)

    **Returns**
   
      .. line-block::

        ``int``
        An error code.
        See :ref:`id3DocumentError<id3_document_document_error_enum>` file for the list of possible error codes.

