Share via


RecognizedEntityRegion Constructors

Definition

Overloads

RecognizedEntityRegion()

Initializes a new instance of the RecognizedEntityRegion class.

RecognizedEntityRegion(String, String, String, NormalizedRectangle, IList<RecognizedEntity>)

Initializes a new instance of the RecognizedEntityRegion class.

RecognizedEntityRegion()

Initializes a new instance of the RecognizedEntityRegion class.

public RecognizedEntityRegion ();
Public Sub New ()

Applies to

RecognizedEntityRegion(String, String, String, NormalizedRectangle, IList<RecognizedEntity>)

Initializes a new instance of the RecognizedEntityRegion class.

public RecognizedEntityRegion (string id = default, string readLink = default, string webSearchUrl = default, Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.NormalizedRectangle region = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.RecognizedEntity> matchingEntities = default);
new Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.RecognizedEntityRegion : string * string * string * Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.NormalizedRectangle * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.RecognizedEntity> -> Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.RecognizedEntityRegion
Public Sub New (Optional id As String = Nothing, Optional readLink As String = Nothing, Optional webSearchUrl As String = Nothing, Optional region As NormalizedRectangle = Nothing, Optional matchingEntities As IList(Of RecognizedEntity) = Nothing)

Parameters

id
String

A String identifier.

readLink
String

The URL that returns this resource.

webSearchUrl
String

The URL To Bing's search result for this item.

region
NormalizedRectangle

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.

matchingEntities
IList<RecognizedEntity>

A list of entities that Bing believes match the entity found in the region. The entities are in descending order of confidence (see the matchConfidence field of RecognizedEntity).

Applies to