Cloud Vision V1 Client - Class Type (1.10.1)

Reference documentation and code samples for the Cloud Vision V1 Client class Type.

Face landmark (feature) type.

Left and right are defined from the vantage of the viewer of the image without considering mirror projections typical of photos. So, LEFT_EYE, typically, is the person's right eye.

Protobuf type google.cloud.vision.v1.FaceAnnotation.Landmark.Type

Namespace

Google \ Cloud \ Vision \ V1 \ FaceAnnotation \ Landmark

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNKNOWN_LANDMARK

Value: 0

Unknown face landmark detected. Should not be filled.

Generated from protobuf enum UNKNOWN_LANDMARK = 0;

LEFT_EYE

Value: 1

Left eye.

Generated from protobuf enum LEFT_EYE = 1;

RIGHT_EYE

Value: 2

Right eye.

Generated from protobuf enum RIGHT_EYE = 2;

LEFT_OF_LEFT_EYEBROW

Value: 3

Left of left eyebrow.

Generated from protobuf enum LEFT_OF_LEFT_EYEBROW = 3;

RIGHT_OF_LEFT_EYEBROW

Value: 4

Right of left eyebrow.

Generated from protobuf enum RIGHT_OF_LEFT_EYEBROW = 4;

LEFT_OF_RIGHT_EYEBROW

Value: 5

Left of right eyebrow.

Generated from protobuf enum LEFT_OF_RIGHT_EYEBROW = 5;

RIGHT_OF_RIGHT_EYEBROW

Value: 6

Right of right eyebrow.

Generated from protobuf enum RIGHT_OF_RIGHT_EYEBROW = 6;

MIDPOINT_BETWEEN_EYES

Value: 7

Midpoint between eyes.

Generated from protobuf enum MIDPOINT_BETWEEN_EYES = 7;

NOSE_TIP

Value: 8

Nose tip.

Generated from protobuf enum NOSE_TIP = 8;

UPPER_LIP

Value: 9

Upper lip.

Generated from protobuf enum UPPER_LIP = 9;

LOWER_LIP

Value: 10

Lower lip.

Generated from protobuf enum LOWER_LIP = 10;

MOUTH_LEFT

Value: 11

Mouth left.

Generated from protobuf enum MOUTH_LEFT = 11;

MOUTH_RIGHT

Value: 12

Mouth right.

Generated from protobuf enum MOUTH_RIGHT = 12;

MOUTH_CENTER

Value: 13

Mouth center.

Generated from protobuf enum MOUTH_CENTER = 13;

NOSE_BOTTOM_RIGHT

Value: 14

Nose, bottom right.

Generated from protobuf enum NOSE_BOTTOM_RIGHT = 14;

NOSE_BOTTOM_LEFT

Value: 15

Nose, bottom left.

Generated from protobuf enum NOSE_BOTTOM_LEFT = 15;

NOSE_BOTTOM_CENTER

Value: 16

Nose, bottom center.

Generated from protobuf enum NOSE_BOTTOM_CENTER = 16;

LEFT_EYE_TOP_BOUNDARY

Value: 17

Left eye, top boundary.

Generated from protobuf enum LEFT_EYE_TOP_BOUNDARY = 17;

LEFT_EYE_RIGHT_CORNER

Value: 18

Left eye, right corner.

Generated from protobuf enum LEFT_EYE_RIGHT_CORNER = 18;

LEFT_EYE_BOTTOM_BOUNDARY

Value: 19

Left eye, bottom boundary.

Generated from protobuf enum LEFT_EYE_BOTTOM_BOUNDARY = 19;

LEFT_EYE_LEFT_CORNER

Value: 20

Left eye, left corner.

Generated from protobuf enum LEFT_EYE_LEFT_CORNER = 20;

RIGHT_EYE_TOP_BOUNDARY

Value: 21

Right eye, top boundary.

Generated from protobuf enum RIGHT_EYE_TOP_BOUNDARY = 21;

RIGHT_EYE_RIGHT_CORNER

Value: 22

Right eye, right corner.

Generated from protobuf enum RIGHT_EYE_RIGHT_CORNER = 22;

RIGHT_EYE_BOTTOM_BOUNDARY

Value: 23

Right eye, bottom boundary.

Generated from protobuf enum RIGHT_EYE_BOTTOM_BOUNDARY = 23;

RIGHT_EYE_LEFT_CORNER

Value: 24

Right eye, left corner.

Generated from protobuf enum RIGHT_EYE_LEFT_CORNER = 24;

LEFT_EYEBROW_UPPER_MIDPOINT

Value: 25

Left eyebrow, upper midpoint.

Generated from protobuf enum LEFT_EYEBROW_UPPER_MIDPOINT = 25;

RIGHT_EYEBROW_UPPER_MIDPOINT

Value: 26

Right eyebrow, upper midpoint.

Generated from protobuf enum RIGHT_EYEBROW_UPPER_MIDPOINT = 26;

LEFT_EAR_TRAGION

Value: 27

Left ear tragion.

Generated from protobuf enum LEFT_EAR_TRAGION = 27;

RIGHT_EAR_TRAGION

Value: 28

Right ear tragion.

Generated from protobuf enum RIGHT_EAR_TRAGION = 28;

LEFT_EYE_PUPIL

Value: 29

Left eye pupil.

Generated from protobuf enum LEFT_EYE_PUPIL = 29;

RIGHT_EYE_PUPIL

Value: 30

Right eye pupil.

Generated from protobuf enum RIGHT_EYE_PUPIL = 30;

FOREHEAD_GLABELLA

Value: 31

Forehead glabella.

Generated from protobuf enum FOREHEAD_GLABELLA = 31;

CHIN_GNATHION

Value: 32

Chin gnathion.

Generated from protobuf enum CHIN_GNATHION = 32;

CHIN_LEFT_GONION

Value: 33

Chin left gonion.

Generated from protobuf enum CHIN_LEFT_GONION = 33;

CHIN_RIGHT_GONION

Value: 34

Chin right gonion.

Generated from protobuf enum CHIN_RIGHT_GONION = 34;

LEFT_CHEEK_CENTER

Value: 35

Left cheek center.

Generated from protobuf enum LEFT_CHEEK_CENTER = 35;

RIGHT_CHEEK_CENTER

Value: 36

Right cheek center.

Generated from protobuf enum RIGHT_CHEEK_CENTER = 36;