.. index:: 
  !DocumentModel Enumeration

.. _id3_document_document_model_enum:

===============================================================================
DocumentModel Enumeration
===============================================================================

Namespace: :ref:`id3.Document<reference_document>`

Definition
----------

.. line-block::
    Enumerates the AI models available in this SDK.

.. tab-set::

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

    .. code-block:: Python

      class DocumentModel

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

    .. code-block:: Dart

      enum DocumentModel

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

    .. code-block:: C#

      public enum DocumentModel

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

    .. code-block:: Java

      public enum DocumentModel

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

    .. code-block:: Swift

      public enum DocumentModel

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

    .. code-block:: C

      typedef enum id3DocumentModel


Fields
------

.. list-table:: 
  :width: 100%
  :widths: 5 5 90
  :header-rows: 1

  * - Name
    - Value
    - Description
  * - ``documentDetector2A``
    - 1001
    - Document detector 2A. Best accuracy model.
  * - ``documentDetector2B``
    - 1002
    - Document detector 2B. Fast detector for low-end mobiles.
  * - ``mrzReader2A``
    - 1102
    - MRZ Reader 2A. Stand-alone reader (no document detection needed).
  * - ``ocrLatin2A``
    - 1202
    - OCR (Optical Character Recognition) model 2A for reading text fields in latin alphabet and digits.
