BoundingPolygon

class oci.ai_document.models.BoundingPolygon(**kwargs)

Bases: object

The object-bounding polygon box.

Methods

__init__(**kwargs) Initializes a new BoundingPolygon object with values from keyword arguments.

Attributes

normalized_vertices [Required] Gets the normalized_vertices of this BoundingPolygon.
__init__(**kwargs)

Initializes a new BoundingPolygon object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:normalized_vertices (list[oci.ai_document.models.NormalizedVertex]) – The value to assign to the normalized_vertices property of this BoundingPolygon.
normalized_vertices

[Required] Gets the normalized_vertices of this BoundingPolygon. An array of normalized points defining the polygon’s perimeter, with an implicit segment between subsequent points and between the first and last point. Rectangles are defined with four points. For example, [{“x”: 0, “y”: 0}, {“x”: 1, “y”: 0}, {“x”: 1, “y”: 0.5}, {“x”: 0, “y”: 0.5}] represents the top half of an image.

Returns:The normalized_vertices of this BoundingPolygon.
Return type:list[oci.ai_document.models.NormalizedVertex]