java.lang.Object
java.lang.Enum<ScoreMode>
com.itextpdf.pdfocr.onnx.conf.paddle.model.ScoreMode
All Implemented Interfaces:
Serializable, Comparable<ScoreMode>, java.lang.constant.Constable

public enum ScoreMode extends Enum<ScoreMode>
Enum for values under the score_mode key within a DBPostProcess PostProcessor object in a config file.
  • Enum Constant Details

    • FAST

      public static final ScoreMode FAST
      Value for fast config value.
    • SLOW

      public static final ScoreMode SLOW
      Value for slow config value.
  • Method Details

    • values

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

      public static ScoreMode valueOf (String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null