Google Cloud Vision

Integrate vision detection features in your app

Google Cloud’s Vision API allows you to use the Vertex AI Vision environment to build and manage applications. Vision also uses machine learning models to process and interpret images. In Glide, you can use the Google Cloud Vision integration to extract text from PDFs and image files.

Don't see the Google Cloud Vision integration?

You may need to upgrade your plan. Browse Glide's plans and find the right fit for you.

Adding and Configuring the Integration

  1. In Glide, click the Settings icon in the upper-right corner.

  2. Navigate to the Integrations tab and then select Google Cloud Vision.

  3. Click the Add button.

  4. Enable the Vision API on your Google Cloud Project.

  5. Navigate to your Google Cloud Console API Credentials.

  6. Create and copy a new API Key for Glide.

  7. Back in Glide, add your API Key in your Google Cloud Vision integration settings.

Features

The Google Cloud Vision integration in Glide currently supports two features:

  1. Extract text from PDF files

  2. Extract text from image

Extract text from PDF files

The Extract text from PDF files feature lets you select a PDF file, and Google Cloud Vision will extract text from the document. You can then use that text in your app. Google Cloud Vision has a five page limit on extracting text from PDF files, so only five pages can be extracted at a time.

The action can be added to a Component that supports Actions (e.g., a Button component), added to an action sequence in the Action Editor.

The Extract text from PDF feature is not available as a computed column.

Below is a table outlining the different settings:

Field

Description

Required field?

Example

File

A link to the PDF

Language

The language of the text

en

Model

The Vision model to process the document through

Document

Pages

The pages to extract text from

1-3,5,7-*

Text

Where the extracted text should be stored.

A note on page selection

You may select a range of pages separated by a comma (for example, 2-3, 5, 7-9 will extract text from pages 2, 3, 5, 7, 9 ) or use * to select all pages. Google Cloud Vision limits the number of files at one time to five.

Extract text from image

The Extract text from image feature will extract text from an image. For example, you could extract the text from a picture of a receipt:

Text being extracted from a receipt.

The action can be added to a Component that supports Actions (e.g., a Button component), added to an action sequence in the Action Editor, or added as a Computed Column.

Below is a table outlining the different settings:

Field

Description

Required field?

Example

File

A link to the image you want to extract text from

Language

The language the text is in

en

Model

The Vision model to process the image through

Text

Text

The field where Glide should store the text.

To learn more generally about Integrations in Glide, including how they affect your app’s usage, check out our Introduction to Integrations.

Frequently Asked Questions

Updated more than a week ago
Was this article helpful?