Reference documentation and code samples for the Cloud Vision V1 Client class GroupedResult.
Information about the products similar to a single product in a query image.
Generated from protobuf message google.cloud.vision.v1.ProductSearchResults.GroupedResult
Namespace
Google \ Cloud \ Vision \ V1 \ ProductSearchResultsMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ bounding_poly
Google\Cloud\Vision\V1\BoundingPoly
The bounding polygon around the product detected in the query image.
↳ results
↳ object_annotations
getBoundingPoly
The bounding polygon around the product detected in the query image.
hasBoundingPoly
clearBoundingPoly
setBoundingPoly
The bounding polygon around the product detected in the query image.
$this
getResults
List of results, one for each product match.
setResults
List of results, one for each product match.
$this
getObjectAnnotations
List of generic predictions for the object in the bounding box.
setObjectAnnotations
List of generic predictions for the object in the bounding box.
$this

