public final class GoogleCloudVisionV1p3beta1FaceAnnotation
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Vision API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
GoogleCloudVisionV1p3beta1FaceAnnotation() |
Modifier and Type | Method and Description |
---|---|
GoogleCloudVisionV1p3beta1FaceAnnotation |
clone() |
java.lang.String |
getAngerLikelihood()
Anger likelihood.
|
java.lang.String |
getBlurredLikelihood()
Blurred likelihood.
|
GoogleCloudVisionV1p3beta1BoundingPoly |
getBoundingPoly()
The bounding polygon around the face.
|
java.lang.Float |
getDetectionConfidence()
Detection confidence.
|
GoogleCloudVisionV1p3beta1BoundingPoly |
getFdBoundingPoly()
The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only
the skin part of the face.
|
java.lang.String |
getHeadwearLikelihood()
Headwear likelihood.
|
java.lang.String |
getJoyLikelihood()
Joy likelihood.
|
java.lang.Float |
getLandmarkingConfidence()
Face landmarking confidence.
|
java.util.List<GoogleCloudVisionV1p3beta1FaceAnnotationLandmark> |
getLandmarks()
Detected face landmarks.
|
java.lang.Float |
getPanAngle()
Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to
the vertical plane perpendicular to the image.
|
java.lang.Float |
getRollAngle()
Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face
relative to the image vertical about the axis perpendicular to the face.
|
java.lang.String |
getSorrowLikelihood()
Sorrow likelihood.
|
java.lang.String |
getSurpriseLikelihood()
Surprise likelihood.
|
java.lang.Float |
getTiltAngle()
Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to
the image's horizontal plane.
|
java.lang.String |
getUnderExposedLikelihood()
Under-exposed likelihood.
|
GoogleCloudVisionV1p3beta1FaceAnnotation |
set(java.lang.String fieldName,
java.lang.Object value) |
GoogleCloudVisionV1p3beta1FaceAnnotation |
setAngerLikelihood(java.lang.String angerLikelihood)
Anger likelihood.
|
GoogleCloudVisionV1p3beta1FaceAnnotation |
setBlurredLikelihood(java.lang.String blurredLikelihood)
Blurred likelihood.
|
GoogleCloudVisionV1p3beta1FaceAnnotation |
setBoundingPoly(GoogleCloudVisionV1p3beta1BoundingPoly boundingPoly)
The bounding polygon around the face.
|
GoogleCloudVisionV1p3beta1FaceAnnotation |
setDetectionConfidence(java.lang.Float detectionConfidence)
Detection confidence.
|
GoogleCloudVisionV1p3beta1FaceAnnotation |
setFdBoundingPoly(GoogleCloudVisionV1p3beta1BoundingPoly fdBoundingPoly)
The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only
the skin part of the face.
|
GoogleCloudVisionV1p3beta1FaceAnnotation |
setHeadwearLikelihood(java.lang.String headwearLikelihood)
Headwear likelihood.
|
GoogleCloudVisionV1p3beta1FaceAnnotation |
setJoyLikelihood(java.lang.String joyLikelihood)
Joy likelihood.
|
GoogleCloudVisionV1p3beta1FaceAnnotation |
setLandmarkingConfidence(java.lang.Float landmarkingConfidence)
Face landmarking confidence.
|
GoogleCloudVisionV1p3beta1FaceAnnotation |
setLandmarks(java.util.List<GoogleCloudVisionV1p3beta1FaceAnnotationLandmark> landmarks)
Detected face landmarks.
|
GoogleCloudVisionV1p3beta1FaceAnnotation |
setPanAngle(java.lang.Float panAngle)
Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to
the vertical plane perpendicular to the image.
|
GoogleCloudVisionV1p3beta1FaceAnnotation |
setRollAngle(java.lang.Float rollAngle)
Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face
relative to the image vertical about the axis perpendicular to the face.
|
GoogleCloudVisionV1p3beta1FaceAnnotation |
setSorrowLikelihood(java.lang.String sorrowLikelihood)
Sorrow likelihood.
|
GoogleCloudVisionV1p3beta1FaceAnnotation |
setSurpriseLikelihood(java.lang.String surpriseLikelihood)
Surprise likelihood.
|
GoogleCloudVisionV1p3beta1FaceAnnotation |
setTiltAngle(java.lang.Float tiltAngle)
Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to
the image's horizontal plane.
|
GoogleCloudVisionV1p3beta1FaceAnnotation |
setUnderExposedLikelihood(java.lang.String underExposedLikelihood)
Under-exposed likelihood.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public GoogleCloudVisionV1p3beta1FaceAnnotation()
public java.lang.String getAngerLikelihood()
null
for nonepublic GoogleCloudVisionV1p3beta1FaceAnnotation setAngerLikelihood(java.lang.String angerLikelihood)
angerLikelihood
- angerLikelihood or null
for nonepublic java.lang.String getBlurredLikelihood()
null
for nonepublic GoogleCloudVisionV1p3beta1FaceAnnotation setBlurredLikelihood(java.lang.String blurredLikelihood)
blurredLikelihood
- blurredLikelihood or null
for nonepublic GoogleCloudVisionV1p3beta1BoundingPoly getBoundingPoly()
null
for nonepublic GoogleCloudVisionV1p3beta1FaceAnnotation setBoundingPoly(GoogleCloudVisionV1p3beta1BoundingPoly boundingPoly)
boundingPoly
- boundingPoly or null
for nonepublic java.lang.Float getDetectionConfidence()
null
for nonepublic GoogleCloudVisionV1p3beta1FaceAnnotation setDetectionConfidence(java.lang.Float detectionConfidence)
detectionConfidence
- detectionConfidence or null
for nonepublic GoogleCloudVisionV1p3beta1BoundingPoly getFdBoundingPoly()
null
for nonepublic GoogleCloudVisionV1p3beta1FaceAnnotation setFdBoundingPoly(GoogleCloudVisionV1p3beta1BoundingPoly fdBoundingPoly)
fdBoundingPoly
- fdBoundingPoly or null
for nonepublic java.lang.String getHeadwearLikelihood()
null
for nonepublic GoogleCloudVisionV1p3beta1FaceAnnotation setHeadwearLikelihood(java.lang.String headwearLikelihood)
headwearLikelihood
- headwearLikelihood or null
for nonepublic java.lang.String getJoyLikelihood()
null
for nonepublic GoogleCloudVisionV1p3beta1FaceAnnotation setJoyLikelihood(java.lang.String joyLikelihood)
joyLikelihood
- joyLikelihood or null
for nonepublic java.lang.Float getLandmarkingConfidence()
null
for nonepublic GoogleCloudVisionV1p3beta1FaceAnnotation setLandmarkingConfidence(java.lang.Float landmarkingConfidence)
landmarkingConfidence
- landmarkingConfidence or null
for nonepublic java.util.List<GoogleCloudVisionV1p3beta1FaceAnnotationLandmark> getLandmarks()
null
for nonepublic GoogleCloudVisionV1p3beta1FaceAnnotation setLandmarks(java.util.List<GoogleCloudVisionV1p3beta1FaceAnnotationLandmark> landmarks)
landmarks
- landmarks or null
for nonepublic java.lang.Float getPanAngle()
null
for nonepublic GoogleCloudVisionV1p3beta1FaceAnnotation setPanAngle(java.lang.Float panAngle)
panAngle
- panAngle or null
for nonepublic java.lang.Float getRollAngle()
null
for nonepublic GoogleCloudVisionV1p3beta1FaceAnnotation setRollAngle(java.lang.Float rollAngle)
rollAngle
- rollAngle or null
for nonepublic java.lang.String getSorrowLikelihood()
null
for nonepublic GoogleCloudVisionV1p3beta1FaceAnnotation setSorrowLikelihood(java.lang.String sorrowLikelihood)
sorrowLikelihood
- sorrowLikelihood or null
for nonepublic java.lang.String getSurpriseLikelihood()
null
for nonepublic GoogleCloudVisionV1p3beta1FaceAnnotation setSurpriseLikelihood(java.lang.String surpriseLikelihood)
surpriseLikelihood
- surpriseLikelihood or null
for nonepublic java.lang.Float getTiltAngle()
null
for nonepublic GoogleCloudVisionV1p3beta1FaceAnnotation setTiltAngle(java.lang.Float tiltAngle)
tiltAngle
- tiltAngle or null
for nonepublic java.lang.String getUnderExposedLikelihood()
null
for nonepublic GoogleCloudVisionV1p3beta1FaceAnnotation setUnderExposedLikelihood(java.lang.String underExposedLikelihood)
underExposedLikelihood
- underExposedLikelihood or null
for nonepublic GoogleCloudVisionV1p3beta1FaceAnnotation set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public GoogleCloudVisionV1p3beta1FaceAnnotation clone()
clone
in class com.google.api.client.json.GenericJson