Monday, February 25, 2019

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

You could look into AWS 
https://aws.amazon.com/transcribe/

Plug the APIs and AWS does all the work for you.

On 24-Feb-2019 at 09:34, <senthu nithy> wrote:

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.

--
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/CA%2BPZjtQSBpeLTb7AvPsJu5ovdbC97RzpmM-hcnN%3DYyO47oTmgA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment