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.

    Facial Recognition - customize your mirror for every user!

    Scheduled Pinned Locked Moved Troubleshooting
    215 Posts 55 Posters 484.2k Views 57 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.
    • G Offline
      gismo2006
      last edited by

      Hi,

      I use your Facial Recognition modul. I have create some user and everything work fine.

      But now I install MMM-Motion-Detection modul. I works fine, too. But if I use this modul your modul didn´t work. When I cut off the MMM-Motion-Detection module from config.js and start again your modul will work fine again.

      Can someone help me?

      greets gismo

      1 Reply Last reply Reply Quote 0
      • P Offline
        PrivatVoidMarmot @paviro
        last edited by PrivatVoidMarmot

        @paviro I have the same problem like @shashank, but I don’t figure out any mistake… the trainingfile is in the right direction… It doesn’t work with PiCam and with an webcam neither…

        1 Reply Last reply Reply Quote 0
        • P Offline
          PrivatVoidMarmot
          last edited by PrivatVoidMarmot

          Sorry for spaming,

          but I tried to refresh everything. So I installed the Rasbian new, the Magic Mirror, the Facial Recognition and the Tools. It worked… ONCE. After rebooting the system I have the same error as bevor:

          It load training data and select the PiCam and then it doesn’t go on. No error-message.

          Any idea which component was active when I reinstalled everything and isn’t active after rebooting?
          The camera is enabled.

          1 Reply Last reply Reply Quote 0
          • J Offline
            jer78
            last edited by

            I have the same issue. Training went fine. I got everything working but then after a reboot it seems to load the module but then nothing. It doesn’t seem to want to do anything. No errors just no facial recognition.

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jer78 @jer78
              last edited by

              So I figured out my own problem. Seems like it doesn’t like it when I changed the language file. Restored the old one and everything works as it should. Also, I find raising the threshold to 250 for the LBPH Algorithm helps a lot to get more accurate results. The confidence seems to hover around 49-52 for me but I couldn’t get any results with 50, constantly thought I was “stranger”. Thanks for all the hard work on this module. It’s really fun to play with!

              1 Reply Last reply Reply Quote 1
              • P Offline
                Prestitivo
                last edited by

                I got this module working after a bit of trial and error, and it’s awesome. I only have 1 issue so far. When I’m recognized, all of the modules drop by about 30 pixels. I’m not a programmer by any stretch of the imagination, but have no issues looking around at code trying to figure out what it does. I used Firebug to see what was going, and from what I can see, the one of the div’s updates from style=“display: none;” to style=“display: block;”. The part that’s really confusing me is that it only does this when it recognizes me. When it recognizes a stranger, none of the modules shift. I can provide anything requested, but I wasn’t sure if anyone else was experiencing this issue.

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  j.e.f.f Project Sponsor Module Developer @Prestitivo
                  last edited by

                  @Prestitivo It means you’ve configured that module to be displayed when you are recognized, and hidden when you are not. Take a look at your config to see if you can pinpoint which module is making this happen.

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    Prestitivo
                    last edited by

                    Ah yes, thank you. It was the “updatenotification” module in the top bar. I took myself off of that, and now it works as expected. Now that I think about it, that makes sense.

                    Still have a lot of tinkering to do, but this solved the annoying issue I caused.

                    Thank you kindly for the help.

                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      WookyDO
                      last edited by

                      Hi… will there be any possibility to use Facial Recognition along with motion detection for turning on/off the Display ?

                      Regards,
                      Wolfgang

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        eviltrooper
                        last edited by

                        Hello, have some Proplem with this Modul:

                        0|mm  | > magicmirror@2.5.0 start /home/pi/MagicMirror
                        0|mm  | > sh run-start.sh
                        
                        0|mm  | Starting MagicMirror: v2.5.0
                        0|mm  | Loading config ...
                        0|mm  | Loading module helpers ...
                        0|mm  | No helper found for module: alert.
                        0|mm  | Initializing new module helper ...
                        0|mm  | Module helper loaded: updatenotification
                        0|mm  | No helper found for module: clock.
                        0|mm  | Initializing new module helper ...
                        0|mm  | Module helper loaded: MMM-Facial-Recognition
                        0|mm  | Initializing new module helper ...
                        0|mm  | Module helper loaded: calendar
                        0|mm  | Initializing new module helper ...
                        0|mm  | Module helper loaded: MMM-EARTH
                        0|mm  | No helper found for module: currentweather.
                        0|mm  | No helper found for module: weatherforecast.
                        0|mm  | Initializing new module helper ...
                        0|mm  | Check MagicMirror version for node helper 'MMM-LocalTemperature' - Minimum version:  2.2.1 - Current version: 2.5.0
                        0|mm  | Version is ok!
                        0|mm  | Module helper loaded: MMM-LocalTemperature
                        0|mm  | Initializing new module helper ...
                        0|mm  | Module helper loaded: mmm-systemtemperature
                        0|mm  | Initializing new module helper ...
                        0|mm  | Module helper loaded: newsfeed
                        0|mm  | All module helpers loaded.
                        0|mm  | Starting server on port 8080 ...
                        0|mm  | Server started ...
                        0|mm  | Connecting socket for: updatenotification
                        0|mm  | Connecting socket for: MMM-Facial-Recognition
                        0|mm  | Starting module helper: MMM-Facial-Recognition
                        0|mm  | Connecting socket for: calendar
                        0|mm  | Starting node helper for: calendar
                        0|mm  | Connecting socket for: MMM-EARTH
                        0|mm  | Starting module: MMM-EARTH
                        0|mm  | Connecting socket for: MMM-LocalTemperature
                        0|mm  | MMM-LocalTemperature: module loaded! Path: /home/pi/MagicMirror/modules/MMM-LocalTemperature
                        0|mm  | Connecting socket for: mmm-systemtemperature
                        0|mm  | Starting node helper: mmm-systemtemperature
                        0|mm  | Connecting socket for: newsfeed
                        0|mm  | Starting module: newsfeed
                        0|mm  | Sockets connected & modules started ...
                        0|mm  | (node:11742) [DEP0025] DeprecationWarning: sys is deprecated. Use util instead.
                        0|mm  | Launching application.
                        0|mm  | libGL error: MESA-LOADER: failed to retrieve device information
                        0|mm  | MESA-LOADER: failed to retrieve device information
                        0|mm  | MESA-LOADER: failed to retrieve device information
                        0|mm  | Create new calendar fetcher for url: http://.... - Interval: 300000
                        0|mm  | Whoops! There was an uncaught exception...
                        0|mm  | TypeError: PythonShell is not a constructor
                        0|mm  |     at Class.python_start (/home/pi/MagicMirror/modules/MMM-Facial-Recognition/node_helper.js:11:21)
                        0|mm  |     at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-Facial-Recognition/node_helper.js:40:14)
                        0|mm  |     at Socket.<anonymous> (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:113:11)
                        0|mm  |     at emitTwo (events.js:126:13)
                        0|mm  |     at Socket.emit (events.js:214:7)
                        0|mm  |     at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:513:12
                        0|mm  |     at _combinedTickCallback (internal/process/next_tick.js:131:7)
                        0|mm  |     at process._tickCallback (internal/process/next_tick.js:180:9)
                        0|mm  | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                        0|mm  | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                        0|mm  | Create new calendar fetcher for url: http://i.cal.to/.....ics - Interval: 300000
                        0|mm  | https://epic.gsfc.nasa.gov/api/natural
                        0|mm  | MMM-LocalTemperature: Socket Notification Received: "INIT".
                        0|mm  | MMM-LocalTemperature: Socket Notification Received: "GET_DATA".
                        0|mm  | Create new news fetcher for url: https://www.ofc.de/rss-feed.xml - Interval: 300000
                        0|mm  | Create new news fetcher for url: http://www.tagesschau.de/xml/rss2 - Interval: 300000
                        

                        TypeError: PythonShell is not a constructor

                        anyone an idea?

                        N 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 10
                        • 11
                        • 12
                        • 13
                        • 14
                        • 21
                        • 22
                        • 12 / 22
                        • 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