public static enum FaceAnnotation.Landmark.Type extends java.lang.Enum<FaceAnnotation.Landmark.Type> implements ProtocolMessageEnum
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 enum
google.cloud.vision.v1.FaceAnnotation.Landmark.Type
Enum Constant and Description |
---|
CHIN_GNATHION
Chin gnathion.
|
CHIN_LEFT_GONION
Chin left gonion.
|
CHIN_RIGHT_GONION
Chin right gonion.
|
FOREHEAD_GLABELLA
Forehead glabella.
|
LEFT_EAR_TRAGION
Left ear tragion.
|
LEFT_EYE
Left eye.
|
LEFT_EYE_BOTTOM_BOUNDARY
Left eye, bottom boundary.
|
LEFT_EYE_LEFT_CORNER
Left eye, left corner.
|
LEFT_EYE_PUPIL
Left eye pupil.
|
LEFT_EYE_RIGHT_CORNER
Left eye, right corner.
|
LEFT_EYE_TOP_BOUNDARY
Left eye, top boundary.
|
LEFT_EYEBROW_UPPER_MIDPOINT
Left eyebrow, upper midpoint.
|
LEFT_OF_LEFT_EYEBROW
Left of left eyebrow.
|
LEFT_OF_RIGHT_EYEBROW
Left of right eyebrow.
|
LOWER_LIP
Lower lip.
|
MIDPOINT_BETWEEN_EYES
Midpoint between eyes.
|
MOUTH_CENTER
Mouth center.
|
MOUTH_LEFT
Mouth left.
|
MOUTH_RIGHT
Mouth right.
|
NOSE_BOTTOM_CENTER
Nose, bottom center.
|
NOSE_BOTTOM_LEFT
Nose, bottom left.
|
NOSE_BOTTOM_RIGHT
Nose, bottom right.
|
NOSE_TIP
Nose tip.
|
RIGHT_EAR_TRAGION
Right ear tragion.
|
RIGHT_EYE
Right eye.
|
RIGHT_EYE_BOTTOM_BOUNDARY
Right eye, bottom boundary.
|
RIGHT_EYE_LEFT_CORNER
Right eye, left corner.
|
RIGHT_EYE_PUPIL
Right eye pupil.
|
RIGHT_EYE_RIGHT_CORNER
Right eye, right corner.
|
RIGHT_EYE_TOP_BOUNDARY
Right eye, top boundary.
|
RIGHT_EYEBROW_UPPER_MIDPOINT
Right eyebrow, upper midpoint.
|
RIGHT_OF_LEFT_EYEBROW
Right of left eyebrow.
|
RIGHT_OF_RIGHT_EYEBROW
Right of right eyebrow.
|
UNKNOWN_LANDMARK
Unknown face landmark detected.
|
UNRECOGNIZED |
UPPER_LIP
Upper lip.
|
Modifier and Type | Field and Description |
---|---|
static int |
CHIN_GNATHION_VALUE
Chin gnathion.
|
static int |
CHIN_LEFT_GONION_VALUE
Chin left gonion.
|
static int |
CHIN_RIGHT_GONION_VALUE
Chin right gonion.
|
static int |
FOREHEAD_GLABELLA_VALUE
Forehead glabella.
|
static int |
LEFT_EAR_TRAGION_VALUE
Left ear tragion.
|
static int |
LEFT_EYE_BOTTOM_BOUNDARY_VALUE
Left eye, bottom boundary.
|
static int |
LEFT_EYE_LEFT_CORNER_VALUE
Left eye, left corner.
|
static int |
LEFT_EYE_PUPIL_VALUE
Left eye pupil.
|
static int |
LEFT_EYE_RIGHT_CORNER_VALUE
Left eye, right corner.
|
static int |
LEFT_EYE_TOP_BOUNDARY_VALUE
Left eye, top boundary.
|
static int |
LEFT_EYE_VALUE
Left eye.
|
static int |
LEFT_EYEBROW_UPPER_MIDPOINT_VALUE
Left eyebrow, upper midpoint.
|
static int |
LEFT_OF_LEFT_EYEBROW_VALUE
Left of left eyebrow.
|
static int |
LEFT_OF_RIGHT_EYEBROW_VALUE
Left of right eyebrow.
|
static int |
LOWER_LIP_VALUE
Lower lip.
|
static int |
MIDPOINT_BETWEEN_EYES_VALUE
Midpoint between eyes.
|
static int |
MOUTH_CENTER_VALUE
Mouth center.
|
static int |
MOUTH_LEFT_VALUE
Mouth left.
|
static int |
MOUTH_RIGHT_VALUE
Mouth right.
|
static int |
NOSE_BOTTOM_CENTER_VALUE
Nose, bottom center.
|
static int |
NOSE_BOTTOM_LEFT_VALUE
Nose, bottom left.
|
static int |
NOSE_BOTTOM_RIGHT_VALUE
Nose, bottom right.
|
static int |
NOSE_TIP_VALUE
Nose tip.
|
static int |
RIGHT_EAR_TRAGION_VALUE
Right ear tragion.
|
static int |
RIGHT_EYE_BOTTOM_BOUNDARY_VALUE
Right eye, bottom boundary.
|
static int |
RIGHT_EYE_LEFT_CORNER_VALUE
Right eye, left corner.
|
static int |
RIGHT_EYE_PUPIL_VALUE
Right eye pupil.
|
static int |
RIGHT_EYE_RIGHT_CORNER_VALUE
Right eye, right corner.
|
static int |
RIGHT_EYE_TOP_BOUNDARY_VALUE
Right eye, top boundary.
|
static int |
RIGHT_EYE_VALUE
Right eye.
|
static int |
RIGHT_EYEBROW_UPPER_MIDPOINT_VALUE
Right eyebrow, upper midpoint.
|
static int |
RIGHT_OF_LEFT_EYEBROW_VALUE
Right of left eyebrow.
|
static int |
RIGHT_OF_RIGHT_EYEBROW_VALUE
Right of right eyebrow.
|
static int |
UNKNOWN_LANDMARK_VALUE
Unknown face landmark detected.
|
static int |
UPPER_LIP_VALUE
Upper lip.
|
Modifier and Type | Method and Description |
---|---|
static FaceAnnotation.Landmark.Type |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<FaceAnnotation.Landmark.Type> |
internalGetValueMap() |
static FaceAnnotation.Landmark.Type |
valueOf(Descriptors.EnumValueDescriptor desc) |
static FaceAnnotation.Landmark.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FaceAnnotation.Landmark.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FaceAnnotation.Landmark.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FaceAnnotation.Landmark.Type UNKNOWN_LANDMARK
Unknown face landmark detected. Should not be filled.
UNKNOWN_LANDMARK = 0;
public static final FaceAnnotation.Landmark.Type LEFT_EYE
Left eye.
LEFT_EYE = 1;
public static final FaceAnnotation.Landmark.Type RIGHT_EYE
Right eye.
RIGHT_EYE = 2;
public static final FaceAnnotation.Landmark.Type LEFT_OF_LEFT_EYEBROW
Left of left eyebrow.
LEFT_OF_LEFT_EYEBROW = 3;
public static final FaceAnnotation.Landmark.Type RIGHT_OF_LEFT_EYEBROW
Right of left eyebrow.
RIGHT_OF_LEFT_EYEBROW = 4;
public static final FaceAnnotation.Landmark.Type LEFT_OF_RIGHT_EYEBROW
Left of right eyebrow.
LEFT_OF_RIGHT_EYEBROW = 5;
public static final FaceAnnotation.Landmark.Type RIGHT_OF_RIGHT_EYEBROW
Right of right eyebrow.
RIGHT_OF_RIGHT_EYEBROW = 6;
public static final FaceAnnotation.Landmark.Type MIDPOINT_BETWEEN_EYES
Midpoint between eyes.
MIDPOINT_BETWEEN_EYES = 7;
public static final FaceAnnotation.Landmark.Type NOSE_TIP
Nose tip.
NOSE_TIP = 8;
public static final FaceAnnotation.Landmark.Type UPPER_LIP
Upper lip.
UPPER_LIP = 9;
public static final FaceAnnotation.Landmark.Type LOWER_LIP
Lower lip.
LOWER_LIP = 10;
public static final FaceAnnotation.Landmark.Type MOUTH_LEFT
Mouth left.
MOUTH_LEFT = 11;
public static final FaceAnnotation.Landmark.Type MOUTH_RIGHT
Mouth right.
MOUTH_RIGHT = 12;
public static final FaceAnnotation.Landmark.Type MOUTH_CENTER
Mouth center.
MOUTH_CENTER = 13;
public static final FaceAnnotation.Landmark.Type NOSE_BOTTOM_RIGHT
Nose, bottom right.
NOSE_BOTTOM_RIGHT = 14;
public static final FaceAnnotation.Landmark.Type NOSE_BOTTOM_LEFT
Nose, bottom left.
NOSE_BOTTOM_LEFT = 15;
public static final FaceAnnotation.Landmark.Type NOSE_BOTTOM_CENTER
Nose, bottom center.
NOSE_BOTTOM_CENTER = 16;
public static final FaceAnnotation.Landmark.Type LEFT_EYE_TOP_BOUNDARY
Left eye, top boundary.
LEFT_EYE_TOP_BOUNDARY = 17;
public static final FaceAnnotation.Landmark.Type LEFT_EYE_RIGHT_CORNER
Left eye, right corner.
LEFT_EYE_RIGHT_CORNER = 18;
public static final FaceAnnotation.Landmark.Type LEFT_EYE_BOTTOM_BOUNDARY
Left eye, bottom boundary.
LEFT_EYE_BOTTOM_BOUNDARY = 19;
public static final FaceAnnotation.Landmark.Type LEFT_EYE_LEFT_CORNER
Left eye, left corner.
LEFT_EYE_LEFT_CORNER = 20;
public static final FaceAnnotation.Landmark.Type RIGHT_EYE_TOP_BOUNDARY
Right eye, top boundary.
RIGHT_EYE_TOP_BOUNDARY = 21;
public static final FaceAnnotation.Landmark.Type RIGHT_EYE_RIGHT_CORNER
Right eye, right corner.
RIGHT_EYE_RIGHT_CORNER = 22;
public static final FaceAnnotation.Landmark.Type RIGHT_EYE_BOTTOM_BOUNDARY
Right eye, bottom boundary.
RIGHT_EYE_BOTTOM_BOUNDARY = 23;
public static final FaceAnnotation.Landmark.Type RIGHT_EYE_LEFT_CORNER
Right eye, left corner.
RIGHT_EYE_LEFT_CORNER = 24;
public static final FaceAnnotation.Landmark.Type LEFT_EYEBROW_UPPER_MIDPOINT
Left eyebrow, upper midpoint.
LEFT_EYEBROW_UPPER_MIDPOINT = 25;
public static final FaceAnnotation.Landmark.Type RIGHT_EYEBROW_UPPER_MIDPOINT
Right eyebrow, upper midpoint.
RIGHT_EYEBROW_UPPER_MIDPOINT = 26;
public static final FaceAnnotation.Landmark.Type LEFT_EAR_TRAGION
Left ear tragion.
LEFT_EAR_TRAGION = 27;
public static final FaceAnnotation.Landmark.Type RIGHT_EAR_TRAGION
Right ear tragion.
RIGHT_EAR_TRAGION = 28;
public static final FaceAnnotation.Landmark.Type LEFT_EYE_PUPIL
Left eye pupil.
LEFT_EYE_PUPIL = 29;
public static final FaceAnnotation.Landmark.Type RIGHT_EYE_PUPIL
Right eye pupil.
RIGHT_EYE_PUPIL = 30;
public static final FaceAnnotation.Landmark.Type FOREHEAD_GLABELLA
Forehead glabella.
FOREHEAD_GLABELLA = 31;
public static final FaceAnnotation.Landmark.Type CHIN_GNATHION
Chin gnathion.
CHIN_GNATHION = 32;
public static final FaceAnnotation.Landmark.Type CHIN_LEFT_GONION
Chin left gonion.
CHIN_LEFT_GONION = 33;
public static final FaceAnnotation.Landmark.Type CHIN_RIGHT_GONION
Chin right gonion.
CHIN_RIGHT_GONION = 34;
public static final FaceAnnotation.Landmark.Type UNRECOGNIZED
public static final int UNKNOWN_LANDMARK_VALUE
Unknown face landmark detected. Should not be filled.
UNKNOWN_LANDMARK = 0;
public static final int LEFT_EYE_VALUE
Left eye.
LEFT_EYE = 1;
public static final int RIGHT_EYE_VALUE
Right eye.
RIGHT_EYE = 2;
public static final int LEFT_OF_LEFT_EYEBROW_VALUE
Left of left eyebrow.
LEFT_OF_LEFT_EYEBROW = 3;
public static final int RIGHT_OF_LEFT_EYEBROW_VALUE
Right of left eyebrow.
RIGHT_OF_LEFT_EYEBROW = 4;
public static final int LEFT_OF_RIGHT_EYEBROW_VALUE
Left of right eyebrow.
LEFT_OF_RIGHT_EYEBROW = 5;
public static final int RIGHT_OF_RIGHT_EYEBROW_VALUE
Right of right eyebrow.
RIGHT_OF_RIGHT_EYEBROW = 6;
public static final int MIDPOINT_BETWEEN_EYES_VALUE
Midpoint between eyes.
MIDPOINT_BETWEEN_EYES = 7;
public static final int NOSE_TIP_VALUE
Nose tip.
NOSE_TIP = 8;
public static final int UPPER_LIP_VALUE
Upper lip.
UPPER_LIP = 9;
public static final int LOWER_LIP_VALUE
Lower lip.
LOWER_LIP = 10;
public static final int MOUTH_LEFT_VALUE
Mouth left.
MOUTH_LEFT = 11;
public static final int MOUTH_RIGHT_VALUE
Mouth right.
MOUTH_RIGHT = 12;
public static final int MOUTH_CENTER_VALUE
Mouth center.
MOUTH_CENTER = 13;
public static final int NOSE_BOTTOM_RIGHT_VALUE
Nose, bottom right.
NOSE_BOTTOM_RIGHT = 14;
public static final int NOSE_BOTTOM_LEFT_VALUE
Nose, bottom left.
NOSE_BOTTOM_LEFT = 15;
public static final int NOSE_BOTTOM_CENTER_VALUE
Nose, bottom center.
NOSE_BOTTOM_CENTER = 16;
public static final int LEFT_EYE_TOP_BOUNDARY_VALUE
Left eye, top boundary.
LEFT_EYE_TOP_BOUNDARY = 17;
public static final int LEFT_EYE_RIGHT_CORNER_VALUE
Left eye, right corner.
LEFT_EYE_RIGHT_CORNER = 18;
public static final int LEFT_EYE_BOTTOM_BOUNDARY_VALUE
Left eye, bottom boundary.
LEFT_EYE_BOTTOM_BOUNDARY = 19;
public static final int LEFT_EYE_LEFT_CORNER_VALUE
Left eye, left corner.
LEFT_EYE_LEFT_CORNER = 20;
public static final int RIGHT_EYE_TOP_BOUNDARY_VALUE
Right eye, top boundary.
RIGHT_EYE_TOP_BOUNDARY = 21;
public static final int RIGHT_EYE_RIGHT_CORNER_VALUE
Right eye, right corner.
RIGHT_EYE_RIGHT_CORNER = 22;
public static final int RIGHT_EYE_BOTTOM_BOUNDARY_VALUE
Right eye, bottom boundary.
RIGHT_EYE_BOTTOM_BOUNDARY = 23;
public static final int RIGHT_EYE_LEFT_CORNER_VALUE
Right eye, left corner.
RIGHT_EYE_LEFT_CORNER = 24;
public static final int LEFT_EYEBROW_UPPER_MIDPOINT_VALUE
Left eyebrow, upper midpoint.
LEFT_EYEBROW_UPPER_MIDPOINT = 25;
public static final int RIGHT_EYEBROW_UPPER_MIDPOINT_VALUE
Right eyebrow, upper midpoint.
RIGHT_EYEBROW_UPPER_MIDPOINT = 26;
public static final int LEFT_EAR_TRAGION_VALUE
Left ear tragion.
LEFT_EAR_TRAGION = 27;
public static final int RIGHT_EAR_TRAGION_VALUE
Right ear tragion.
RIGHT_EAR_TRAGION = 28;
public static final int LEFT_EYE_PUPIL_VALUE
Left eye pupil.
LEFT_EYE_PUPIL = 29;
public static final int RIGHT_EYE_PUPIL_VALUE
Right eye pupil.
RIGHT_EYE_PUPIL = 30;
public static final int FOREHEAD_GLABELLA_VALUE
Forehead glabella.
FOREHEAD_GLABELLA = 31;
public static final int CHIN_GNATHION_VALUE
Chin gnathion.
CHIN_GNATHION = 32;
public static final int CHIN_LEFT_GONION_VALUE
Chin left gonion.
CHIN_LEFT_GONION = 33;
public static final int CHIN_RIGHT_GONION_VALUE
Chin right gonion.
CHIN_RIGHT_GONION = 34;
public static FaceAnnotation.Landmark.Type[] values()
for (FaceAnnotation.Landmark.Type c : FaceAnnotation.Landmark.Type.values()) System.out.println(c);
public static FaceAnnotation.Landmark.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static FaceAnnotation.Landmark.Type valueOf(int value)
forNumber(int)
instead.public static FaceAnnotation.Landmark.Type forNumber(int value)
public static Internal.EnumLiteMap<FaceAnnotation.Landmark.Type> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static FaceAnnotation.Landmark.Type valueOf(Descriptors.EnumValueDescriptor desc)