Class DocumentAnalysisFeature
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DocumentAnalysisFeature>
com.azure.ai.documentintelligence.models.DocumentAnalysisFeature
public final class DocumentAnalysisFeature
extends com.azure.core.util.ExpandableStringEnum<DocumentAnalysisFeature>
Document analysis features to enable.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DocumentAnalysisFeature
Enable the detection of barcodes in the document.static final DocumentAnalysisFeature
Enable the detection of mathematical expressions in the document.static final DocumentAnalysisFeature
Enable the detection of general key value pairs (form fields) in the document.static final DocumentAnalysisFeature
Enable the detection of the text content language.static final DocumentAnalysisFeature
Perform OCR at a higher resolution to handle documents with fine print.static final DocumentAnalysisFeature
Enable the extraction of additional fields via the queryFields query parameter.static final DocumentAnalysisFeature
Enable the recognition of various font styles. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentAnalysisFeature
fromString
(String name) Creates or finds a DocumentAnalysisFeature from its string representation.static Collection<DocumentAnalysisFeature>
values()
Gets known DocumentAnalysisFeature values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
OCR_HIGH_RESOLUTION
Perform OCR at a higher resolution to handle documents with fine print. -
LANGUAGES
Enable the detection of the text content language. -
BARCODES
Enable the detection of barcodes in the document. -
FORMULAS
Enable the detection of mathematical expressions in the document. -
KEY_VALUE_PAIRS
Enable the detection of general key value pairs (form fields) in the document. -
STYLE_FONT
Enable the recognition of various font styles. -
QUERY_FIELDS
Enable the extraction of additional fields via the queryFields query parameter.
-
-
Constructor Details
-
DocumentAnalysisFeature
Deprecated.Use thefromString(String)
factory method.Creates a new instance of DocumentAnalysisFeature value.
-
-
Method Details
-
fromString
Creates or finds a DocumentAnalysisFeature from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding DocumentAnalysisFeature.
-
values
Gets known DocumentAnalysisFeature values.- Returns:
- known DocumentAnalysisFeature values.
-
fromString(String)
factory method.