java.lang.Object
java.lang.Enum<OcrOptions.Task>
com.alibaba.dashscope.legacy_2x.aigc.multimodalconversation.OcrOptions.Task
All Implemented Interfaces:
Serializable, Comparable<OcrOptions.Task>, Constable
Enclosing class:
OcrOptions

public static enum OcrOptions.Task extends Enum<OcrOptions.Task>
  • Enum Constant Details

    • KEY_INFORMATION_EXTRACTION

      @SerializedName("key_information_extraction") public static final OcrOptions.Task KEY_INFORMATION_EXTRACTION
    • TEXT_RECOGNITION

      @SerializedName("text_recognition") public static final OcrOptions.Task TEXT_RECOGNITION
    • TABLE_PARSING

      @SerializedName("table_parsing") public static final OcrOptions.Task TABLE_PARSING
    • DOCUMENT_PARSING

      @SerializedName("document_parsing") public static final OcrOptions.Task DOCUMENT_PARSING
    • FORMULA_RECOGNITION

      @SerializedName("formula_recognition") public static final OcrOptions.Task FORMULA_RECOGNITION
    • MULTI_LAN

      @SerializedName("multi_lan") public static final OcrOptions.Task MULTI_LAN
    • ADVANCED_RECOGNITION

      @SerializedName("advanced_recognition") public static final OcrOptions.Task ADVANCED_RECOGNITION
  • Method Details

    • values

      public static OcrOptions.Task[] 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 OcrOptions.Task 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