Open tkoncz opened 4 years ago
@tkoncz am trying to use this function but it fails and requires authentication, could you provide me a screenshot of the data returned by the gcv_get_image_annotations function, I think it should be a datatable which the third column is the label (description).
Hi @MohmedSoudy!
The Google Cloud Vision API is a pay-for-use service, hence you'll be need to create your authentication details on the Google Cloud Platform.
For more details about the API itself, please see here:
The googleCloudVisionR package uses the googleAuthR package directly to handle authentication, see here for more details: https://code.markedmondson.me/googleAuthR/ .
The gcv_get_image_annotations()
function returns different data.table-s, depending on the feature
parameter you select.
Below is an example with default settings:
@tkoncz Thank you for your reply, could you please return the output of gcv_get_image_annotations() to an object like
Labels <- gcv_get_image_annotations()
View(Labels)
Not sure how's that different from the screenshot above (or the original issue opened)?
If you need further help pls open a separate issue, as this one is for a specific bug