if (FALSE) {
gvision_init()
finn_image <- 'https://upload.wikimedia.org/wikipedia/en/2/2a/Finn-Force_Awakens_%282015%29.png'
results <- get_annotations(images = finn_image, features = 'all',
max_res = 10, mode = 'url')
temp_file_path <- tempfile(fileext = '.json')
save_json(results, temp_file_path)
}
Run the code above in your browser using DataLab