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 519.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.
    • paviroP Offline
      paviro
      last edited by

      Well that could also be a cause. You should use the same camera for best results!
      Why shouldn’t you be able to use a webcam with the capture script? I never used it with anything else to be honest :D

      We're all stories in the end. Just make it a good one, eh?

      – The Doctor

      Y 1 Reply Last reply Reply Quote 1
      • Y Offline
        YourhighnessLeender @paviro
        last edited by

        @paviro hmm. Just can’t get it working for some reason… will try again. It complaind about no picam. Maybe I have to change something in the script? I’ll du another try.

        1 Reply Last reply Reply Quote 0
        • paviroP Offline
          paviro
          last edited by

          Well the capture script does not have an enforce webcam option. Try to uninstall the picam python module, it will fallback to webcam then.

          To minimize recognition errors the MagicMirror module requires two identical recognitions to be accepted as current user. If your training data is not good enough it could happen that you are never recognized twice in two directly following images -> Always unknown user.

          We're all stories in the end. Just make it a good one, eh?

          – The Doctor

          Y 1 Reply Last reply Reply Quote 0
          • Y Offline
            YourhighnessLeender @paviro
            last edited by

            @paviro thanks for the help. How do I uninstall the picam? Is it just to remove picam.py?

            1 Reply Last reply Reply Quote 0
            • paviroP Offline
              paviro
              last edited by

              Nooo! Don’t mess with the module code! I just added an option to force webcam use, checkout the updated code on GitHub :)

              We're all stories in the end. Just make it a good one, eh?

              – The Doctor

              Y 2 Replies Last reply Reply Quote 2
              • Y Offline
                YourhighnessLeender @paviro
                last edited by

                @paviro thanks paviro! Will do!

                1 Reply Last reply Reply Quote 0
                • B Offline
                  benkej @paviro
                  last edited by

                  @paviro Thanks! I’ll add more images and try to recognize my face.
                  But It’s very interesting that facerecognition_tester can identify me only from this three images

                  paviroP 1 Reply Last reply Reply Quote 0
                  • Y Offline
                    YourhighnessLeender @paviro
                    last edited by

                    @paviro thanks!!! 200+ images captured and it’s now working :-) :pray: just need to tweak the threshold to be a bit more forgiving.

                    1 Reply Last reply Reply Quote 0
                    • paviroP Offline
                      paviro @benkej
                      last edited by paviro

                      @benkej as I stated the MagicMirror module need two identical identifies in a row :)
                      @YourhighnessLeender glad to hear :)

                      We're all stories in the end. Just make it a good one, eh?

                      – The Doctor

                      B 1 Reply Last reply Reply Quote 0
                      • B Offline
                        benkej @paviro
                        last edited by benkej

                        @paviro 223 positive images and no success :( maybe I have to add more :blush:
                        What is the best practice to take the pictures? Sit closer to picam and rotate the face or not move and shoot few picture?

                        1 Reply Last reply Reply Quote 0
                        • paviroP Offline
                          paviro
                          last edited by

                          I try to take pictures in different lighting conditions with slight changes in angle. One looking a bit down, one a bit to the left and so on.

                          We're all stories in the end. Just make it a good one, eh?

                          – The Doctor

                          B 2 Replies Last reply Reply Quote 0
                          • B Offline
                            benkej @paviro
                            last edited by

                            @paviro ok, thank you

                            1 Reply Last reply Reply Quote 0
                            • PointPubMediaP Offline
                              PointPubMedia
                              last edited by

                              Not sure why, but got better performance with Fisher instead of LBPH

                              1 Reply Last reply Reply Quote 0
                              • paviroP Offline
                                paviro
                                last edited by

                                That’s why there are multiple algorithms :D Choose the one that works best for you :)

                                We're all stories in the end. Just make it a good one, eh?

                                – The Doctor

                                1 Reply Last reply Reply Quote 0
                                • R Offline
                                  reaper81
                                  last edited by

                                  hi, is it possible to turn off the popup-window “Gesichtserkennung …” when a face is tracked?

                                  Y 1 Reply Last reply Reply Quote 0
                                  • Y Offline
                                    YourhighnessLeender @reaper81
                                    last edited by

                                    @reaper81 just remove the notification module in config.js

                                    tosti007T I 2 Replies Last reply Reply Quote 0
                                    • tosti007T Offline
                                      tosti007 Module Developer @YourhighnessLeender
                                      last edited by

                                      @YourhighnessLeender @reaper81 I would not advise removing the notification module, since then you wouldn’t be able to see any notification anymore. Instead I would suggest you to remove the lines in the MMM-Facial-Recognition.js file where they call this.sendNotification("SHOW_ALERT", here also something);

                                      If there is anything don't hesitate to contact me!
                                      ProfileSwitcher, TouchNotifications

                                      1 Reply Last reply Reply Quote 0
                                      • paviroP Offline
                                        paviro
                                        last edited by

                                        Added an option.
                                        @tosti007 I am not sure its a good idea to advice people to change module code since it makes updating more dificult for them and could also break stuff.

                                        We're all stories in the end. Just make it a good one, eh?

                                        – The Doctor

                                        tosti007T R 2 Replies Last reply Reply Quote 0
                                        • tosti007T Offline
                                          tosti007 Module Developer @paviro
                                          last edited by

                                          @paviro Yea that’s true, sorry for it, however I also don’t really think it’s advisable to disable the notifications in total. I see an option for a new configurable feature here? :)

                                          If there is anything don't hesitate to contact me!
                                          ProfileSwitcher, TouchNotifications

                                          1 Reply Last reply Reply Quote 0
                                          • B Offline
                                            benkej @paviro
                                            last edited by

                                            @paviro it’s working now! Thank you :) I changed the algorithm from LBPH to Fisher regenerated the training.xml with train.py and my mirror can identify me :-D
                                            unfortunately I have new problem.
                                            Everything working great until only one person is in training.xml if it’s more then one person face is trained identify mirror the face but the name is always from the last person in the user list.

                                            paviroP 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 10
                                            • 11
                                            • 1 / 11
                                            • 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