extract_response {googleCloudVisionR} | R Documentation |
helper function code to extract the response data.frame
Description
a utility to extract features from the API response
Usage
extract_response(responses, imagePaths, feature)
Arguments
responses |
an API response object |
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" |
Value
a data.table
[Package googleCloudVisionR version 0.2.0 Index]