Class ProductSearchResults (2.3.2)

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

Results for a product search request. .. attribute:: index_time

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.

:type: google.protobuf.timestamp_pb2.Timestamp

Attributes

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

Object ID that should align with EntityAnnotation mid.

:type: str

Result

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

Information about a product. .. attribute:: product

The Product.

:type: google.cloud.vision_v1p4beta1.types.Product