Reference documentation and code samples for the Cloud Vision V1p3beta1 API class Google::Cloud::Vision::V1p3beta1::ProductSearchResults::GroupedResult.
Information about the products similar to a single product in a query image.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#bounding_poly
def bounding_poly() -> ::Google::Cloud::Vision::V1p3beta1::BoundingPoly
Returns
- (::Google::Cloud::Vision::V1p3beta1::BoundingPoly) — The bounding polygon around the product detected in the query image.
#bounding_poly=
def bounding_poly=(value) -> ::Google::Cloud::Vision::V1p3beta1::BoundingPoly
Parameter
- value (::Google::Cloud::Vision::V1p3beta1::BoundingPoly) — The bounding polygon around the product detected in the query image.
Returns
- (::Google::Cloud::Vision::V1p3beta1::BoundingPoly) — The bounding polygon around the product detected in the query image.
#object_annotations
def object_annotations() -> ::Array<::Google::Cloud::Vision::V1p3beta1::ProductSearchResults::ObjectAnnotation>
Returns
- (::Array<::Google::Cloud::Vision::V1p3beta1::ProductSearchResults::ObjectAnnotation>) — List of generic predictions for the object in the bounding box.
#object_annotations=
def object_annotations=(value) -> ::Array<::Google::Cloud::Vision::V1p3beta1::ProductSearchResults::ObjectAnnotation>
Parameter
- value (::Array<::Google::Cloud::Vision::V1p3beta1::ProductSearchResults::ObjectAnnotation>) — List of generic predictions for the object in the bounding box.
Returns
- (::Array<::Google::Cloud::Vision::V1p3beta1::ProductSearchResults::ObjectAnnotation>) — List of generic predictions for the object in the bounding box.
#results
def results() -> ::Array<::Google::Cloud::Vision::V1p3beta1::ProductSearchResults::Result>
Returns
- (::Array<::Google::Cloud::Vision::V1p3beta1::ProductSearchResults::Result>) — List of results, one for each product match.
#results=
def results=(value) -> ::Array<::Google::Cloud::Vision::V1p3beta1::ProductSearchResults::Result>
Parameter
- value (::Array<::Google::Cloud::Vision::V1p3beta1::ProductSearchResults::Result>) — List of results, one for each product match.
Returns
- (::Array<::Google::Cloud::Vision::V1p3beta1::ProductSearchResults::Result>) — List of results, one for each product match.