Cloud Vision V1 Client - Class Landmark (1.7.6)

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 \ FaceAnnotation

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ type
int

Face landmark type.

↳ position
Google\Cloud\Vision\V1\Position

Face landmark 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.

Returns
Type
Description

hasPosition

clearPosition

setPosition

Face landmark position.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: