NormalizedQuadrilateral Class

Defines a region of an image. The region is a convex quadrilateral defined by coordinates of its top left, top right, bottom left, and bottom right points. 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
NormalizedQuadrilateral

Constructor

NormalizedQuadrilateral(*, top_left, top_right, bottom_right, bottom_left, **kwargs)

Parameters

_type
str
Required

Required. Constant filled by server.

top_left
Point2D
Required

Required. The top left corner coordinate.

top_right
Point2D
Required

Required. The top right corner coordinate.

bottom_right
Point2D
Required

Required. The bottom right corner coordinate.

bottom_left
Point2D
Required

Required. The bottom left corner coordinate.

Variables

id
str

A String identifier.

read_link
str

The URL that returns this resource. To use the URL, append query parameters as appropriate and include the Ocp-Apim-Subscription-Key header.

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.