From the course: Deep Learning: Image Recognition
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Extracting text from images with Google Cloud Vision - Python Tutorial
From the course: Deep Learning: Image Recognition
Extracting text from images with Google Cloud Vision
- Let's try using the cloud vision API to extract texts from an image. 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 text recognition.py. This file uses the Google cloud vision API to upload an image and get back a response with all the texts that Google was able to extract from the image. On line seven, you can put in the name of the image that you want to check. I put in text.pmg. Let's take a look at that image. This is a scan of a page of dialogue from a play by Shakespeare. If the API works correctly, we should get back all this text as plain text. Alright, let's go back to the code. On line eight is the name of the credentials file that we want to use to access the cloud vision API. You should already have this file. If not, you can review the previous video. On line 11, we'll read this credentials file into an…
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)
-