Class BlobIndexerImageAction
java.lang.Object
com.azure.core.util.ExpandableStringEnum<BlobIndexerImageAction>
com.azure.search.documents.indexes.models.BlobIndexerImageAction
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class BlobIndexerImageAction
extends com.azure.core.util.ExpandableStringEnum<BlobIndexerImageAction>
Determines how to process embedded images and image files in Azure blob storage. Setting the "imageAction"
configuration to any value other than "none" requires that a skillset also be attached to that indexer.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BlobIndexerImageActionExtracts text from images (for example, the word "STOP" from a traffic stop sign), and embeds it into the content field, but treats PDF files differently in that each page will be rendered as an image and normalized accordingly, instead of extracting embedded images.static final BlobIndexerImageActionExtracts text from images (for example, the word "STOP" from a traffic stop sign), and embeds it into the content field.static final BlobIndexerImageActionIgnores embedded images or image files in the data set. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BlobIndexerImageActionfromString(String name) Creates or finds a BlobIndexerImageAction from its string representation.static Collection<BlobIndexerImageAction> values()Gets known BlobIndexerImageAction values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
NONE
Ignores embedded images or image files in the data set. This is the default. -
GENERATE_NORMALIZED_IMAGES
Extracts text from images (for example, the word "STOP" from a traffic stop sign), and embeds it into the content field. This action requires that "dataToExtract" is set to "contentAndMetadata". A normalized image refers to additional processing resulting in uniform image output, sized and rotated to promote consistent rendering when you include images in visual search results. This information is generated for each image when you use this option. -
GENERATE_NORMALIZED_IMAGE_PER_PAGE
Extracts text from images (for example, the word "STOP" from a traffic stop sign), and embeds it into the content field, but treats PDF files differently in that each page will be rendered as an image and normalized accordingly, instead of extracting embedded images. Non-PDF file types will be treated the same as if "generateNormalizedImages" was set.
-
-
Constructor Details
-
BlobIndexerImageAction
Deprecated.Use thefromString(String)factory method.Creates a new instance of BlobIndexerImageAction value.
-
-
Method Details
-
fromString
Creates or finds a BlobIndexerImageAction from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding BlobIndexerImageAction.
-
values
Gets known BlobIndexerImageAction values.- Returns:
- known BlobIndexerImageAction values.
-
fromString(String)factory method.