WPSolr logo
  • Hundreds of brands you love, love WPSOLR 💛
  • Products
    • Parsing & Chunking
    • Search
      • Algolia  Search
      • Apache Solr  Search
      • Elasticsearch  Search
      • Google AI Commerce  Search
      • OpenSearch  Search
      • OpenSolr  Search
    • AI Search
      • OpenSearch  AI Search
      • PostgreSQL  AI Search
      • Vespa  AI Search
      • Weaviate  AI Search
    • AI Recommendations
      • Amazon Personalize  AI Recommendations
      • Recombee  AI Recommendations
    • AI Personalized Search & Recommendations
      • Algolia  AI Personalized Search & Recommendations
      • Google AI Commerce  AI Personalized Search & Recommendations
  • Learn
    • Documentation & Guides – Everything to get started fast
    • Youtube – 100 practical videos from setup to live site demos
    • Forums – Direct support from our team
  • Pricing
  • My licenses
  • Meet
  • 📞  Call
    • 📞  US : (951) 612-8259
    • 📞  France : 01 62 04 55 85
  • Hundreds of brands you love, love WPSOLR 💛
  • Products
    • Parsing & Chunking
    • Search
      • Algolia  Search
      • Apache Solr  Search
      • Elasticsearch  Search
      • Google AI Commerce  Search
      • OpenSearch  Search
      • OpenSolr  Search
    • AI Search
      • OpenSearch  AI Search
      • PostgreSQL  AI Search
      • Vespa  AI Search
      • Weaviate  AI Search
    • AI Recommendations
      • Amazon Personalize  AI Recommendations
      • Recombee  AI Recommendations
    • AI Personalized Search & Recommendations
      • Algolia  AI Personalized Search & Recommendations
      • Google AI Commerce  AI Personalized Search & Recommendations
  • Learn
    • Documentation & Guides – Everything to get started fast
    • Youtube – 100 practical videos from setup to live site demos
    • Forums – Direct support from our team
  • Pricing
  • My licenses
  • Meet
  • 📞  Call
    • 📞  US : (951) 612-8259
    • 📞  France : 01 62 04 55 85
  • Hundreds of brands you love, love WPSOLR 💛
  • Products
    • Parsing & Chunking
    • Search
      • Algolia  Search
      • Apache Solr  Search
      • Elasticsearch  Search
      • Google AI Commerce  Search
      • OpenSearch  Search
      • OpenSolr  Search
    • AI Search
      • OpenSearch  AI Search
      • PostgreSQL  AI Search
      • Vespa  AI Search
      • Weaviate  AI Search
    • AI Recommendations
      • Amazon Personalize  AI Recommendations
      • Recombee  AI Recommendations
    • AI Personalized Search & Recommendations
      • Algolia  AI Personalized Search & Recommendations
      • Google AI Commerce  AI Personalized Search & Recommendations
  • Learn
    • Documentation & Guides – Everything to get started fast
    • Youtube – 100 practical videos from setup to live site demos
    • Forums – Direct support from our team
  • Pricing
  • My licenses
  • Meet
  • 📞  Call
    • 📞  US : (951) 612-8259
    • 📞  France : 01 62 04 55 85
Expand All Collapse All
  • What is WPSOLR ?
    • The standard WordPress SQL search
    • The WPSOLR search with Elasticsearch, Apache Solr, or Algolia
  • Your configuration journey, step by step
    • Install Apache Solr
    • Hosted Apache Solr and SolrCloud Services
    • Install Weaviate
    • Install Opensearch
    • Install Elasticsearch
    • Elasticsearch Hosting
    • Configure search
      • Getting started with search
      • Getting started with Ajax (live) search
      • Getting started with facets
      • 0. Connect your indexes
        • Create a Google Retail search index
        • Create an Elasticsearch index
          • Generate a test Elasticsearch index
          • Create an Elastic Elasticsearch index
          • Create an Elasticsearch index
          • Create a Qbox Elasticsearch index
          • Create an ElasticPress Elasticsearch index
          • Create an Aiven Elasticsearch or OpenSearch index
          • Create a Bonsai Elasticsearch index
          • Create an Amazon AWS Elasticsearch index
          • Create an ObjectRocket Elasticsearch index
          • Create a Cloudways Elasticsearch or Opensearch index
          • Create an Alibaba Cloud Elasticsearch index
          • Create a Compose Elasticsearch index
          • Connect to an Elasticsearch index
        • Create an Apache Solr index
          • Generate a test Apache Solr index
          • Create an Apache Solr index
          • Create a SearchStax SolrCloud index
          • Create an Opensolr Solr index
          • Connect to an Apache Solr index
        • Create an Opensearch index
          • Create a WPSOLR Hosting OpenSearch index
          • Create an Amazon AWS OpenSearch index
        • Create a Weaviate index
          • Weaviate with Google PaLM API
          • Weaviate with GPT4All
          • Weaviate with sentence transformers
          • Weaviate with CLIP text-to-image
          • Weaviate with HuggingFace Endpoints API
          • Weaviate with OpenAI GPT API
          • Weaviate with Cohere Multilingual API
          • Weaviate with Question Answering transformers
          • Weaviate with Hybrid search
          • Weaviate with Reranker - Cohere
          • Weaviate with Reranker - Transformers (cross-encoders)
        • Create an Algolia index
      • 1. Activate extensions (Add-ons)
        • bbPress add-on
        • YITH WooCommerce Ajax Search add-on
        • SEO add-ons
          • Yoast SEO add-on
          • All in One SEO add-on
        • Listable add-on
        • ACF add-on
        • Advanced Scoring add-on
        • Cron Scheduling add-on
        • Theme add-on
          • Filters layouts
            • Radiobox & Checkbox Layout
            • Numeric Range Layout
            • Colour Picker Layout
            • Date Picker (Flatpickr) Layout
            • Range Slider Layout
          • Add Ajax to the current Theme
          • Collapse taxonomy hierarchies
          • Custom Facets CSS
        • WPML add-on
        • Premium add-on
          • Manage more than one Elasticsearch or Solr index
        • PDF Embedder add-on
        • Geolocation add-on
        • AI Natural Language APIs add-on
          • Amazon Comprehend
          • Google Natural Language
          • Aylien Text Analysis
          • MeaningCloud
          • Qwam Text Analytics
        • Toolset Types add-on
        • AI Image and OCR APIs add-on
          • Google Vision
          • Amazon Rekognition
        • Embed Any Document add-on
        • MyListing add-on
        • Polylang add-on
        • WooCommerce add-on
        • Cross-domain federated search add-on
        • Directory+ add-on
        • Toolset Views add-on
        • Listify add-on
        • Jobify add-on
        • Query Monitor add-on
      • 2. Define your search
        • 2.3 Boosts
        • 2.3 Suggestions (Ajax search)
        • 2.1 Search
        • 2.2 Data
      • 3. Index your data
    • Configure recommendations
      • Algolia - Recommend and Personalized search
      • Recombee - Recommendations
      • Google Retail - AI Recommendations and Personalized search
      • Amazon Personalize
    • Configure WPSOLR Parsing and Chunking
    • Create your Custom Templates for Citations, Suggestions, Related Posts & Recommendations
  • Quick start

Google Vision

1105 views 0 January 22, 2021

 

Table of Contents

Toggle
  • What is the “Google Vision” API?
  • Create a GCP project with Google Vision API authorization
  • Create an index
  • Activate the WPSOLR Google Vision API extension
  • Configure the Google Vision API
  • Configure the WPSOLR search
  • Configure the Google Vision fields to index
  • Configure the Google Vision fields to use as filters
  • Send Data to index
  • Add WPSOLR facets widget to your search sidebar
  • Create a post with some interesting photos to extract
  • Make a search and use extracted fields as filters

What is the “Google Vision” API?

Google Vision api is an advanced AI that can identify a lot things in images. It can detect faces and read text in images. It can even recognise celebrities. Google Vision can also group images in different categories. Combined with WPSolr, This can significantly improve search performance on your website as now both text and images are used by WPSolr.

Create a GCP project with Google Vision API authorization

Image Screenshot-2021-01-18-at-14.19.50-1024x406.png of Google Vision

To get started with Google Vision API you have to first connect to the Google Cloud Dashboard.

Image Screenshot-2021-01-18-at-14.20.17-1024x668.png of Google Vision

Search for “api dashboard” and select “Dashboard (APIs & Services)”.

 

Image Screenshot-2021-01-18-at-14.43.23-1024x409.png of Google Vision

Then click on “Enable APIs and Services”.

 

Image Screenshot-2021-01-18-at-14.43.47-1024x205.png of Google Vision

Search for “vision” in the new window, then select “Cloud Vision API”.

Image Screenshot-2021-01-18-at-14.43.58-1024x386.png of Google Vision

Click on “Enable”.

 

Image Screenshot-2021-01-18-at-14.48.50-1024x193.png of Google Vision

Then select “Credentials”.

Image Screenshot-2021-01-18-at-14.54.18-1024x169.png of Google Vision

Click on “Create Credentials” then choose “Service account”.

 

 

Image Screenshot-2021-01-18-at-14.57.56-1024x397.png of Google Vision

Fill in the Service account information.

Image Screenshot-2021-01-18-at-14.59.28-1024x547.png of Google Vision

You can select a role for your service account but if you’re not sure what you want exactly just leave the default settings.

Image Screenshot-2021-01-18-at-14.59.43-1024x586.png of Google Vision

You can just click on “Done” here as well.

Image Screenshot-2021-01-18-at-15.15.24-1024x324.png of Google Vision

Edit the Service account.

Image Screenshot-2021-01-18-at-15.15.57-1024x408.png of Google Vision

Click on “Add key” then select the JSON Key type.

The key is then saved on your computer.

Image Screenshot-2021-01-18-at-15.17.06-1-1024x215.png of Google Vision

You can open the key in your favourite source code editor or IDE.

 

Create an index

Image Screenshot-2021-01-19-at-11.50.55-1024x371.png of Google Vision

activate the WPSOLR plugin then enter the licence. You can now create an index.

Go to “Connect your indexes” and choose your preferred option. I am going to create a test index.

Image Screenshot-2021-01-19-at-11.51.05-1024x406.png of Google Vision

Then create a free test index.

 

 

Activate the WPSOLR Google Vision API extension

 

Image Screenshot-2021-01-19-at-11.52.05.png of Google Vision

To activate the extension go in “Activate extensions”.

 

select “Text, Image, Video AI”.

Image Screenshot-2021-01-19-at-11.51.56-1024x559.png of Google Vision

Click on “Activate the AI extension” checkbox and choose Save Options.

Configure the Google Vision API

Click on “Add an AI” step from the above image.

Image Screenshot-2021-01-19-at-12.03.27-1-1024x691.png of Google Vision

Image Screenshot-2021-01-19-at-12.03.35-1024x634.png of Google Vision

Image Screenshot-2021-01-19-at-12.03.42-1024x452.png of Google Vision

Then fill in the relevant information. Be sure to click on “this ai_api will pre-process indexed documents”. You can check the options you want below JSON key like extracting text from images for example. if you have problems with your search later on you may need to to change the confidence level. Typing 0(zero) may solve these issues.

Configure the WPSOLR search

Image Screenshot-2021-01-19-at-12.04.16-1024x435.png of Google Vision

Click on “Define your search with ‘your_index_name'”, and click on The “Search” checkbox.

Configure the Google Vision fields to index

Image Screenshot-2021-01-19-at-12.04.59-1024x494.png of Google Vision

Click on “Data” in the sidebar and select the data which you want to index.

Image Screenshot-2021-01-19-at-12.10.13-1024x130.png of Google Vision

Image Screenshot-2021-01-19-at-12.10.18-1024x142.png of Google Vision

Select the types of content you want to index. Google Vision only accepts jpeg, jpg, png, gif, bmp, webp,  raw, ico, pdf and tiff images.

Image Screenshot-2021-01-19-at-12.05.15-1024x518.png of Google Vision

select the fields that you prefer. You can leave default fields if you don’t know what to choose.

Configure the Google Vision fields to use as filters

Image Screenshot-2021-01-19-at-12.05.52-1024x462.png of Google Vision

Select the fields you would want to use as filters.

 

Send Data to index

Image Screenshot-2021-01-19-at-12.08.10-1024x520.png of Google Vision

Click on “Index selected post types in index ‘Test index from Elastic Cloud'”.

Add WPSOLR facets widget to your search sidebar

 

Image Screenshot-2021-01-19-at-12.07.42-1024x709.png of Google Vision

 

Create a post with some interesting photos to extractImage Screenshot-2021-01-19-at-16.54.56-1024x589.png of Google Vision

Image Screenshot-2021-01-19-at-16.55.07-1024x589.png of Google Vision

 

 

Make a search and use extracted fields as filters

 

Image Screenshot-2021-01-20-at-16.55.10-826x1024.png of Google Vision

Was this helpful?

Yes  No
Related Articles
  • Configure WPSOLR Parsing and Chunking
  • Create a WPSOLR Hosting OpenSearch index
  • Create your Custom Templates for Citations, Suggestions, Related Posts & Recommendations
  • Getting started with facets
  • Getting started with Ajax (live) search
  • Getting started with search

Didn't find your answer? Contact Us

Previously
AI Image and OCR APIs add-on
Up Next
Amazon Rekognition

Recommended content

Powered by WPSOLR Enterprise with Recombee

Understand Where Your Store Is Losing Sales
Join our Affiliate Program!
Features
Search Hosting for WordPress
File Parsing and Chunking
Integration Hub
Search
Facets (Filters)
Search Add-ons
Recommendations
Keyword search engines
Comparison grid
Apache Solr & Solr Cloud
Elasticsearch
OpenSearch
Algolia
AI search engines
Comparison grid
PostgreSQL pgvector
Weaviate
Google Retail
Vespa.ai
OpenSearch vector
AI recommendation engines
Comparison grid
Recombee
Amazon Personalize
AI personalization engines
Comparison grid
Google Retail
Algolia
Buy and Learn
Pricing
Privacy policy
Terms and Conditions
© 2026 Eostis SARL. All Rights Reserved.
More
My licenses
Support
Documentation
Blog
Recommendations powered for you by WPSolr
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}