Read the statement by Michael Teeuw here.
Unsolved Web cam problem please help me T.T
-
@pkj i use a webcam on my MM as well, and use github motion for my MM-SleepWake module, and MM-voice/HelloLucy for the voice recognition
none of that uses python.
On a different Smart mirror platform (smart-mirror) that uses arecord to capture the voice sounds, there is a problem like u describe, due to a bug in arecord, but it starts to fail around 20 consecutive hours…
what modules are u using?
-
@sdetweil I use voicecontrol module and camera module. !!! and when i typed lsusb commands there were my webcam device. But when i typed arecord -l , there were nothing
-
i see this
-l = -L (lowercase)~/MagicMirror/modules$ arecord -l **** List of CAPTURE Hardware Devices **** card 1: U0x46d0x825 [USB Device 0x46d:0x825], device 0: USB Audio [USB Audio] Subdevices: 0/1 Subdevice #0: subdevice #0
also the bug i spoke to is also using Snowboy… the bug is that when spooling audio via stdout, arecord’s size counter wraps at 18 hours(2gig) , and no more audio is captured. only fix is to kill arecord and restart it (means restarting mirror app)
-
@sdetweil Thank you so much! Anyway I solved this problem!
-
@pkj what did you do to fix the problem?