你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BlobIndexerImageAction 结构
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定如何处理 Azure Blob 存储中的嵌入图像和图像文件。 将“imageAction”配置设置为“none”以外的任何值都需要将技能组附加到该索引器。
public readonly struct BlobIndexerImageAction : IEquatable<Azure.Search.Documents.Indexes.Models.BlobIndexerImageAction>
type BlobIndexerImageAction = struct
Public Structure BlobIndexerImageAction
Implements IEquatable(Of BlobIndexerImageAction)
- 继承
-
BlobIndexerImageAction
- 实现
构造函数
BlobIndexerImageAction(String) |
初始化 BlobIndexerImageAction 的新实例。 |
属性
GenerateNormalizedImagePerPage |
从图像中提取文本 (例如,从交通停止标志) “STOP”一词,并将其嵌入到内容字段中,但以不同的方式处理 PDF 文件,因为每个页面将呈现为图像并相应地规范化,而不是提取嵌入的图像。 非 PDF 文件类型的处理与设置“generateNormalizedImages”相同。 |
GenerateNormalizedImages |
从图像中提取文本 (例如,从交通停止标志) “STOP”一词,并将其嵌入内容字段中。 此操作要求将“dataToExtract”设置为“contentAndMetadata”。 规范化图像是指在视觉搜索结果中包含图像时,可进行统一的图像输出、调整大小和旋转,以促进一致的呈现。 当使用此选项时,将为每个图像生成此信息。 |
None |
忽略数据集中的嵌入图像或图像文件。 这是默认值。 |
方法
Equals(BlobIndexerImageAction) |
指示当前对象是否等于同一类型的另一个对象。 |
ToString() |
返回此实例的完全限定类型名称。 |