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.
    • B Offline
      benkej @YourhighnessLeender
      last edited by

      @YourhighnessLeender unfortunately yes :angry:
      I try to reinstall the whole system

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

        @benkej oke, please update on your progress. Good luck. Im very close to giving up.

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

          @PointPubMedia Well sure but you could also write your own module listening for the notifications from my module :)

          @bhepler said in Facial Recognition - customize your mirror for every user!:

          @YourhighnessLeender Check your capitalization. Your training script output was ‘Johannes’ and your config.js has ‘johannes’.

          This does not make any difference :)

          @benkej said in Facial Recognition - customize your mirror for every user!:

          @YourhighnessLeender only for trial but I changed everything back to the default. I’m using raspberry pi 3 model b, here is part of my config:

          Read 3 positive images and 400 negative images.
          

          You should definitely use more than 3 pictures! I use around 200 :D

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

          – The Doctor

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

            @paviro 200 pictures - aha! Maybe my 13 isnt enough. I can’t use the capture script since i’m on webcam so I took em with my phone and transferred them to the pi. I’ll add more and cross my fingers.

            1 Reply Last reply Reply Quote 0
            • 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

                                            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
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 7 / 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