Class: Google::Cloud::Vision::V1::AnnotateImageResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb

Overview

Response to an image annotation request.

Instance Attribute Summary collapse

Instance Attribute Details

#contextGoogle::Cloud::Vision::V1::ImageAnnotationContext

Returns If present, contextual information is needed to understand where this image comes from.

Returns:



568
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 568

class AnnotateImageResponse; end

#crop_hints_annotationGoogle::Cloud::Vision::V1::CropHintsAnnotation

Returns If present, crop hints have completed successfully.

Returns:



568
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 568

class AnnotateImageResponse; end

#errorGoogle::Rpc::Status

Returns 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.

Returns:

  • (Google::Rpc::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.



568
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 568

class AnnotateImageResponse; end

#face_annotationsArray<Google::Cloud::Vision::V1::FaceAnnotation>

Returns If present, face detection has completed successfully.

Returns:



568
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 568

class AnnotateImageResponse; end

#full_text_annotationGoogle::Cloud::Vision::V1::TextAnnotation

Returns If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.

Returns:

  • (Google::Cloud::Vision::V1::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.



568
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 568

class AnnotateImageResponse; end

#image_properties_annotationGoogle::Cloud::Vision::V1::ImageProperties

Returns If present, image properties were extracted successfully.

Returns:



568
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 568

class AnnotateImageResponse; end

#label_annotationsArray<Google::Cloud::Vision::V1::EntityAnnotation>

Returns If present, label detection has completed successfully.

Returns:



568
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 568

class AnnotateImageResponse; end

#landmark_annotationsArray<Google::Cloud::Vision::V1::EntityAnnotation>

Returns If present, landmark detection has completed successfully.

Returns:



568
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 568

class AnnotateImageResponse; end

#logo_annotationsArray<Google::Cloud::Vision::V1::EntityAnnotation>

Returns If present, logo detection has completed successfully.

Returns:



568
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 568

class AnnotateImageResponse; end

#safe_search_annotationGoogle::Cloud::Vision::V1::SafeSearchAnnotation

Returns If present, safe-search annotation has completed successfully.

Returns:



568
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 568

class AnnotateImageResponse; end

#text_annotationsArray<Google::Cloud::Vision::V1::EntityAnnotation>

Returns If present, text (OCR) detection has completed successfully.

Returns:



568
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 568

class AnnotateImageResponse; end

#web_detectionGoogle::Cloud::Vision::V1::WebDetection

Returns If present, web detection has completed successfully.

Returns:



568
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 568

class AnnotateImageResponse; end