BlobIndexerImageAction Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. indexes. models. BlobIndexerImageAction
- com.
- com.
public final class BlobIndexerImageAction
extends 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
Modifier and Type | Field and Description |
---|---|
static final
Blob |
GENERATE_NORMALIZED_IMAGES
Extracts text from images (for example, the word "STOP" from a traffic stop sign), and embeds it into the content field. |
static final
Blob |
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. |
static final
Blob |
NONE
Ignores embedded images or image files in the data set. |
Constructor Summary
Constructor | Description |
---|---|
BlobIndexerImageAction() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Blob |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Blob |
fromString(String name)
Creates or finds a Blob |
static
Collection<Blob |
values()
Gets known Blob |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
GENERATE_NORMALIZED_IMAGES
public static final BlobIndexerImageAction 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
public static final BlobIndexerImageAction 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.
NONE
public static final BlobIndexerImageAction NONE
Ignores embedded images or image files in the data set. This is the default.
Constructor Details
BlobIndexerImageAction
@Deprecated
public BlobIndexerImageAction()
Deprecated
Creates a new instance of BlobIndexerImageAction value.
Method Details
fromString
public static BlobIndexerImageAction fromString(String name)
Creates or finds a BlobIndexerImageAction from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known BlobIndexerImageAction values.
Returns:
Applies to
Azure SDK for Java