From the course: Deep Learning: Image Recognition
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Recognizing objects in photographs with Google Cloud Vision - Python Tutorial
From the course: Deep Learning: Image Recognition
Recognizing objects in photographs with Google Cloud Vision
- [Instructor] Alright, let's use the Cloud Vision API for image recognition. Before going any further, make sure you've created the Google Cloud account and downloaded the credentials file. If you aren't sure how to do that, you can review the previous video. Alright, let's open up cloud_image_recognition.py. This file uses the Google Cloud API to upload a file and get back a response from Google with a list of objects detected in the image. On line seven, you can put in the name of the image file that you wanna check. I've included the sample image to test with, so you can leave this as road_sign.jpg for now. Let's take a look at the picture. This is a picture of a road sign on the highway. If the API works correctly, it should come up with labels like road and sign. Alright, let's go back to the code. On line eight is the name of the credentials file that we wanna use to access the Cloud Vision API. You should already have a credentials.json file. If not, you can review the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
(Locked)
When to use an API instead of building your own solution3m 33s
-
(Locked)
Introduction to the Google Cloud Vision API2m 14s
-
(Locked)
Setting up Google Cloud Vision account credentials2m 40s
-
(Locked)
Recognizing objects in photographs with Google Cloud Vision3m 3s
-
(Locked)
Extracting text from images with Google Cloud Vision3m 22s
-
(Locked)
-