Reference documentation and code samples for the Cloud AutoML V1 Client class NormalizedVertex.
A vertex represents a 2D point in the image.
The normalized vertex coordinates are between 0 to 1 fractions relative to the original plane (image, video). E.g. if the plane (e.g. whole image) would have size 10 x 20 then a point with normalized coordinates (0.1, 0.3) would be at the position (1, 6) on that plane.
Generated from protobuf message google.cloud.automl.v1.NormalizedVertex
Namespace
Google \ Cloud \ AutoMl \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ x
float
Required. Horizontal coordinate.
↳ y
float
Required. Vertical coordinate.
getX
Required. Horizontal coordinate.
float
setX
Required. Horizontal coordinate.
var
float
$this
getY
Required. Vertical coordinate.
float
setY
Required. Vertical coordinate.
var
float
$this