• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MMM-Face-Recon-DNN not getting past the opening video stream

Scheduled Pinned Locked Moved Unsolved Troubleshooting
3 Posts 2 Posters 449 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.
  • J Offline
    jamesarm
    last edited by Oct 11, 2021, 1:02 PM

    I have tried a few times to get Face recognition working. I initially installed the opencv bin package but then ended up compiling it myself. All of the sample apps I found online Face(something)GUI and the command line utilities all seem to work. I can see the RPICamera in the gui app and it was trained and shows it is working, but when I start MM with MMM-Face-Recon-DNN (and the other module I think it depends on), everything loads up to the point where it shows it is starting the video stream. It stops there and nothing after it works (MM only shows partial data on the screen). I checked the config and made sure it was set to rpicamera but also tried the /dev/video0 for kicks. Not sure what else to check at this point. Is there a different module that would work just as good, I am looking for multiple user support so I can show calendars and a different layout per person.

    K 1 Reply Last reply Oct 11, 2021, 6:21 PM Reply Quote 0
    • K Offline
      kicifans @jamesarm
      last edited by Oct 11, 2021, 6:21 PM

      Hey @jamesarm !
      Did you look at debug mode? Maybe it has some information if module starts/stops?
      Did you add classes to modules ?

      J 1 Reply Last reply Oct 13, 2021, 5:08 PM Reply Quote 0
      • J Offline
        jamesarm @kicifans
        last edited by Oct 13, 2021, 5:08 PM

        @kicifans Enabled debug and after closing the MMM-Faces module I tried to run, I can see the DNN module startup and the last thing it shows it opening camera stream. Nothing after that and no errors. It causes MM to stop updating any screens but shows only the modules rendered up to that point. If I press CTRL-C it stops and shows captured xx FPS so it is doing something, but the way the module is launching the python script, it isn’t allowing the main Magic mirror to process anymore (like it isn’t spawned in a thread or something but blocking instead).

        I figured I would try the MMM-Faces module again since it at least looked promising but when I open the management interface and click the camera icon for a preview, it only shows one image and doesn’t update in real time so I guess I need to troubleshoot that one instead unless there are any thoughts on the DNN module. I tried the python command from the command prompt and it said it was opening the input stream and creating output stream with no errors, just seems to block all processes if launched within the magic mirror setup.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          2/3
          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