extract_annotations {googleCloudVisionR}R Documentation

helper function code to extract the annotations

Description

a utility to extract features from the API response

Usage

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


[Package googleCloudVisionR version 0.2.0 Index]