Position
class Position extends Message
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.
Protobuf type Google\Cloud\Vision\V1\Position
Methods
No description
X coordinate.
X coordinate.
Y coordinate.
Y coordinate.
Z coordinate (or depth).
Z coordinate (or depth).
Details
at line 39
__construct()
at line 50
float
getX()
X coordinate.
Generated from protobuf field float x = 1;
at line 61
setX(float $var)
X coordinate.
Generated from protobuf field float x = 1;
at line 73
float
getY()
Y coordinate.
Generated from protobuf field float y = 2;
at line 84
setY(float $var)
Y coordinate.
Generated from protobuf field float y = 2;
at line 96
float
getZ()
Z coordinate (or depth).
Generated from protobuf field float z = 3;
at line 107
setZ(float $var)
Z coordinate (or depth).
Generated from protobuf field float z = 3;