Todos os exemplos de código de Pesquisa de produtos da API Vision

Mantenha tudo organizado com as coleções Salve e categorize o conteúdo com base nas suas preferências.

This page contains code samples for Cloud Vision API Product Search. To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser.

Add product to product set

Add a product to a product set.

Create a product set

Create a product set.

Create a reference image

Create a reference image.

Delete a product

Delete a product.

View in documentation

Delete a product set

Delete a product set.

View in documentation

Delete a reference image

Delete a reference image.

View in documentation

Delete orphan products

Demonstrates how to delete a batch of orphaned products.

View in documentation

Delete products in a product set

Demonstrates how to delete a batch of products in a product set.

View in documentation

Get product information

Retrieve information about a product.

View in documentation

Get product set information

Retrieve information about a product set.

View in documentation

Get products similar to a Cloud Storage image file

Search for products that are similar to an image stored as a file in Cloud Storage.

View in documentation

Get products similar to a local image file

Search for products that are similar to a locally stored image.

Get the reference images.

Retrieve reference images.

View in documentation

Import modules

Import modules for the product search tutorial.

View in documentation

Import multiple product images

Import images of multiple products in a product set.

List product sets

Retrieves a list of existing product sets.

View in documentation

List products

Retrieves a list of existing products.

View in documentation

List products in product set

List all products in a product set.

View in documentation

List reference images for product

Retrieves a list of reference images for a product.

View in documentation

Remove a product from a product set

Remove a product from a product set.

Update product labels

Update labels for a product.