Class AnnotateImageResponse (3.4.5)

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

Response to an image annotation request.

Attributes

NameDescription
face_annotations MutableSequence[google.cloud.vision_v1.types.FaceAnnotation]
If present, face detection has completed successfully.
landmark_annotations MutableSequence[google.cloud.vision_v1.types.EntityAnnotation]
If present, landmark detection has completed successfully.
logo_annotations MutableSequence[google.cloud.vision_v1.types.EntityAnnotation]
If present, logo detection has completed successfully.
label_annotations MutableSequence[google.cloud.vision_v1.types.EntityAnnotation]
If present, label detection has completed successfully.
localized_object_annotations MutableSequence[google.cloud.vision_v1.types.LocalizedObjectAnnotation]
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
text_annotations MutableSequence[google.cloud.vision_v1.types.EntityAnnotation]
If present, text (OCR) detection has completed successfully.
full_text_annotation google.cloud.vision_v1.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_v1.types.SafeSearchAnnotation
If present, safe-search annotation has completed successfully.
image_properties_annotation google.cloud.vision_v1.types.ImageProperties
If present, image properties were extracted successfully.
crop_hints_annotation google.cloud.vision_v1.types.CropHintsAnnotation
If present, crop hints have completed successfully.
web_detection google.cloud.vision_v1.types.WebDetection
If present, web detection has completed successfully.
product_search_results google.cloud.vision_v1.types.ProductSearchResults
If present, product search 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_v1.types.ImageAnnotationContext
If present, contextual information is needed to understand where this image comes from.