Enum Class Performance

java.lang.Object
java.lang.Enum<Performance>
com.datalogics.PDFL.Performance
All Implemented Interfaces:
Serializable, Comparable<Performance>, Constable

public enum Performance extends Enum<Performance>
Specify the performance of the OCR engine in an abstract way. In Tesseract, for instance, this changes the OCREngineMode.
  • Enum Constant Details

    • DEFAULT

      public static final Performance DEFAULT
    • FASTER

      public static final Performance FASTER
    • MORE_ACCURACY

      public static final Performance MORE_ACCURACY
    • BEST_ACCURACY

      public static final Performance BEST_ACCURACY
  • Method Details

    • values

      public static Performance[] 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 Performance 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