Questions tagged [google-speech-api]

With Google Speech API you can convert speech to text file based or live stream

The https://cloud.google.com/speech/ and is part of https://cloud.google.com/products/ to allow for speech to text conversion.

When using a live stream words are returned almost realtime. This is limited by 1 minute or when paused for ~1 second. When using an asynchronous file the speech to text can be as long as 80 minutes. See https://cloud.google.com/speech/limits

For more see https://cloud.google.com/speech/docs/

837 questions
0
votes
1 answer

Google Speech bash script with base64 : Unexpected token.\n

I use the following code : https://github.com/sararob/ml-talk-demos/blob/master/speech/request.sh to fit my own bash script. cat < $JSONFILENAME { "config": { "encoding":"LINEAR16", "sampleRateHertz":8000, "languageCode":…
user2795648
  • 119
  • 1
  • 11
0
votes
1 answer

Google Cloud Speech-to-Text API - Multi-speaker recognition?

The new Google Cloud Speech-to-Text API is said to be the best in the market. Does it provide speaker annotation (or other speaker information) at all? Like who says what at what time. I can't seem to find anywhere on its documentation or examples…
0
votes
1 answer

google Speech API for iOS Out of vocabulary training set

I am working on a project which uses Google Speech API in iOS project. The project involves Voice input to recognize many terms which are basically jargons. The Google speech API gracefully fails to recognize this voice input for this jargons. Is…
BlackPearl12
  • 306
  • 5
  • 20
0
votes
1 answer

Google Speech API Empty Answer

For tests I used the Google Example of the speech api (https://cloud.google.com/speech-to-text/docs/reference/rest/v1/speech/recognize) There I tried a .ogg file This one (https://www.dropbox.com/s/lw66x3g143mtnsl/SpeechToText.ogg?dl=0) I converted…
BluPxl
  • 35
  • 8
0
votes
1 answer

how to use google cloud api in java with gradle

enter image description here I was following the tutorial on the Google Cloud platform, but I do not get it at all. enter image description here So I got a bulid file that did not exist, and I thought I could use the build / ilbs / name-jar file,…
0
votes
1 answer

how to speed up google cloud speech

I am using a microphone which records sound through a browser, converts it into a file and sends the file to a java server. Then, my java server sends the file to the cloud speech api and gives me the transcription. The problem is that the…
0
votes
1 answer

Google Cloud Speech API - certificate verify failed in Python

I'm using SpeechRecognition library. import speech_recognition as sr AUDIO_FILE = 'test_audio.wav' with open("api-key.json") as f: GOOGLE_CLOUD_SPEECH_CREDENTIALS = f.read() r = sr.Recognizer() with sr.AudioFile(AUDIO_FILE) as source: …
Shanid
  • 557
  • 12
  • 30
0
votes
1 answer

How multiple users use google cloud speech at the same time

I'm building an app that uses Google Cloud Speech. I have a Google Service account key in my app, and I use it to call the API. It works well when used by one user, but does not work when multiple users use it at the same time. For example, only one…
0
votes
0 answers

how to deploy a web app that uses google speech api

I've managed to create a web app that uses google speech api It's essentially a video chat web app that translates text real time So speech is converted to text, which is then translated to another language(using google translate api) and the…
0
votes
1 answer

How to declare the `GOOGLE_APPLICATION_CREDENTIALS` environment variable?

I am trying the QuickStart project of the .NET Google Cloud Speech API Samples on my PC (Windows with Visual Studio 2017) but I can't figure where I have to define the GOOGLE_APPLICATION_CREDENTIALS that must contains the path to the JSON account…
0
votes
1 answer

why enable_automatic_punctuation=true gives an error in python 3

i want to get a word transcript that has punctuation from google-speech-api. i am using python 3 and i get this error when i run my code which is the exact same code sample…
0
votes
1 answer

Google Cloud Speech API enhance mode error

I am trying to use the setUseEnhanced field in the Speech API and I am getting an error like this: java.util.concurrent.ExecutionException: com.google.api.gax.rpc.InvalidArgumentException: io.grpc.StatusRuntimeException: INVALID_ARGUMENT:…
0
votes
0 answers

Bad config error when executing google speech api sample code

https://cloud.google.com/speech-to-text/docs/streaming-recognize I've been trying to execute the sample google speech api code under "Performing Streaming Speech Recognition on an Audio Stream" Here is the code I have been trying to execute: …
0
votes
1 answer

Reading Google spread sheet

I am trying to read Google SpreadSheet using java code. For that I have downloaded the client_secret.json file and configured in my java code as below: public static Credential authorize() throws IOException { // Load client secrets. …
user2531569
  • 609
  • 4
  • 18
  • 36
0
votes
0 answers

Google Cloud Speech SSLHandshakeException

I have developed an application using Google Cloud Speech to translate audio into text. I have had some issued with certificate for ssl: - At first I was adding to jks the certificate for https://*.googleapis.com, but this certificate was changing…
ricardo
  • 26
  • 5