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 \ LandmarkMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
UNKNOWN_LANDMARK
Value: 0Unknown face landmark detected. Should not be filled.
Generated from protobuf enum UNKNOWN_LANDMARK = 0;
LEFT_EYE
Value: 1Left eye.
Generated from protobuf enum LEFT_EYE = 1;
RIGHT_EYE
Value: 2Right eye.
Generated from protobuf enum RIGHT_EYE = 2;
LEFT_OF_LEFT_EYEBROW
Value: 3Left of left eyebrow.
Generated from protobuf enum LEFT_OF_LEFT_EYEBROW = 3;
RIGHT_OF_LEFT_EYEBROW
Value: 4Right of left eyebrow.
Generated from protobuf enum RIGHT_OF_LEFT_EYEBROW = 4;
LEFT_OF_RIGHT_EYEBROW
Value: 5Left of right eyebrow.
Generated from protobuf enum LEFT_OF_RIGHT_EYEBROW = 5;
RIGHT_OF_RIGHT_EYEBROW
Value: 6Right of right eyebrow.
Generated from protobuf enum RIGHT_OF_RIGHT_EYEBROW = 6;
MIDPOINT_BETWEEN_EYES
Value: 7Midpoint between eyes.
Generated from protobuf enum MIDPOINT_BETWEEN_EYES = 7;
NOSE_TIP
Value: 8Nose tip.
Generated from protobuf enum NOSE_TIP = 8;
UPPER_LIP
Value: 9Upper lip.
Generated from protobuf enum UPPER_LIP = 9;
LOWER_LIP
Value: 10Lower lip.
Generated from protobuf enum LOWER_LIP = 10;
MOUTH_LEFT
Value: 11Mouth left.
Generated from protobuf enum MOUTH_LEFT = 11;
MOUTH_RIGHT
Value: 12Mouth right.
Generated from protobuf enum MOUTH_RIGHT = 12;
MOUTH_CENTER
Value: 13Mouth center.
Generated from protobuf enum MOUTH_CENTER = 13;
NOSE_BOTTOM_RIGHT
Value: 14Nose, bottom right.
Generated from protobuf enum NOSE_BOTTOM_RIGHT = 14;
NOSE_BOTTOM_LEFT
Value: 15Nose, bottom left.
Generated from protobuf enum NOSE_BOTTOM_LEFT = 15;
NOSE_BOTTOM_CENTER
Value: 16Nose, bottom center.
Generated from protobuf enum NOSE_BOTTOM_CENTER = 16;
LEFT_EYE_TOP_BOUNDARY
Value: 17Left eye, top boundary.
Generated from protobuf enum LEFT_EYE_TOP_BOUNDARY = 17;
LEFT_EYE_RIGHT_CORNER
Value: 18Left eye, right corner.
Generated from protobuf enum LEFT_EYE_RIGHT_CORNER = 18;
LEFT_EYE_BOTTOM_BOUNDARY
Value: 19Left eye, bottom boundary.
Generated from protobuf enum LEFT_EYE_BOTTOM_BOUNDARY = 19;
LEFT_EYE_LEFT_CORNER
Value: 20Left eye, left corner.
Generated from protobuf enum LEFT_EYE_LEFT_CORNER = 20;
RIGHT_EYE_TOP_BOUNDARY
Value: 21Right eye, top boundary.
Generated from protobuf enum RIGHT_EYE_TOP_BOUNDARY = 21;
RIGHT_EYE_RIGHT_CORNER
Value: 22Right eye, right corner.
Generated from protobuf enum RIGHT_EYE_RIGHT_CORNER = 22;
RIGHT_EYE_BOTTOM_BOUNDARY
Value: 23Right eye, bottom boundary.
Generated from protobuf enum RIGHT_EYE_BOTTOM_BOUNDARY = 23;
RIGHT_EYE_LEFT_CORNER
Value: 24Right eye, left corner.
Generated from protobuf enum RIGHT_EYE_LEFT_CORNER = 24;
LEFT_EYEBROW_UPPER_MIDPOINT
Value: 25Left eyebrow, upper midpoint.
Generated from protobuf enum LEFT_EYEBROW_UPPER_MIDPOINT = 25;
RIGHT_EYEBROW_UPPER_MIDPOINT
Value: 26Right eyebrow, upper midpoint.
Generated from protobuf enum RIGHT_EYEBROW_UPPER_MIDPOINT = 26;
LEFT_EAR_TRAGION
Value: 27Left ear tragion.
Generated from protobuf enum LEFT_EAR_TRAGION = 27;
RIGHT_EAR_TRAGION
Value: 28Right ear tragion.
Generated from protobuf enum RIGHT_EAR_TRAGION = 28;
LEFT_EYE_PUPIL
Value: 29Left eye pupil.
Generated from protobuf enum LEFT_EYE_PUPIL = 29;
RIGHT_EYE_PUPIL
Value: 30Right eye pupil.
Generated from protobuf enum RIGHT_EYE_PUPIL = 30;
FOREHEAD_GLABELLA
Value: 31Forehead glabella.
Generated from protobuf enum FOREHEAD_GLABELLA = 31;
CHIN_GNATHION
Value: 32Chin gnathion.
Generated from protobuf enum CHIN_GNATHION = 32;
CHIN_LEFT_GONION
Value: 33Chin left gonion.
Generated from protobuf enum CHIN_LEFT_GONION = 33;
CHIN_RIGHT_GONION
Value: 34Chin right gonion.
Generated from protobuf enum CHIN_RIGHT_GONION = 34;
LEFT_CHEEK_CENTER
Value: 35Left cheek center.
Generated from protobuf enum LEFT_CHEEK_CENTER = 35;
RIGHT_CHEEK_CENTER
Value: 36Right cheek center.
Generated from protobuf enum RIGHT_CHEEK_CENTER = 36;