> This page is for Glide Classic.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://www.glideapps.com/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://www.glideapps.com/docs/_mcp/server.

# Google Cloud Vision

> Integrate vision detection features in your app

[Google Cloud's Vision API](https://cloud.google.com/vision) allows you to use the [Vertex AI Vision](https://cloud.google.com/vertex-ai-vision) environment to build and manage applications. Vision enables computers and systems to interpret and analyze visual data and derive meaningful information from digital images, videos, and other visual inputs. These are known as Optical Character Recognition, or OCR, models. 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.](https://www.glideapps.com/pricing)

## Adding and Configuring the Action

#### Adding Google Cloud Vision Arcade

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

Navigate to the **Integrations** tab and then select [Google Cloud Vision](https://cloud.google.com/vision).

Click the **Add** button.

[Enable the Vision API](https://cloud.google.com/vision/docs/setup#api) on your Google Cloud Project.

Navigate to your [Google Cloud Console API Credentials](https://console.cloud.google.com/apis/credentials).

Create and copy a new API Key for Glide.

Back in Glide, add your **API Key** in your [Google Cloud Vision](https://cloud.google.com/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](https://cloud.google.com/vision/docs/file-small-batch) on extracting text from PDF files, so only five pages can be extracted at a time.

The action can be added to a [Component](/docs/essentials/components) that supports [Actions](/docs/automation/actions) (e.g., a [Button component](/docs/essentials/components/button)), added to a workflow in the [Workflow Editor](/docs/getting-started/introduction-to-workflows#the-workflow-editor).

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

#### Cloud Vision Extract from PDF Arcade

If you have not yet set up a URL column to store the PDF file links, and a text column to store the extracted text, do that first in the Data Editor.

Select the component you'd like to add the action to. Remember, this must be a component that supports actions.

Search for the **Extract text from PDF files** action or navigate to Integrations → Google Cloud Vision → Extract text from PDF files.

Name the action.

Choose an icon.

Select the column with the **File** links.

Choose the language ID for the text. [A full list of languages and IDs can be found here.](https://cloud.google.com/vision/docs/languages)

Choose the model, Document or Text.

Choose which pages to extract, or leave blank to extract all.

Specify where to store the extracted **Text** in Glide.

Click away to save your configuration.

> **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.

The action can be added to a [Component](/docs/essentials/components) that supports [Actions](/docs/automation/actions) (e.g., a [Button component](/docs/essentials/components/button)), added to a workflow in the [Workflow Editor](/docs/getting-started/introduction-to-workflows#the-workflow-editor), or added as a [Computed Column](/docs/automation/computed-columns).

#### Google Cloud Vision Extract text from Image Arcade

If you have not yet set up a URL column to store the image file links, and a text column to store the extracted text, do that first in the Data Editor.

Select the component you'd like to add the action to. Remember, this must be a component that supports actions.

Search for the **Extract text from image** action or navigate to Integrations → Google Cloud Vision → Extract text from image.

Name the action.

Choose an icon.

Select the column with the **File** links.

Choose the language ID for the text. [A full list of languages and IDs can be found here.](https://cloud.google.com/vision/docs/languages)

Choose the model, Document or Text.

Specify where to store the extracted **Text** in Glide.

Click away to save your configuration.

To learn more generally about Integrations in Glide, including how they affect your app's usage, check out our [Introduction to Integrations](/docs/automation/integrations).

## Frequently Asked Questions

#### 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.](https://www.glideapps.com/pricing)

#### How can I utilize the extracted text from images or PDFs elsewhere in my Glide app?

Once the text is extracted and stored in Glide, it can be displayed to the user or further manipulated as needed. You might use a [Template Column](/docs/automation/computed-columns/template-column) to combine it with other text or pass the extracted text to [Open AI](/docs/automation/integrations/openai-and-glide) for further automated processing and interpretation.

#### Can I extract text from images in real time using Google Cloud Vision?

The Google Cloud Vision integration in Glide is primarily designed to work with stored image or PDF files. To extract text from images in real time, you can first use the [Upload Image](/docs/essentials/components/file-and-image-pickers) component to capture and store the image. After this, the Google Cloud Vision integration can be utilized to extract the text from the captured image.

#### What is the average processing time for the Google Cloud Vision to extract text from an image or a PDF?

The processing time can differ depending on several factors such as the size of the image or PDF file and the speed of the internet connection. The Google Cloud Vision integration in Glide is designed to provide rapid and accurate text extraction. However, it's advisable to inform your app users that the process of text extraction could take a few moments to complete.

#### What languages can I extract text in?

You can find a list of supported language codes [here](https://cloud.google.com/vision/docs/languages).

#### Which Vision model should I use?

When dealing with traditional documents, use Document. Otherwise, use Text for general purpose text recognition.

#### Can I use any image or PDF file?

The image or PDF you choose needs to be available at a publicly accessible URL.