MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    FaceRecog and Selfie : Streaming error

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 2 Posters 351 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z Offline
      ZeFX
      last edited by

      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 !

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @ZeFX
        last edited by

        @ZeFX no… none of the modules implement resource sharing

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • Z Offline
          ZeFX
          last edited by

          Thanks for your answer… I’ll try to think about an other way then.
          Cheers

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy