Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between Android Speech to Text API (Recognizer Intent) and Google Cloud Speech API?

So i'm looking into building a speech to text app for fun. I did some research and found an inbuilt Speech to Text API using RecognizerIntent that is free, but also found that google is now offerieng a cloud speech API that the charge for.

My question is, what is the difference between them, and If i use the inbuilt RecognizerIntent, is it free?

like image 927
AndroidDev21921 Avatar asked Nov 30 '16 17:11

AndroidDev21921


People also ask

What is Google Speech API?

Google Cloud Speech API enables developers to convert audio to text by applying powerful neural network models in an easy to use API. The API recognizes over 80 languages and variants, to support your global user base.

How does Google Cloud Speech API work?

A streaming Speech-to-Text API recognition call is designed for real-time capture and recognition of audio, within a bi-directional stream. Your application can send audio on the request stream, and receive interim and final recognition results on the response stream in real time.


1 Answers

For the Google Cloud Speech API, refer to the following link:

https://cloud.google.com/speech/. Here are the highlights:

  1. It supports 80 different languages.
  2. It can recognize audio uploaded in the request.
  3. It returns text results in real-time.
  4. It is accurate in noisy environments.
  5. It works with apps across any device and platform.
  6. It is not free. Refer to the following link for pricing:

https://cloud.google.com/speech/pricing

For the Android Speech-to-Text API (Recognizer Intent), refer to the following link:

http://www.androidhive.info/2014/07/android-speech-to-text-tutorial/. Here are the highlights:

  1. Need to pass local language to convert speech to text.
  2. Not all devices support offline speech input.
  3. You cannot pass an audio file to be recognized.
  4. The intent returns an array of strings which match to out input. We can consider first one as the most accurate.
  5. It only works with Android phones.
  6. It is free.
like image 143
Patrick R Avatar answered Oct 17 '22 09:10

Patrick R