Enum Class OcrDocumentType

java.lang.Object
java.lang.Enum<OcrDocumentType>
com.microblink.photopay.entities.ocrengine.legacy.OcrDocumentType
All Implemented Interfaces:
Serializable, Comparable<OcrDocumentType>, Constable

public enum OcrDocumentType extends Enum<OcrDocumentType>
Available OCR document types. Every OCR document type has specific set of characters and settings for ocr engine.
  • Enum Constant Details

    • OCR_DOCUMENT_TYPE_GENERIC

      public static final OcrDocumentType OCR_DOCUMENT_TYPE_GENERIC
      Supports latin alphabet, numbers, punctuation marks, currency symbols and common country specific characters for large number of commonly used fonts. This document type should be used in most cases.
    • OCR_DOCUMENT_TYPE_MICR

      public static final OcrDocumentType OCR_DOCUMENT_TYPE_MICR
      Supports the recognition of MICR (Magnetic Ink Character Recognition) font characters which are used mainly by the banking industry.
    • OCR_DOCUMENT_TYPE_ARABIC

      public static final OcrDocumentType OCR_DOCUMENT_TYPE_ARABIC
      Supports the recognition of Arabic-Indic numerals and punctuation marks used in amounts.
  • Method Details

    • values

      public static OcrDocumentType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OcrDocumentType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null