public interface FaceAnnotationOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAngerLikelihood()
public abstract Likelihood getAngerLikelihood()
Anger likelihood.
.google.cloud.vision.v1p4beta1.Likelihood anger_likelihood = 11;
Type | Description |
Likelihood | The angerLikelihood. |
getAngerLikelihoodValue()
public abstract int getAngerLikelihoodValue()
Anger likelihood.
.google.cloud.vision.v1p4beta1.Likelihood anger_likelihood = 11;
Type | Description |
int | The enum numeric value on the wire for angerLikelihood. |
getBlurredLikelihood()
public abstract Likelihood getBlurredLikelihood()
Blurred likelihood.
.google.cloud.vision.v1p4beta1.Likelihood blurred_likelihood = 14;
Type | Description |
Likelihood | The blurredLikelihood. |
getBlurredLikelihoodValue()
public abstract int getBlurredLikelihoodValue()
Blurred likelihood.
.google.cloud.vision.v1p4beta1.Likelihood blurred_likelihood = 14;
Type | Description |
int | The enum numeric value on the wire for blurredLikelihood. |
getBoundingPoly()
public abstract BoundingPoly getBoundingPoly()
The bounding polygon around the face. The coordinates of the bounding box
are in the original image's scale.
The bounding box is computed to "frame" the face in accordance with human
expectations. It is based on the landmarker results.
Note that one or more x and/or y coordinates may not be generated in the
BoundingPoly
(the polygon will be unbounded) if only a partial face
appears in the image to be annotated.
.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 1;
Type | Description |
BoundingPoly | The boundingPoly. |
getBoundingPolyOrBuilder()
public abstract BoundingPolyOrBuilder getBoundingPolyOrBuilder()
The bounding polygon around the face. The coordinates of the bounding box
are in the original image's scale.
The bounding box is computed to "frame" the face in accordance with human
expectations. It is based on the landmarker results.
Note that one or more x and/or y coordinates may not be generated in the
BoundingPoly
(the polygon will be unbounded) if only a partial face
appears in the image to be annotated.
.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 1;
Type | Description |
BoundingPolyOrBuilder |
getDetectionConfidence()
public abstract float getDetectionConfidence()
Detection confidence. Range [0, 1].
float detection_confidence = 7;
Type | Description |
float | The detectionConfidence. |
getFdBoundingPoly()
public abstract BoundingPoly getFdBoundingPoly()
The fd_bounding_poly
bounding polygon is tighter than the
boundingPoly
, and encloses only the skin part of the face. Typically, it
is used to eliminate the face from any image analysis that detects the
"amount of skin" visible in an image. It is not based on the
landmarker results, only on the initial face detection, hence
the <code>fd</code> (face detection) prefix.
.google.cloud.vision.v1p4beta1.BoundingPoly fd_bounding_poly = 2;
Type | Description |
BoundingPoly | The fdBoundingPoly. |
getFdBoundingPolyOrBuilder()
public abstract BoundingPolyOrBuilder getFdBoundingPolyOrBuilder()
The fd_bounding_poly
bounding polygon is tighter than the
boundingPoly
, and encloses only the skin part of the face. Typically, it
is used to eliminate the face from any image analysis that detects the
"amount of skin" visible in an image. It is not based on the
landmarker results, only on the initial face detection, hence
the <code>fd</code> (face detection) prefix.
.google.cloud.vision.v1p4beta1.BoundingPoly fd_bounding_poly = 2;
Type | Description |
BoundingPolyOrBuilder |
getHeadwearLikelihood()
public abstract Likelihood getHeadwearLikelihood()
Headwear likelihood.
.google.cloud.vision.v1p4beta1.Likelihood headwear_likelihood = 15;
Type | Description |
Likelihood | The headwearLikelihood. |
getHeadwearLikelihoodValue()
public abstract int getHeadwearLikelihoodValue()
Headwear likelihood.
.google.cloud.vision.v1p4beta1.Likelihood headwear_likelihood = 15;
Type | Description |
int | The enum numeric value on the wire for headwearLikelihood. |
getJoyLikelihood()
public abstract Likelihood getJoyLikelihood()
Joy likelihood.
.google.cloud.vision.v1p4beta1.Likelihood joy_likelihood = 9;
Type | Description |
Likelihood | The joyLikelihood. |
getJoyLikelihoodValue()
public abstract int getJoyLikelihoodValue()
Joy likelihood.
.google.cloud.vision.v1p4beta1.Likelihood joy_likelihood = 9;
Type | Description |
int | The enum numeric value on the wire for joyLikelihood. |
getLandmarkingConfidence()
public abstract float getLandmarkingConfidence()
Face landmarking confidence. Range [0, 1].
float landmarking_confidence = 8;
Type | Description |
float | The landmarkingConfidence. |
getLandmarks(int index)
public abstract FaceAnnotation.Landmark getLandmarks(int index)
Detected face landmarks.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation.Landmark landmarks = 3;
Name | Description |
index | int |
Type | Description |
FaceAnnotation.Landmark |
getLandmarksCount()
public abstract int getLandmarksCount()
Detected face landmarks.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation.Landmark landmarks = 3;
Type | Description |
int |
getLandmarksList()
public abstract List<FaceAnnotation.Landmark> getLandmarksList()
Detected face landmarks.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation.Landmark landmarks = 3;
Type | Description |
List<Landmark> |
getLandmarksOrBuilder(int index)
public abstract FaceAnnotation.LandmarkOrBuilder getLandmarksOrBuilder(int index)
Detected face landmarks.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation.Landmark landmarks = 3;
Name | Description |
index | int |
Type | Description |
FaceAnnotation.LandmarkOrBuilder |
getLandmarksOrBuilderList()
public abstract List<? extends FaceAnnotation.LandmarkOrBuilder> getLandmarksOrBuilderList()
Detected face landmarks.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation.Landmark landmarks = 3;
Type | Description |
List<? extends com.google.cloud.vision.v1p4beta1.FaceAnnotation.LandmarkOrBuilder> |
getPanAngle()
public abstract float getPanAngle()
Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].
float pan_angle = 5;
Type | Description |
float | The panAngle. |
getRecognitionResult(int index)
public abstract FaceRecognitionResult getRecognitionResult(int index)
Additional recognition information. Only computed if image_context.face_recognition_params is provided, and a match is found to a Celebrity in the input CelebritySet. This field is sorted in order of decreasing confidence values.
repeated .google.cloud.vision.v1p4beta1.FaceRecognitionResult recognition_result = 16;
Name | Description |
index | int |
Type | Description |
FaceRecognitionResult |
getRecognitionResultCount()
public abstract int getRecognitionResultCount()
Additional recognition information. Only computed if image_context.face_recognition_params is provided, and a match is found to a Celebrity in the input CelebritySet. This field is sorted in order of decreasing confidence values.
repeated .google.cloud.vision.v1p4beta1.FaceRecognitionResult recognition_result = 16;
Type | Description |
int |
getRecognitionResultList()
public abstract List<FaceRecognitionResult> getRecognitionResultList()
Additional recognition information. Only computed if image_context.face_recognition_params is provided, and a match is found to a Celebrity in the input CelebritySet. This field is sorted in order of decreasing confidence values.
repeated .google.cloud.vision.v1p4beta1.FaceRecognitionResult recognition_result = 16;
Type | Description |
List<FaceRecognitionResult> |
getRecognitionResultOrBuilder(int index)
public abstract FaceRecognit