Enum Class OcrEngine

java.lang.Object
java.lang.Enum<OcrEngine>
ai.docling.serve.api.convert.request.options.OcrEngine
All Implemented Interfaces:
Serializable, Comparable<OcrEngine>, Constable

public enum OcrEngine extends Enum<OcrEngine>
OCR engines supported by Docling.
  • Enum Constant Details

    • EASYOCR

      public static final OcrEngine EASYOCR
    • OCRMAC

      public static final OcrEngine OCRMAC
    • RAPIDOCR

      public static final OcrEngine RAPIDOCR
    • TESSEROCR

      public static final OcrEngine TESSEROCR
    • TESSERACT

      public static final OcrEngine TESSERACT
  • Method Details

    • values

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