NormalizedRectangle Class

Defines a region of an image. The region is defined by the coordinates of the top, left corner and bottom, right corner of the region. The coordinates are fractional values of the original image's width and height in the range 0.0 through 1.0.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.cognitiveservices.search.imagesearch.models._models_py3.StructuredValue
NormalizedRectangle

Constructor

NormalizedRectangle(*, left: float, top: float, right: float, bottom: float, **kwargs)

Parameters

_type
str
Required

Required. Constant filled by server.

left
float
Required

Required. The left coordinate.

top
float
Required

Required. The top coordinate

right
float
Required

Required. The right coordinate

bottom
float
Required

Required. The bottom coordinate

Variables

id
str

A String identifier.

read_link
str

The URL that returns this resource.

web_search_url
str

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

name
str

The name of the thing represented by this object.

url
str

The URL to get more information about the thing represented by this object.

image
ImageObject

An image of the item.

description
str

A short description of the item.

alternate_name
str

An alias for the item

bing_id
str

An ID that uniquely identifies this item.