gcv_get_response: helper function to call the API for one batch of images

Description Usage Arguments Value

View source: R/get_google_vision_response.R

Description

helper function to call the API for one batch of images

Usage

1
gcv_get_response(imagePaths, feature, maxNumResults)

Arguments

imagePaths

character, file paths, URLs or Cloud Storage URIs of the images, can be a combination of all three

feature

character, one out of: "LABEL_DETECTION", "FACE_DETECTION", "TEXT_DETECTION", "DOCUMENT_TEXT_DETECTION", "LOGO_DETECTION", "LANDMARK_DETECTION"

maxNumResults

integer, the maximum number of results (per image) to be returned.

Value

a data frame with image annotation results


cloudyr/googleCloudVisionR documentation built on Dec. 2, 2019, 9:33 a.m.