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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ normalized_vertices |
array<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<NormalizedVertex>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|