Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
speechrecognition 3.8.1
#1
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.
Reply
#2
There is a way but it will cost you: https://cloud.google.com/speech/pricing
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Error with SpeechRecognition module glittergirl 3 2,793 Aug-04-2020, 02:27 PM
Last Post: Gribouillis
  Cannot use speechrecognition Please HELP Simurg 1 2,121 Aug-11-2019, 07:12 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020