speech-recognition

I have just started using IBM Cloud. I am trying to get a different output from the IBM Voice depending on my voice input. How can I do this? [closed]

冷暖自知 提交于 2020-05-14 14:23:31
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 days ago . I am trying to design this simple virtual assistant. I am very new to all of this. import json from symbol import parameters from ibm_watson import TextToSpeechV1 from ibm_cloud_sdk_core.authenticators import IAMAuthenticator from ibm_watson import ApiException import speech

I have just started using IBM Cloud. I am trying to get a different output from the IBM Voice depending on my voice input. How can I do this? [closed]

不问归期 提交于 2020-05-14 14:20:00
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 days ago . I am trying to design this simple virtual assistant. I am very new to all of this. import json from symbol import parameters from ibm_watson import TextToSpeechV1 from ibm_cloud_sdk_core.authenticators import IAMAuthenticator from ibm_watson import ApiException import speech

I have just started using IBM Cloud. I am trying to get a different output from the IBM Voice depending on my voice input. How can I do this? [closed]

百般思念 提交于 2020-05-14 14:19:33
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 days ago . I am trying to design this simple virtual assistant. I am very new to all of this. import json from symbol import parameters from ibm_watson import TextToSpeechV1 from ibm_cloud_sdk_core.authenticators import IAMAuthenticator from ibm_watson import ApiException import speech

How to simultaneously read audio samples while recording in python for real-time speech to text conversion?

和自甴很熟 提交于 2020-05-12 09:08:51
问题 Basically I have trained a few models using keras to do isolated word recognition. Currently i can record the audio using sound device record function for a pre-fixed duration and save the audio file as a wav file. I have implemented silence detection to trim out unwanted samples. But this is all working after the whole recording is complete. I would like to get the trimmed audio segments immediately while recording simultaneously so that i can do speech recognition in real-time. I'm using

Error “Could not find PyAudio; check installation” on Windows

青春壹個敷衍的年華 提交于 2020-04-30 08:32:39
问题 I have simple code in python to recognise my voice and convert it in text. I am using speech recognition. But I am getting error "Could not find PyAudio; check installation". How to fix? Here is my code: import speech_recognition as sr r = sr.Recognizer() with sr.Microphone() as source: print('Speak anything') audio = r.listen(source) try: global command command = r.recognize_google(audio) print('You said : {}'.format(text)) except: print('Sorry,coud not recognize') 回答1: Install pyaudio. if

Error “Could not find PyAudio; check installation” on Windows

不想你离开。 提交于 2020-04-30 08:30:52
问题 I have simple code in python to recognise my voice and convert it in text. I am using speech recognition. But I am getting error "Could not find PyAudio; check installation". How to fix? Here is my code: import speech_recognition as sr r = sr.Recognizer() with sr.Microphone() as source: print('Speak anything') audio = r.listen(source) try: global command command = r.recognize_google(audio) print('You said : {}'.format(text)) except: print('Sorry,coud not recognize') 回答1: Install pyaudio. if

Error “Could not find PyAudio; check installation” on Windows

旧街凉风 提交于 2020-04-30 08:30:10
问题 I have simple code in python to recognise my voice and convert it in text. I am using speech recognition. But I am getting error "Could not find PyAudio; check installation". How to fix? Here is my code: import speech_recognition as sr r = sr.Recognizer() with sr.Microphone() as source: print('Speak anything') audio = r.listen(source) try: global command command = r.recognize_google(audio) print('You said : {}'.format(text)) except: print('Sorry,coud not recognize') 回答1: Install pyaudio. if

speech recognition does not return good the value on time ionic 5

北慕城南 提交于 2020-03-25 18:45:17
问题 I have a problem with this ionic plugin, I do everything right, but when you bring me the data, it does so after a subsequent action, such as pressing the button again or simply pressing some other element. I leave my code in case someone can help me. Below is my HTML code: <ion-header class="ion-no-border"> <ion-grid fixed> <ion-row> <ion-col size="10"> <ion-searchbar cancelable="true" [(ngModel)]="textoBuscar" (ionInput)="getItems($event)" debounce=1 (enter)="getItems($event)" search-icon=

speech recognition does not return good the value on time ionic 5

戏子无情 提交于 2020-03-25 18:41:01
问题 I have a problem with this ionic plugin, I do everything right, but when you bring me the data, it does so after a subsequent action, such as pressing the button again or simply pressing some other element. I leave my code in case someone can help me. Below is my HTML code: <ion-header class="ion-no-border"> <ion-grid fixed> <ion-row> <ion-col size="10"> <ion-searchbar cancelable="true" [(ngModel)]="textoBuscar" (ionInput)="getItems($event)" debounce=1 (enter)="getItems($event)" search-icon=

com.google.api.gax.rpc.UnavailableException: io.grpc.StatusRuntimeException: UNAVAILABLE: Credentials failed to obtain metadata :cloud speech

雨燕双飞 提交于 2020-03-25 16:36:06
问题 i've done a speech to text configuration using google's cloud speech api in java, this works on other machine but the same setup does not work on my machine. i've installed google cloud platform tools from eclipse market place also i've set the environment credential variable for run time. can anyone please help ? 来源: https://stackoverflow.com/questions/59845869/com-google-api-gax-rpc-unavailableexception-io-grpc-statusruntimeexception-una