My-Personal-HUB / AI_Jarvis

The AI Virtual Assistant works using an android app which is installed on the user's android phone. The user activates the agent using the wake up command, 'Listen up Jarvis'. The android app is connected to the Arduino 101 via Bluetooth which is inturn connected to the relay and hence the electrical appliances
GNU General Public License v3.0
21 stars 10 forks source link

No code that could recognise the sound and listen it? #2

Closed shivambitm closed 4 years ago

shivambitm commented 4 years ago

use sr.Recognizer() for listening to the user..

def takeCommand(): r=sr.Recognizer() with sr.Microphone() as source: print("Listening...") audio=r.listen(source) assign me for this @ayushii18

ayushii18 commented 4 years ago

use sr.Recognizer() for listening to the user..

def takeCommand(): r=sr.Recognizer() with sr.Microphone() as source: print("Listening...") audio=r.listen(source) assign me for this @ayushii18

@shivamkumar0611 please close this issue by tonight. siri2

sauravmandal255 commented 4 years ago

use sr.Recognizer() for listening to the user..

def takeCommand(): r=sr.Recognizer() with sr.Microphone() as source: print("Listening...") audio=r.listen(source) assign me for this @ayushii18

@shivamkumar0611 please close this issue by tonight. siri2

I could also do this

shivambitm commented 4 years ago

This issue was solved by @santosh-sudo Here is the link for the same - https://github.com/My-Personal-HUB/AI_Jarvis/pull/6 Great work everyone.