Reference documentation and code samples for the Cloud Vision V1 Client class Landmark.
A face-specific landmark (for example, a face feature).
Generated from protobuf message google.cloud.vision.v1.FaceAnnotation.Landmark
Namespace
Google \ Cloud \ Vision \ V1 \ FaceAnnotationMethods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ type
int
Face landmark type.
↳ position
getType
Face landmark type.
Returns
Type
Description
int
setType
Face landmark type.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPosition
Face landmark position.
hasPosition
clearPosition
setPosition
Face landmark position.
Returns
Type
Description
$this

