Questions tagged [google-speech-to-text-api]

190 questions
2
votes
3 answers

Google Cloud Speech to Text Audio Timeout Error when used with Twilio "Stream" verb and Websocket

I'm currently trying to make a system that can transcribe a phone call in real time and then display the conversation in my command line. To do this, im using a Twilio phone number which sends out a http request when called. Then using Flask, Ngrok…
Max
  • 31
  • 4
2
votes
0 answers

error.runtime.java.lang.NoClassDefFoundError , Error processing request, java.lang.NoClassDefFoundError: com/google/cloud/speech/v1/SpeechClient

I have run Speech to text standalone application successfully on eclipse but now I integrated the same with my vxml application and deployed on tomcat but at the run time I am facing below issue. What could be the reason…
Tarun
  • 43
  • 1
  • 3
2
votes
1 answer

Send Google-Speech-Text Result to Server

I am trying to send the transcript generated by this example code from google for speech-to-text to nodejs server and display to user. var http = require('http'); const recorder = require('node-record-lpcm16'); const speech =…
2
votes
1 answer

What do confidence scores mean in speech recognition?

A lot of speech to text services (such as Google's) provide a confidence score. At least for Google it is between 0 and 1, but is clearly not the probability that a particular transcription is correct, as confidences for alternative transcriptions…
2
votes
3 answers

Google Speech - googleapiclient.errors.UnknownApiNameOrVersion: name: speech version: v1beta1

I have the below code import speech_recognition as sr filename = 'audio.flac' r = sr.Recognizer() with sr.AudioFile(filename) as source: print('Recording started....') audio_data = r.record(source) print('Recording completed....') …
1
vote
0 answers

How to setup streamingRecognize Google Cloud Speech To Text V2 in Node.js?

I am trying to setup the streamingRecognize() Google Cloud Speech to Text V2 in Node.js for streaming audio data and it always throws me the same Error upon the initial recognizer request to setup the stream: Error: 3 INVALID_ARGUMENT: Invalid…
1
vote
0 answers

How to implement real-time transcription along with speaker Identification for google meet

I'm working on developing a tool that can automatically join a Google Meet session, record the audio, and generate real-time notes that are aware of who is speaking. The tool should be able to identify speakers and accurately associate their spoken…
1
vote
0 answers

Google speech api returns empty result for longrunningrecognize endpoint

I am running a cloud function where I use Google speech to text api but I always get empty results. I am using a .wav audio file. The audio file is 4 minutes long and it's size is approximately 40mb. There might be some error with configuration but…
1
vote
1 answer

Is there a way to get timestamps of speaker switch times using Google Cloud's speech to text service?

I know there is a way to get delineated words by speaker using the google cloud speech to text API. I'm looking for a way to get the timestamps of when a speaker changes for a longer file. I know that Descript must do something like this under the…
1
vote
0 answers

Google speech-to-text is missing out few sentences in the transcript for hindi, telugu audios, why?

I tried Google speech-to-text for few hindi and telugu phone calls. It's missing out few sentences in the transcript. In the below image, we can see that 01:52 - 02:01 and 01:52 - 02:01 etc parts are missed in the transcript. I am facing same issue…
Tejaswini
  • 351
  • 3
  • 10
1
vote
1 answer

Google Speech-to-Text: Cannot use Custom Classes

I am following the Google Docs to do Transcription jobs by providing it with a PhraseSet and CustomClass. From my understanding, the PhraseSet defines the kind of structures with the phrases that Google should expect. the CustomClass defines…
FrenchMajesty
  • 1,101
  • 2
  • 14
  • 29
1
vote
0 answers

problem with google speech to text model adaptation

i have a problem with model adaptation in Cloud console. when i use Phrase with custom class,i do something like this: i got this error,but i can't set or get customClassId in Cloud console,just customClassName,but is't wrong when i use it in…
1
vote
0 answers

Google Speech To Text API not working in console

{ "error": { "code": 429, "message": "Quota exceeded for quota metric 'Requests' and limit 'Requests per minute' of service 'speech.googleapis.com' for consumer 'project_number:XXXXXXXXXX'.", "status": "RESOURCE_EXHAUSTED", "details": [ { "@type":…
1
vote
1 answer

Google Speech Recognition Library in Python has Extremely Slow speech_to_text() Times

As the title states, I am trying to do a continual listening AI named Sapphire using the speech_recognition library. For about one minute after starting the code fresh it works fine, however, after it has been running for more than a minute, the…
1
vote
1 answer

Google speech to text with java and twilio

I am having problem while converting audio file to text using google speech to text. I am able to download the file from Twilio but when I supply that audio file to google speech then it gives me 0 length response. But if I convert this downloaded…
1
2
3
12 13