encode_image: helper function to base64 encode the image file

Description Usage Arguments Value

View source: R/get_google_vision_response.R

Description

base64 encodes an image file

Usage

1
encode_image(imagePath)

Arguments

imagePath

character, path to the image

Value

get the image back as encoded file


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