Class: Google::Cloud::Vision::V1::AnnotateImageResponse
- Inherits:
-
Object
- Object
- Google::Cloud::Vision::V1::AnnotateImageResponse
- 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
-
#error ⇒ Google::Rpc::Status
If set, represents the error message for the operation.
-
#face_annotations ⇒ Array<Google::Cloud::Vision::V1::FaceAnnotation>
If present, face detection completed successfully.
-
#image_properties_annotation ⇒ Google::Cloud::Vision::V1::ImageProperties
If present, image properties were extracted successfully.
-
#label_annotations ⇒ Array<Google::Cloud::Vision::V1::EntityAnnotation>
If present, label detection completed successfully.
-
#landmark_annotations ⇒ Array<Google::Cloud::Vision::V1::EntityAnnotation>
If present, landmark detection completed successfully.
-
#logo_annotations ⇒ Array<Google::Cloud::Vision::V1::EntityAnnotation>
If present, logo detection completed successfully.
-
#safe_search_annotation ⇒ Google::Cloud::Vision::V1::SafeSearchAnnotation
If present, safe-search annotation completed successfully.
-
#text_annotations ⇒ Array<Google::Cloud::Vision::V1::EntityAnnotation>
If present, text (OCR) detection completed successfully.
Instance Attribute Details
#error ⇒ Google::Rpc::Status
Returns If set, represents the error message for the operation.
Note that filled-in mage annotations are guaranteed to be
correct, even when error
is non-empty.
443 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 443 class AnnotateImageResponse; end |
#face_annotations ⇒ Array<Google::Cloud::Vision::V1::FaceAnnotation>
Returns If present, face detection completed successfully.
443 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 443 class AnnotateImageResponse; end |
#image_properties_annotation ⇒ Google::Cloud::Vision::V1::ImageProperties
Returns If present, image properties were extracted successfully.
443 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 443 class AnnotateImageResponse; end |
#label_annotations ⇒ Array<Google::Cloud::Vision::V1::EntityAnnotation>
Returns If present, label detection completed successfully.
443 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 443 class AnnotateImageResponse; end |
#landmark_annotations ⇒ Array<Google::Cloud::Vision::V1::EntityAnnotation>
Returns If present, landmark detection completed successfully.
443 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 443 class AnnotateImageResponse; end |
#logo_annotations ⇒ Array<Google::Cloud::Vision::V1::EntityAnnotation>
Returns If present, logo detection completed successfully.
443 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 443 class AnnotateImageResponse; end |
#safe_search_annotation ⇒ Google::Cloud::Vision::V1::SafeSearchAnnotation
Returns If present, safe-search annotation completed successfully.
443 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 443 class AnnotateImageResponse; end |
#text_annotations ⇒ Array<Google::Cloud::Vision::V1::EntityAnnotation>
Returns If present, text (OCR) detection completed successfully.
443 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 443 class AnnotateImageResponse; end |