Class AnnotateImageResponse (3.1.4)

AnnotateImageResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Response to an image annotation request.

Attributes

NameDescription
face_annotations Sequence[google.cloud.vision_v1p2beta1.types.FaceAnnotation]
If present, face detection has completed successfully.
landmark_annotations Sequence[google.cloud.vision_v1p2beta1.types.EntityAnnotation]
If present, landmark detection has completed successfully.
logo_annotations Sequence[google.cloud.vision_v1p2beta1.types.EntityAnnotation]
If present, logo detection has completed successfully.
label_annotations Sequence[google.cloud.vision_v1p2beta1.types.EntityAnnotation]
If present, label detection has completed successfully.
text_annotations Sequence[google.cloud.vision_v1p2beta1.types.EntityAnnotation]
If present, text (OCR) detection has completed successfully.
full_text_annotation google.cloud.vision_v1p2beta1.types.TextAnnotation
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
safe_search_annotation google.cloud.vision_v1p2beta1.types.SafeSearchAnnotation
If present, safe-search annotation has completed successfully.
image_properties_annotation google.cloud.vision_v1p2beta1.types.ImageProperties
If present, image properties were extracted successfully.
crop_hints_annotation google.cloud.vision_v1p2beta1.types.CropHintsAnnotation
If present, crop hints have completed successfully.
web_detection google.cloud.vision_v1p2beta1.types.WebDetection
If present, web detection has completed successfully.
error google.rpc.status_pb2.Status
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when error is set.
context google.cloud.vision_v1p2beta1.types.ImageAnnotationContext
If present, contextual information is needed to understand where this image comes from.