Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class NormalizedPolygon.
Normalized Polygon.
Generated from protobuf message google.cloud.visionai.v1.NormalizedPolygon
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ normalized_vertices |
array<NormalizedVertex>
The bounding polygon normalized vertices. Top left corner of the image will be [0, 0]. |
getNormalizedVertices
The bounding polygon normalized vertices. Top left corner of the image will be [0, 0].
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setNormalizedVertices
The bounding polygon normalized vertices. Top left corner of the image will be [0, 0].
| Parameter | |
|---|---|
| Name | Description |
var |
array<NormalizedVertex>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|