Member-only story
Deep Dive in Detecting Labels, Faces, and Landmarks in Images with the Cloud Vision API
This instruction should be used in parallel with the Detecting Labels, Faces, and Landmarks in Images with the Cloud Vision API lab in the Computer Vision Fundamentals with Google Cloud course.
Lab objectives
In this lab, the user will learn how to perform the following tasks:
- Create a Vision API request and call the API with
curl
. - Use the vision API's label, face, and landmark detection methods.
Task 0. Setup and requirements
Activate Cloud Shell:
As the lab instruction suggests, the developer shall click the Activate Cloud Shell button on the top right of the console. To enable the Cloud Shell, the developer should click on Authorize.
Next is to list the active accounts using:
gcloud auth list
This command in the Google Cloud Platform (GCP) lists all accounts currently authenticated to the GCP (Command Line Interface) CLI.
Next is to list the project ID with this command:
gcloud config list project
This command in the Google Cloud Platform (GCP) lists the project currently active in the GCP…