Interface FaceAnnotationOrBuilder (3.1.0)

Stay organized with collections Save and categorize content based on your preferences.
public interface FaceAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAngerLikelihood()

public abstract Likelihood getAngerLikelihood()

Anger likelihood.

.google.cloud.vision.v1p1beta1.Likelihood anger_likelihood = 11;

Returns
TypeDescription
Likelihood

The angerLikelihood.

getAngerLikelihoodValue()

public abstract int getAngerLikelihoodValue()

Anger likelihood.

.google.cloud.vision.v1p1beta1.Likelihood anger_likelihood = 11;

Returns
TypeDescription
int

The enum numeric value on the wire for angerLikelihood.

getBlurredLikelihood()

public abstract Likelihood getBlurredLikelihood()

Blurred likelihood.

.google.cloud.vision.v1p1beta1.Likelihood blurred_likelihood = 14;

Returns
TypeDescription
Likelihood

The blurredLikelihood.

getBlurredLikelihoodValue()

public abstract int getBlurredLikelihoodValue()

Blurred likelihood.

.google.cloud.vision.v1p1beta1.Likelihood blurred_likelihood = 14;

Returns
TypeDescription
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, as returned in ImageParams. 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.v1p1beta1.BoundingPoly bounding_poly = 1;

Returns
TypeDescription
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, as returned in ImageParams. 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.v1p1beta1.BoundingPoly bounding_poly = 1;

Returns
TypeDescription
BoundingPolyOrBuilder

getDetectionConfidence()

public abstract float getDetectionConfidence()

Detection confidence. Range [0, 1].

float detection_confidence = 7;

Returns
TypeDescription
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.v1p1beta1.BoundingPoly fd_bounding_poly = 2;

Returns
TypeDescription
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.v1p1beta1.BoundingPoly fd_bounding_poly = 2;

Returns
TypeDescription
BoundingPolyOrBuilder

getHeadwearLikelihood()

public abstract Likelihood getHeadwearLikelihood()

Headwear likelihood.

.google.cloud.vision.v1p1beta1.Likelihood headwear_likelihood = 15;

Returns
TypeDescription
Likelihood

The headwearLikelihood.

getHeadwearLikelihoodValue()

public abstract int getHeadwearLikelihoodValue()

Headwear likelihood.

.google.cloud.vision.v1p1beta1.Likelihood headwear_likelihood = 15;

Returns
TypeDescription
int

The enum numeric value on the wire for headwearLikelihood.

getJoyLikelihood()

public abstract Likelihood getJoyLikelihood()

Joy likelihood.

.google.cloud.vision.v1p1beta1.Likelihood joy_likelihood = 9;

Returns
TypeDescription
Likelihood

The joyLikelihood.

getJoyLikelihoodValue()

public abstract int getJoyLikelihoodValue()

Joy likelihood.

.google.cloud.vision.v1p1beta1.Likelihood joy_likelihood = 9;

Returns
TypeDescription