extract_annotations: helper function code to extract the annotations

Description Usage Arguments Value

View source: R/get_google_vision_response.R

Description

a utility to extract features from the API response

Usage

1
extract_annotations(responses, imagePaths, featureType)

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

featureType

the type of annotation as called in the response object

Value

a data.table


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