Skip to main content

Google Cloud Vision

Overview​

Google Cloud Vision offers a comprehensive set of machine vision tools which you may find useful for text extraction.

Bottle Rocket can integrate with Google Cloud Vision to extract text from images.

Prerequisites​

Create the project in Google Cloud​

tip

If you have already created a GCP project as part of a Google Drive upload workflow, you can use this project instead of creating a new one.

  • In the Google Cloud console, select Create or select a project.
  • Enter a Project name, select a Location, and click Create.

Create project

  • In the main project dashboard, open the sidebar menu and navigate to APIs & services > Library.
  • Search for Vision and you should see the Cloud Vision API listed; select it.

Cloud vision API entry

  • Click Enable to enable the API.
  • In the API / Service details screen, click Create credentials.
  • Ensure that Select an API contains Cloud Vision API.
  • For the credentials type, select Application data.
  • Select Next.
  • Fill in the details under Create service account, then select Create and continue.

Service account step 1

  • Skip the Permissions (optional) section.

  • Skip the Principals with access (optional) section.

  • Click Done to continue.

  • Now, under the APIs and services section, select Credentials from the sidebar menu.

  • Select the newly-added service account.

  • Navigate to the Keys tab, and click Add key, selecting Create new key.

  • Select JSON as the key type.

Create private key

  • Click Create to download the private key.
danger

Treat this private key file like a password - keep it secure, private, and do not share it with anyone.

Upload the private key file to the GCP Bottle Rocket Connector​

  • Login to your Bottle Rocket server.
  • On the left-hand sidebar, under My connectors, select Add connector.

Add workflow

  • Select the Google Cloud Platform Connector from the list of connectors, and click the Add connector button.

Add workflow

  • Click on the paperclip / attachment button, and upload the private key file you downloaded from Google Cloud.
  • Click Submit to save the connector.