Cloud AutoML V1 Client - Class BoundingPoly (1.5.4)

Reference documentation and code samples for the Cloud AutoML V1 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.v1.BoundingPoly

Namespace

Google \ Cloud \ AutoMl \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ normalized_vertices array<Google\Cloud\AutoMl\V1\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\V1\NormalizedVertex>
Returns
TypeDescription
$this