Read the statement by Michael Teeuw here.
MMM-Face-Recon-DNN not getting past the opening video stream
-
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.
-
Hey @jamesarm !
Did you look at debug mode? Maybe it has some information if module starts/stops?
Did you add classes to modules ? -
@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.