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 formatted response from the API. Results are not complete! If you are looking for full results, refer to the 'gcv_get_product_search_raw_response()' function
1 2 3 4 5 6 7 8 | gcv_get_product_search_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 data frame with product search results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.