Class AnnotateImageResponse

Response to an image annotation request.

Attributes
NameDescription
Sequence[google.cloud.vision_v1.types.FaceAnnotation]face_annotations
If present, face detection has completed successfully.
Sequence[google.cloud.vision_v1.types.EntityAnnotation]landmark_annotations
If present, landmark detection has completed successfully.
Sequence[google.cloud.vision_v1.types.EntityAnnotation]logo_annotations
If present, logo detection has completed successfully.
Sequence[google.cloud.vision_v1.types.EntityAnnotation]label_annotations
If present, label detection has completed successfully.
Sequence[google.cloud.vision_v1.types.LocalizedObjectAnnotation]localized_object_annotations
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
Sequence[google.cloud.vision_v1.types.EntityAnnotation]text_annotations
If present, text (OCR) detection has completed successfully.
google.cloud.vision_v1.types.TextAnnotationfull_text_annotation
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
google.cloud.vision_v1.types.SafeSearchAnnotationsafe_search_annotation
If present, safe-search annotation has completed successfully.
google.cloud.vision_v1.types.ImagePropertiesimage_properties_annotation
If present, image properties were extracted successfully.
google.cloud.vision_v1.types.CropHintsAnnotationcrop_hints_annotation
If present, crop hints have completed successfully.
google.cloud.vision_v1.types.WebDetectionweb_detection
If present, web detection has completed successfully.
google.cloud.vision_v1.types.ProductSearchResultsproduct_search_results
If present, product search has completed successfully.
google.rpc.status_pb2.Statuserror
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.
google.cloud.vision_v1.types.ImageAnnotationContextcontext
If present, contextual information is needed to understand where this image comes from.

Inheritance

builtins.object > proto.message.Message > AnnotateImageResponse