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 Cloud Speech Recognition Permission Denied Error

I am trying to do Google cloud Speech Recognition for personal assistant built on python. I have a service account and also have setup GOOGLE_ACCOUNT_CREDENTIALS and also have enabled the API. But its not working. This is the example code from…
0
votes
1 answer

Google Speech Recognition API Result returns only metadata

I'm using this google app script for asynchronous speech recognition. It works perfectly fine with files under one minute but the result I get for a longer file (~12 mins) is this: [18-11-18 08:19:52:104 EST] { "name": "5822702390902833748", …
comerun
  • 1
  • 1
0
votes
1 answer

GAS catch "Exceeded memory limit" exception

I'm working on a GAS project with Speech to Text API. It's converting flac file, while the file is large than 2MB, execution is interrupted and got "Exceeded memory limit" error in the GAS code editor. Is there anyway I can catch such error in my…
tfchen
  • 539
  • 2
  • 6
  • 12
0
votes
1 answer

Google speech to text API Timeout

I would like to know if there is a way to set Timeout on the google speech to text API call. From the documentation below is the code to get the test from a wav file. However what i need is be able to set the timeout for this API call. I don't want…
VIRIYALA NARESH
  • 187
  • 1
  • 4
  • 17
0
votes
2 answers

Google SpeechClient API

I am trying to do some work using the Google Speech API. How can I specify the authentication keys using the Google Speech API Java library? I am using this method Google Speech API credentials I want to convert audio file into text Thank…
0
votes
0 answers

Is there an example of how to use Google Speech to text api in a React Native App

I have been trying to implement this for a while and I have not been able to and I was wondering if there is an example that I could look at. Any help would be greatly appreciated.
0
votes
1 answer

Google Speech API React-Native Error when running

Trying to move the Google Speech to text API into React-Native. This is the code that I have so far. The error that I get is this: "bundling failed: Error: Unable to resolve module fs from /Users/Desktop/finalTest/final3/App.js: Module fs does not…
0
votes
1 answer

Google Cloud Speech-to-Text in Python using websockets for Audio streams

Is there a good documentation for streaming audio from client side using JavaScript and websockets and converting it to text using Google Cloud Speech-to-Text in Python?
Dawn T Cherian
  • 4,968
  • 3
  • 24
  • 35
0
votes
0 answers

Google speech to text API in React Native question

I am trying to turn the following example into a code that I can use in a react app. I have tried using fetch but that hasn't worked for me yet. If there is an example out there let me know. const record = require("node-record-lpcm16"); // Imports…
0
votes
1 answer

How to use Google Speech to Text Feature with Microsoft Bot Framework Chatbot ?

I want to use, Google Speech to Text feature with my Microsoft Bot Framework based Chatbot, Regular implementation of Microsoft BorFramework based bot is as : const params = BotChat.queryParams(location.search); const user = { id:…
0
votes
1 answer

Google Speech Transcription

If the Google Speech API transcribes audio at near real time, and my latency to the actual server is only 50ms, why do I receive my final streaming transcription result after 1.6s? Shouldn’t I receive it in only a couple hundred milliseconds?
Harry Stuart
  • 1,781
  • 2
  • 24
  • 39
0
votes
1 answer

Google DialogFlow Intent Detection through Streaming Audio

My programming skill is very limited, so I apologize in advance. I am trying to receive a DialogFlow's intent through a streaming audio. I am testing it using a microphone. I referenced the following Google sample codes. Microphone Streaming Audio…
0
votes
0 answers

Empty result in Google speech client api

I am trying to implement speech recognition using Google speech api. I record a raw audio on my web page and then send the raw file to server where it is trying to recognize by using Google's speech api. Here is my angular code start()…
Jajan
  • 887
  • 3
  • 15
  • 28
0
votes
1 answer

service exception error 60 when trying to run google cloud speech transcription

I'm new to all this, so please be gentle. I know basic php and have WAMP installed on my computer. All I need is a simple way to transcribe audio files. I have the google cloud shell sdk installed and used that to have composer install the required…
Jonathan Grant
  • 143
  • 2
  • 15
0
votes
1 answer

Speech-to-Text: Cannot transcribe long audio files: "google.api_core.future.polling._OperationNotComplete"

I am using Google Speech-to-Text API for transcribing an audio that is 25 mins long. I have used the transcribe_async.py code for such task, as it is meant for long audio files. I am using Ubuntu 16.04, and Python 3.5.2. The code certainly works on…
Blue482
  • 2,926
  • 5
  • 29
  • 40