class FaceAnnotation_Landmark extends Message

A face-specific landmark (for example, a face feature).

Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that 0 <= x < width or 0 <= y < height.

Protobuf type Google\Cloud\Vision\V1\FaceAnnotation\Landmark

Methods

__construct()

No description

int
getType()

Face landmark type.

setType(int $var)

Face landmark type.

getPosition()

Face landmark position.

setPosition(Position $var)

Face landmark position.

Details

at line 35
__construct()

at line 46
int getType()

Face landmark type.

Generated from protobuf field .google.cloud.vision.v1.FaceAnnotation.Landmark.Type type = 3;

Return Value

int

at line 57
setType(int $var)

Face landmark type.

Generated from protobuf field .google.cloud.vision.v1.FaceAnnotation.Landmark.Type type = 3;

Parameters

int $var

at line 69
Position getPosition()

Face landmark position.

Generated from protobuf field .google.cloud.vision.v1.Position position = 4;

Return Value

Position

at line 80
setPosition(Position $var)

Face landmark position.

Generated from protobuf field .google.cloud.vision.v1.Position position = 4;

Parameters

Position $var