Skip to content

GoogleOCR authentication improvements

Compare
Choose a tag to compare
@phschoepf phschoepf released this 25 Jul 16:35
· 34 commits to main since this release

Changed

  • GoogleOCR now checks whether the credential file actually exists before setting GOOGLE_APPLICATION_CREDENTIALS. If none of the default locations are found, the env var is not set. This enables usage of other authentication schemes (e.g. gcloud CLI, application default credentials).