Python Forum
speechrecognition 3.8.1 - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: speechrecognition 3.8.1 (/thread-9417.html)



speechrecognition 3.8.1 - aibrain - Apr-07-2018

I am using speech_recognition library in python 3.6. Using google speech recognizer. The default api key works but has limited quota. I wanted to know if there is a way of using google apikey with recognize_google(this call uses default api key)
import speech_recognition as sr
r=sr.Recognizer()
with sr.Microphone() as source:
   r.adjust_for_ambient_noise(source)
   audio = r.listen(source)
   try:
      text=r.recognize_google(audio)
Thanks.


RE: speechrecognition 3.8.1 - wavic - Apr-07-2018

There is a way but it will cost you: https://cloud.google.com/speech/pricing