With the Vision app, you can use the Google Cloud Vision API to get more insight out of images from your records. You can quickly classify your images into thousands of categories (like "dog," "lighthouse," or "Sahara"), extract those labels, and save them to a field in your base—meaning that you can tag hundreds of images with just a few clicks. You can also identify logos, or use optical character recognition (OCR) to extract text from images. Please note that this app requires a Google Cloud Vision API key.
The Vision app is part of Airtable Apps, a Pro plan feature. Apps let you extend the functionality of your bases: you can use apps to bring new information into Airtable, visualize and summarize your records in colorful ways, and even directly integrate your Airtable bases with your favorite apps.
Install the vision app
Start by clicking the "Apps" button at the top-right hand corner of your base. You can then click "Install an app", and then search for and install the Vision app.
Enter your Google Cloud API key
After adding the app to your base, you'll be prompted to enter your Google Cloud API key. To get your API key you need to:
- Create a Google Cloud project. Go to the Google Cloud Platform Console and create a new project. You may also use an existing project that you own.
- Enable billing for your project. On the Billing page, add a payment method for your project. You will only be charged when you analyze images.
- Enable the Cloud Vision API. Go to the Cloud Vision API page and add it to your project. On the Credentials page, create an API key.
Once you've followed these steps, paste your API key in the space provided in the Vision app setup window.
Configure app settings
Next, you'll need to select which images you want to analyze and what features to extract from them. To select the images to analyze, click the gear icon next to "Images to analyze" to adjust which table, view, and field you want to use.
Then, choose what features to extract from the images by select one or more of the three available options.
Once you've configured the available options, click "Analyze" to begin extracting the selected information based on how Google categorizes your images. This will bring up a confirmation dialog confirming your use of the API. After you confirm by clicking the Analyze button, you'll see previews of the text that the app has extracted from your images on their associated records.
Before savings the results you'll need to select a destination text field (using a single line text field or long text field) into which the extracted text can go. You can select the destination text field next to each of the options you've selected (shown in the screenshot below).
Next, click save.
Extracted logos will output the company or brand name associated with any logos depicted in your attachments.
Extracted text will pull words from your images and put them in a designated text field.
Extracted labels will pull labels from your images and place them in the designated text field as comma separated values.