Class: Google::Cloud::Vision::V1p3beta1::ProductSearchResults::GroupedResult

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vision/v1p3beta1/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::V1p3beta1::BoundingPoly

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

Returns:



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

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

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

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

Returns:



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

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

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

Returns List of results, one for each product match.

Returns:



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

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