Reference documentation and code samples for the Cloud Vision V1 Client class Position.
A 3D position in the image, used primarily for Face detection landmarks.
A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.
Generated from protobuf message google.cloud.vision.v1.Position
Namespace
Google \ Cloud \ Vision \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ x
float
X coordinate.
↳ y
float
Y coordinate.
↳ z
float
Z coordinate (or depth).
getX
X coordinate.
float
setX
X coordinate.
var
float
$this
getY
Y coordinate.
float
setY
Y coordinate.
var
float
$this
getZ
Z coordinate (or depth).
float
setZ
Z coordinate (or depth).
var
float
$this

