Class ProductSearchResults (2.7.3)

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

Results for a product search request.

Attributes

NameDescription
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 Sequence[google.cloud.vision_v1.types.ProductSearchResults.Result]
List of results, one for each product match.
product_grouped_results Sequence[google.cloud.vision_v1.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.

Inheritance

builtins.object > proto.message.Message > ProductSearchResults

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.