Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Data Engineering with Google Cloud Platform - Second Edition

You're reading from  Data Engineering with Google Cloud Platform - Second Edition

Product type Book
Published in Apr 2024
Publisher Packt
ISBN-13 9781835080115
Pages 476 pages
Edition 2nd Edition
Languages
Author (1):
Adi Wijaya Adi Wijaya
Profile icon Adi Wijaya

Table of Contents (19) Chapters

Preface Part 1: Getting Started with Data Engineering with GCP
Chapter 1: Fundamentals of Data Engineering Chapter 2: Big Data Capabilities on GCP Part 2: Build Solutions with GCP Components
Chapter 3: Building a Data Warehouse in BigQuery Chapter 4: Building Workflows for Batch Data Loading Using Cloud Composer Chapter 5: Building a Data Lake Using Dataproc Chapter 6: Processing Streaming Data with Pub/Sub and Dataflow Chapter 7: Visualizing Data to Make Data-Driven Decisions with Looker Studio Chapter 8: Building Machine Learning Solutions on GCP Part 3: Key Strategies for Architecting Top-Notch Solutions
Chapter 9: User and Project Management in GCP Chapter 10: Data Governance in GCP Chapter 11: Cost Strategy in GCP Chapter 12: CI/CD on GCP for Data Engineers Chapter 13: Boosting Your Confidence as a Data Engineer Index Other Books You May Enjoy

Exercise – leveraging pre-built GCP models as a service

In this exercise, we will use a GCP service called Google Cloud Vision. Google Cloud Vision is one of many pre-built models in GCP. In pre-built models, we only need to call the API from our application. This means that we don’t need to create an ML model.

In this exercise, we will create a Python application that can read an image with handwritten text and convert it into a Python string.

The following are the steps for this exercise:

  1. Upload the image to a GCS bucket.
  2. Install the required Python packages.
  3. Create a detect text function in Python.

Let’s start by uploading the image.

Uploading the image to a GCS bucket

In the GCS console, go to the bucket that you created in the previous chapters. For example, my bucket is wired-apex-392509-data-bucket.

Inside the bucket, create a new folder called chapter-8. This is an example from my console:

Figure 8.6 – Example GCS bucket folder for storing the image file
...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}