Class DocumentAnalysisFeature

java.lang.Object
com.azure.core.util.ExpandableStringEnum<DocumentAnalysisFeature>
com.azure.ai.documentintelligence.models.DocumentAnalysisFeature
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class DocumentAnalysisFeature extends com.azure.core.util.ExpandableStringEnum<DocumentAnalysisFeature>
Document analysis features to enable.
  • Field Details

    • OCR_HIGH_RESOLUTION

      public static final DocumentAnalysisFeature OCR_HIGH_RESOLUTION
      Perform OCR at a higher resolution to handle documents with fine print.
    • LANGUAGES

      public static final DocumentAnalysisFeature LANGUAGES
      Enable the detection of the text content language.
    • BARCODES

      public static final DocumentAnalysisFeature BARCODES
      Enable the detection of barcodes in the document.
    • FORMULAS

      public static final DocumentAnalysisFeature FORMULAS
      Enable the detection of mathematical expressions in the document.
    • KEY_VALUE_PAIRS

      public static final DocumentAnalysisFeature KEY_VALUE_PAIRS
      Enable the detection of general key value pairs (form fields) in the document.
    • STYLE_FONT

      public static final DocumentAnalysisFeature STYLE_FONT
      Enable the recognition of various font styles.
    • QUERY_FIELDS

      public static final DocumentAnalysisFeature QUERY_FIELDS
      Enable the extraction of additional fields via the queryFields query parameter.
  • Constructor Details

    • DocumentAnalysisFeature

      @Deprecated public DocumentAnalysisFeature()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of DocumentAnalysisFeature value.
  • Method Details

    • fromString

      public static DocumentAnalysisFeature fromString(String name)
      Creates or finds a DocumentAnalysisFeature from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding DocumentAnalysisFeature.
    • values

      public static Collection<DocumentAnalysisFeature> values()
      Gets known DocumentAnalysisFeature values.
      Returns:
      known DocumentAnalysisFeature values.