create_request_body {googleCloudVisionR} | R Documentation |
helper function to create json for response request
Description
creates a json output from the inputs
Usage
create_request_body(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
request body (payload), encoded as json
[Package googleCloudVisionR version 0.2.0 Index]