Apr-07-2018, 02:05 PM
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.