Class: Google::Cloud::Vision::V1p4beta1::ProductSearchResults::GroupedResult

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

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

Returns:



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

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

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

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

Returns:



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

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

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

Returns List of results, one for each product match.

Returns:



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

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