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-Reco-DNN - All new Face Recognition

    Scheduled Pinned Locked Moved Utilities
    36 Posts 14 Posters 18.4k Views 17 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
      gaudouy @hANNEsLUL
      last edited by

      @hANNEsLUL
      Try this :

      pip --no-cache-dir install face_recognition
      -python setup.py install
      
      H 1 Reply Last reply Reply Quote 0
      • G Offline
        gaudouy
        last edited by

        What is the best camera for this module ?
        Pi NoIR Camera V2
        alt text
        https://www.raspberrypi.org/products/pi-noir-camera-v2/

        Or

        Camera Module V2
        alt text
        https://www.raspberrypi.org/products/camera-module-v2/

        Thanks for advance :)

        1 Reply Last reply Reply Quote 0
        • H Offline
          hANNEsLUL @gaudouy
          last edited by

          @gaudouy
          Thank you, seems like that worked.

          But now I am getting following error when I’m trying to run “encode.py”

          Python 3.7.3 (/usr/bin/python3)
          >>> %Run encode.py
          Traceback (most recent call last):
            File "/home/pi/MagicMirror/modules/MMM-Face-Reco-DNN/tools/encode.py", line 5, in <module>
              from imutils import paths
          ModuleNotFoundError: No module named 'imutils'
          >>> 
          

          But when I’m installing “imutils” using “pip install imutils” I am getting no error, but following message:

          Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
          Requirement already satisfied: imutils in ./.local/lib/python2.7/site-packages (0.5.3)
          

          Any Idea how to fix that?

          And to your best camera question for this module, I’m using the PiCamera Module v.2, but I can’t tell you how good its working, since the Face-Reco is not working yet…

          1 Reply Last reply Reply Quote 0
          • B Offline
            boppersnr @nischi
            last edited by

            @nischi
            First off, I love your module. Well done. Its lots of fun.

            Question - How can I display the frame/view of the camera on the magic mirror?
            I would like to see what the camera sees on the screen in Magic Mirror. So I can see the display and the little green boxes with the names of the faces it recognises. Do you know what I would need to do to display the camera frame with the facial recognition code running the scans/outputs on screen?

            A nischiN 2 Replies Last reply Reply Quote 1
            • G Offline
              ghiesseldorf @nischi
              last edited by

              @nischi If a user who isn’t known by Face-Reco-DNN moves in front of the camera, is a notification message generated and picked up by MMM-MotionControl? It doesn’t look like the “default” and/or “everyone” classes toggles the screen to un-blank. I was expecting that ANY motion (changes in the capture frames from the camera) would un-blank, but I’m not seeing this behavior. No log-in message gets written to the log.

              1 Reply Last reply Reply Quote 0
              • A Offline
                Alphons @boppersnr
                last edited by

                @boppersnr i also want to know.

                1 Reply Last reply Reply Quote 0
                • nischiN Offline
                  nischi @boppersnr
                  last edited by

                  @boppersnr said in MMM-Face-Reco-DNN - All new Face Recognition:

                  uld like to see what the camera sees on the screen in Magic Mirror. So I can see the display and the little green boxes with the names of the faces it recognises. Do you know what I would need to do to display the camera frame with the facial recognition code running the scans/outputs on screen?

                  This feature is not implemented, sorry. Maybe create a ticket in github?

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Mattheww
                    last edited by

                    @nischi In my case classes doesn’t work. I was testing this at a bunch of different modules and always was the same resault, nothing change if classes was defined or not. The face recognition is working I tested it with python. But in modules MMM-Face-Reno-DNN I can’t run classes. Whats more I need to run or where I need to look for a trouble and what can I do to solve it.

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Aquamannno @nischi
                      last edited by

                      @nischi when I bring this up only a black screen appears with me listing my name but what about the rest of the modules in the magic mirror could be nice with a photo of the recognized precision I find only this (jimbydude / MMM-Face-Multi -User-Recognition-SMAI)
                      is picked up by magic mirror without error and stops you who are so incredibly good please come up with a variant with photo and welcome greetings.looking forward to the changes. and on whore 1000 thanks.
                      Sincerely an unlearned raspberry pi owns rpi4 8g hq camera.
                      Roy Bråthe Norwar

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