Sunday, February 24, 2019

RE: how to recognize the voice using speech recognition in django

Hello all members of Django.

I, myself thinking of this question is great, want to know more about IVRS (Voice Interactive Response System) .

I would love to see some sample application to download and to learn from it.

Thank you everyone.

Sincerely,

 

Sent from Mail for Windows 10

 


From: django-users@googlegroups.com <django-users@googlegroups.com> on behalf of senthu nithy <senthunithy@gmail.com>
Sent: Saturday, February 23, 2019 10:04:19 PM
To: django-users@googlegroups.com
Subject: how to recognize the voice using speech recognition in django
 
Hi all, 
Currently, I am doing my research work on speech recognition using Django. I have only one month to submit my research work.  Recognize the word is a part of my research work. I don't know how to write the code part in Django.

import speech_recognition as sr

# get audio from the microphone 
r = sr.Recognizer() 
with sr.Microphone() as source: 
 print("Speak:") 
 audio = r.listen(source)

try:
 print("You said " + r.recognize_google(audio))
except sr.UnknownValueError:
 print("Could not understand audio")
except sr.RequestError as e:
 print("Could not request results; {0}".format(e))


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALEaTU7LkdoiwFa3Pcx253G%2BKm2T2UbamsO1aFB5UN%3Drq3VnGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment