FaceAnnotation(mapping=None, *, ignore_unknown_fields=False, **kwargs)A face annotation object contains the results of face detection.
| Attributes | |
|---|---|
| Name | Description | 
| bounding_poly | google.cloud.vision_v1p2beta1.types.BoundingPolyThe 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 theBoundingPoly(the polygon will be unbounded) if only a partial face
   appears in the image to be annotated. | 
| fd_bounding_poly | google.cloud.vision_v1p2beta1.types.BoundingPolyThe fd_bounding_polybounding polygon is tighter than
   theboundingPoly, 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 fd (face detection)
   prefix. | 
| landmarks | MutableSequence[google.cloud.vision_v1p2beta1.types.FaceAnnotation.Landmark]Detected face landmarks. | 
| roll_angle | floatRoll 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. Range [-180,180]. | 
| pan_angle | floatYaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180]. | 
| tilt_angle | floatPitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180]. | 
| detection_confidence | floatDetection confidence. Range [0, 1]. | 
| landmarking_confidence | floatFace landmarking confidence. Range [0, 1]. | 
| joy_likelihood | google.cloud.vision_v1p2beta1.types.LikelihoodJoy likelihood. | 
| sorrow_likelihood | google.cloud.vision_v1p2beta1.types.LikelihoodSorrow likelihood. | 
| anger_likelihood | google.cloud.vision_v1p2beta1.types.LikelihoodAnger likelihood. | 
| surprise_likelihood | google.cloud.vision_v1p2beta1.types.LikelihoodSurprise likelihood. | 
| under_exposed_likelihood | google.cloud.vision_v1p2beta1.types.LikelihoodUnder-exposed likelihood. | 
| blurred_likelihood | google.cloud.vision_v1p2beta1.types.LikelihoodBlurred likelihood. | 
| headwear_likelihood | google.cloud.vision_v1p2beta1.types.LikelihoodHeadwear likelihood. | 
Classes
Landmark
Landmark(mapping=None, *, ignore_unknown_fields=False, **kwargs)A face-specific landmark (for example, a face feature).