FaceAnnotation(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A face annotation object contains the results of face detection.
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
Detected face landmarks.
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. Range [-180,180].
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].
Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].
Detection confidence. Range [0, 1].
Face landmarking confidence. Range [0, 1].
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.
Inheritancebuiltins.object > proto.message.Message > FaceAnnotation
Landmark(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A face-specific landmark (for example, a face feature).