Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Google Cloud AI Services Quick Start Guide

You're reading from   Google Cloud AI Services Quick Start Guide Build intelligent applications with Google Cloud AI services

Arrow left icon
Product type Paperback
Published in May 2018
Publisher Packt
ISBN-13 9781788626613
Length 234 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Arvind Ravulavaru Arvind Ravulavaru
Author Profile Icon Arvind Ravulavaru
Arvind Ravulavaru
Arrow right icon
View More author details
Toc

Exploring the Cloud Speech API

Please refer to the Setting up a rest client section from Chapter 3, Cloud Vision API, to set up a REST API client, either Postman or cURL, before you continue. Now that we have all the required setup done, let's get started with exploring the API. In this section, we are going to upload a single channel, Linear16 encoded, with a 44100 sample rate, in base64 format, to Cloud Speech API and get its transcription. There are three ways we can convert audio to text using the Cloud Speech API:

  • Synchronous speech recognition
  • Asynchronous speech recognition
  • Streaming speech recognition

Synchronous speech recognition

If our audio file is less than 1 minute, Synchronous speech recognition is a...

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 $19.99/month. Cancel anytime
Banner background image