Book Image

Google Cloud AI Services Quick Start Guide

By : Arvind Ravulavaru
Book Image

Google Cloud AI Services Quick Start Guide

By: Arvind Ravulavaru

Overview of this book

<p>Cognitive services are the new way of adding intelligence to applications and services. Now we can use Artificial Intelligence as a service that can be consumed by any application or other service, to add smartness and make the end result more practical and useful.</p> <p>Google Cloud AI enables you to consume Artificial Intelligence within your applications, from a REST API.  Text, video and speech analysis are among the powerful machine learning features that can be used. This book is the easiest way to get started with the Google Cloud AI services suite and open up the world of smarter applications.</p> <p>This book will help you build a Smart Exchange, a forum application that will let you upload videos, images and perform text to speech conversions and translation services. You will use the power of Google Cloud AI Services to make our simple forum application smart by validating the images, videos, and text provided by users to Google Cloud AI Services and make sure the content which is uploaded follows the forum standards, without a human curator involvement.</p> <p>You will learn how to work with the Vision API, Video Intelligence API, Speech Recognition API, Cloud Language Process, and Cloud Translation API services to make your application smarter.</p> <p>By the end of this book, you will have a strong understanding of working with Google Cloud AI Services, and be well on the way to building smarter applications.</p>
Table of Contents (9 chapters)

To get the most out of this book

To work with the content of the book, you will need knowledge of the following technologies:

  • MongoDB
  • Node.js
  • ExpressJS
  • Mongoose
  • Angular 5
  • TypeScript
  • REST API services

You need to have Node.js 6.13.1 installed on your machine to follow along with this book.

Download the example code files

You can download the example code files for this book from your account at www.packtpub.com. If you purchased this book elsewhere, you can visit www.packtpub.com/support and register to have the files emailed directly to you.

You can download the code files by following these steps:

  1. Log in or register at www.packtpub.com.
  2. Select the SUPPORT tab.
  3. Click on Code Downloads & Errata.
  4. Enter the name of the book in the Search box and follow the onscreen instructions.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR/7-Zip for Windows
  • Zipeg/iZip/UnRarX for Mac
  • 7-Zip/PeaZip for Linux

The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/Google-Cloud-AI-Services-Quick-Start-Guide. In case there's an update to the code, it will be updated on the existing GitHub repository.

We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Download the color images

Code in Action

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "This will install all the dependencies listed. Next, open the entire application in your favorite editor, and then open README.md."

A block of code is set as follows:

//SNIPP SNIPP
{
"inputContent": "/9j/7QBEUGhvdG9zaG9...base64-encoded-video-content...fXNWzvDEeYxxxzj/Coa6Bax//Z",
"features": ["LABEL_DETECTION"]
}
//SNIPP SNIPP

Any command-line input or output is written as follows:

$ yarn add @google-cloud/video-intelligence

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Click on New and then Request inside Postman."

Warnings or important notes appear like this.
Tips and tricks appear like this.