Cloud AutoML V1beta1 Client - Class BoundingPoly (1.6.5)

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

Namespace

Google \ Cloud \ AutoMl \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setNormalizedVertices

Output only . The bounding polygon normalized vertices.

Parameter
Name Description
var array<Google\Cloud\AutoMl\V1beta1\NormalizedVertex>
Returns
Type Description
$this