hands-on lab

Detecting Landmarks and Logos in Images with the Google Cloud Vision API

Difficulty: Intermediate
Duration: Up to 1 hour
Students: 75
Rating: 5/5
On average, students complete this lab in19m
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Google Vision AI allows you to derive insights from images uploaded into Google Cloud. The Google Cloud Vision API provides pre-trained machine learning models that can provide contextual data on those images. The models have been trained on a large number of images in order to recognize faces, geographic locations, and even explicit content such as violence.

The Google Cloud Vision API How-to Guides page contains a full list of detection features provided by the API. These powerful API calls can be utilized within a Google Cloud Function in order to integrate vision detection into your applications.

In this lab, you will develop two Google Cloud functions that detect popular landmarks and logos within a provided image.

Learning Objectives

Upon completion of this beginner level lab, you will be able to:

  • Develop a Google Cloud Function that detects popular landmarks within an image
  • Develop a Google Cloud Function that detects popular product logos within an image

Intended Audience

  • Cloud Architects
  • Machine Learning Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Google Cloud Functions

The following content can be used to fulfill the prerequisite:

Updates

October 3rd, 2024 - Updated the instructions and screenshots to reflect the latest UI. Adjusted verification function.

February 21st, 2024 - Resolved deployment issue

Environment before

Environment after

Covered topics

Lab steps

Signing In to the Google Cloud Console
Detecting Landmarks in Images Using the Cloud Vision API
Detecting Logos in Images Using the Cloud Vision API