Cloud AutoML V1beta1 Client - Class BoundingPoly (1.4.17)

Reference documentation and code samples for the Cloud AutoML V1beta1 Client class BoundingPoly.

A bounding polygon of a detected object on a plane.

On output both vertices and normalized_vertices are provided. The polygon is formed by connecting vertices in the order they are listed.

Generated from protobuf message google.cloud.automl.v1beta1.BoundingPoly

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ normalized_vertices array<Google\Cloud\AutoMl\V1beta1\NormalizedVertex>

Output only . The bounding polygon normalized vertices.

getNormalizedVertices

Output only . The bounding polygon normalized vertices.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNormalizedVertices

Output only . The bounding polygon normalized vertices.

Parameter
NameDescription
var array<Google\Cloud\AutoMl\V1beta1\NormalizedVertex>
Returns
TypeDescription
$this