Initializes the authorization credentials for the 'Google Vision' API. Needs to be called before using any other functions of imgrec and requires gvision_key as environment variable.

gvision_init()

Value

nothing.

Examples

if (FALSE) {
Sys.setenv(gvision_key = "Your Google Vision API key")

gvision_init()
}