create_single_image_request: helper function to create a list of details of one image...

Description Usage Arguments Value

View source: R/get_google_vision_response.R

Description

creates a list output from the inputs

Usage

1
create_single_image_request(imagePath, feature, maxNumResults)

Arguments

imagePath

character, file path, URL or Cloud Storage URI of the image

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

list of request details for one image


googleCloudVisionR documentation built on March 26, 2020, 7:13 p.m.