DocumentAnalysisFeature Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. formrecognizer. documentanalysis. models. DocumentAnalysisFeature
- com.
- com.
public final class DocumentAnalysisFeature
extends ExpandableStringEnum<DocumentAnalysisFeature>
Defines values for DocumentAnalysisFeature.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Document |
BARCODES
Enable the detection of barcodes in the document. |
static final
Document |
FORMULAS
Enable the detection of mathematical expressions in the document. |
static final
Document |
KEY_VALUE_PAIRS
Enable the detection of general key value pairs (form fields) in the document. |
static final
Document |
LANGUAGES
Enable the detection of the text content language. |
static final
Document |
OCR_HIGH_RESOLUTION
Perform OCR at a higher resolution to handle documents with fine print. |
static final
Document |
STYLE_FONT
Enable the recognition of various font styles. |
Constructor Summary
Constructor | Description |
---|---|
DocumentAnalysisFeature() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Document |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Document |
fromString(String name)
Creates or finds a Document |
static
Collection<Document |
values()
Gets known Document |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
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.
LANGUAGES
public static final DocumentAnalysisFeature LANGUAGES
Enable the detection of the text content language.
OCR_HIGH_RESOLUTION
public static final DocumentAnalysisFeature OCR_HIGH_RESOLUTION
Perform OCR at a higher resolution to handle documents with fine print.
STYLE_FONT
public static final DocumentAnalysisFeature STYLE_FONT
Enable the recognition of various font styles.
Constructor Details
DocumentAnalysisFeature
@Deprecated
public DocumentAnalysisFeature()
Deprecated
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:
Returns:
values
public static Collection
Gets known DocumentAnalysisFeature values.
Returns:
Applies to
Azure SDK for Java