你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RecognizedEntityRegion.Region 属性

定义

获取包含实体的图像的区域。 矩形的值是相对于原始图像的宽和高的,其范围为 0.0 到 1.0。 例如,如果图像为 300x200 且区域的顶部,则左上角位于 (10 点, 20) ,底部、右角位于点 (290,150) ,则规范化矩形为:Left = 0.03333333333333333,Top = 0.1,Right = 0.9666666666666667,Bottom = 0.75。 就人来说,该区域代表人的面孔。

[Newtonsoft.Json.JsonProperty(PropertyName="region")]
public Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.NormalizedRectangle Region { get; }
[<Newtonsoft.Json.JsonProperty(PropertyName="region")>]
member this.Region : Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.NormalizedRectangle
Public ReadOnly Property Region As NormalizedRectangle

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于