Open Shahista29 opened 6 years ago
paste the error log
(hhsmartmirror) pi@raspberrypi:~/AI-Smart-Mirror-master $ python bot.py/home/pi/AI-Smart-Mirror-master/hhsmartmirror/local/lib/python2.7/site-packages/pydub/utils.py:178: RuntimeWarning: Couldn't find ffplay or avplay - defaulting to ffplay, but may not work warn("Couldn't find ffplay or avplay - defaulting to ffplay, but may not work", RuntimeWarning) Warning: OpenCV not installed. To use facial recognition, make sure you've properly configured OpenCV. Used wrong endpoint for microphone debugging Found face ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa connect(2) call to /tmp/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed Used wrong endpoint for microphone debugging I'm listening Used wrong endpoint for microphone debugging Found audio Google Speech Recognition could not understand audio Found face Used wrong endpoint for microphone debugging I'm listening
what are you using for audio input
Microphone connected to sound card. For output speaker connected to hdmi port.
On 17 Apr 2018 6:45 pm, "Akshay Bahadur" notifications@github.com wrote:
what are you using for audio input
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/raghavpatnecha/smartmirror/issues/9#issuecomment-381987839, or mute the thread https://github.com/notifications/unsubscribe-auth/AkpCVd0wU8-41NR4KFrXB-iH61PFhHsFks5tperxgaJpZM4TYNuG .
I have tried every step mentioned from d hh video. Wen i try to start bot.py. It shows errors lyk unknown pcm.hdmi and say attempt to connect to server failed. It also says found face im listening. Google speech recognition is able to recognise the launch phrase. But it doesnt display anything or speaks back. Pls help me out