RecognizedEntityRegion.Region Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a region of the image that contains an entity. The values of the rectangle are relative to the width and height of the original image and are in the range 0.0 through 1.0. For example, if the image is 300x200 and the region's top, left corner is at point (10, 20) and the bottom, right corner is at point (290, 150), then the normalized rectangle is: Left = 0.0333333333333333, Top = 0.1, Right = 0.9666666666666667, Bottom = 0.75. For people, the region represents the person's face.
[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
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute