Adding Google Vision
April 21, 2019 ยท View on GitHub
Google Vision
Google's Cloud Vision API docs.
- (+) Stable
- (-) Support only tags
Installing
pip install wagtailaltgenerator[google_vision]
Settings
The Google Vision provider is based on google-api-python-client and are typically done using Application Default Credentials for authentication.
You can authenticate locally with the Google Cloud SDK, on production with either the built in credentials (if you already run on Google Cloud) or with a Service Account key file.
You also need to define the provider:
ALT_GENERATOR_PROVIDER:'wagtailaltgenerator.providers.google_vision.GoogleVision'