Class: Google::Cloud::Vision::V1::ProductSearchResults::GroupedResult

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vision/v1/product_search.rb

Overview

Information about the products similar to a single product in a query image.

Instance Attribute Summary collapse

Instance Attribute Details

#bounding_poly::Google::Cloud::Vision::V1::BoundingPoly

Returns The bounding polygon around the product detected in the query image.

Returns:



127
128
129
130
# File 'proto_docs/google/cloud/vision/v1/product_search.rb', line 127

class GroupedResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#object_annotations::Array<::Google::Cloud::Vision::V1::ProductSearchResults::ObjectAnnotation>

Returns List of generic predictions for the object in the bounding box.

Returns:



127
128
129
130
# File 'proto_docs/google/cloud/vision/v1/product_search.rb', line 127

class GroupedResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#results::Array<::Google::Cloud::Vision::V1::ProductSearchResults::Result>

Returns List of results, one for each product match.

Returns:



127
128
129
130
# File 'proto_docs/google/cloud/vision/v1/product_search.rb', line 127

class GroupedResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end