Class ProductSearchResults (3.7.3)

ProductSearchResults(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Results for a product search request.

Attributes

Name Description
index_time google.protobuf.timestamp_pb2.Timestamp
Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.
results MutableSequence[google.cloud.vision_v1p3beta1.types.ProductSearchResults.Result]
List of results, one for each product match.
product_grouped_results MutableSequence[google.cloud.vision_v1p3beta1.types.ProductSearchResults.GroupedResult]
List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.

Classes

GroupedResult

GroupedResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

ObjectAnnotation

ObjectAnnotation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Prediction for what the object in the bounding box is.

Result

Result(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Information about a product.