Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 908 Bytes

adding-google-vision.md

File metadata and controls

23 lines (12 loc) · 908 Bytes

Adding Google Vision

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'