c# - Google Vision API specify JSON file -


i'm trying authenticate google vision api using json file. normally, using google_application_credentials environmental variable specifies path json file itself.

however, required specify in application , authenticate using json file contents.

now, have tried specify callsettings pass in parameter imageannotatorclient.create method. sure enough, callsettings object can created reading authentication info json file, passing in parameter imageannotatorclient seems make no difference imageannotatorclient.create method still looking environmental variable , throws invalidoperation exception, specifying environmental variable cannot found.

any idea how can desired behavior?

google vision docs


Comments

Popular posts from this blog

vue.js - Create hooks for automated testing -

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

serial port - hub4com OVERRUN Error -