Read the statement by Michael Teeuw here.
FaceRecog and Selfie : Streaming error
Hello Everyone !
I have installed a PiCamera V1 on the mirror and it is a lot of fun.
I started by using MMM-Selfie, worked great. Then FaceRecognition-DNN, worked great, impressive stuff.
However, now that both camera modules are installed, MMM Selfie can’t access the camera anymore, instead it gives the error below:
[2020-10-07 17:18:00.325] [LOG] [SELFIE] Error: Error: Command failed: fswebcam -q -r 3280x2464 --jpeg 100 -d /dev/video0 --no-banner /home/pi/MagicMirror/modules/MMM-Selfieshot/photos/201007_171800.jpg Error starting stream. VIDIOC_STREAMON: Invalid argument VIDIOC_DQBUF: Invalid argument
My guess is that FaceRecognition is blocking the access to the camera for other module. Anyway to disable to send a notification or force the module to be temporarily disabled in order for MMM-Selfie to access the PiCamera ?
I haven’t come across any similar topic on the forum, any pointers will be appreciated !
Thanks and have a good one !
@ZeFX no… none of the modules implement resource sharing
Thanks for your answer… I’ll try to think about an other way then.