Description Usage Arguments Value
View source: R/get_product_search_response.R
Given an image, and search parameters, this functions calls the Google Cloud Vision API, and returns an unformatted response (JSON) from the API. If you are looking for a friendlier result, refer to the 'gcv_get_product_search_response()' function
1 2 3 4 5 6 7 8 | gcv_get_product_search_raw_response(
imagePath,
projectId,
locationId,
productSetId,
productCategory,
maxNumResults
)
|
imagePath |
character, file path, URLs or Cloud Storage URI of the image |
projectId |
character, GCP project id |
locationId |
character, GCP location id |
productSetId |
character, product set id for Product Search |
productCategory |
character, roduct category for Product Search |
maxNumResults |
integer, the maximum number of results (per image) to be returned. |
a list with product search results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.