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

    Scheduled Pinned Locked Moved Solved Troubleshooting
    20 Posts 2 Posters 8.0k Views 2 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.
    • S Do not disturb
      sdetweil @danningson
      last edited by

      @danningson you ARE in the root of the module folder when you did npm run encode, right??

      cd ~/MagicMirror/modules/MMM-Face-Reco-DNN
      

      then you can run encode per the instructions

      npm run encode
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • D Offline
        danningson
        last edited by

        Correct. I actuallly tride it from the MMM-Face-Reco-DNN and got the error message. I then went to tool and say the file and ecen tried to run it from there but got the same message.

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @danningson
          last edited by

          @danningson this could be because of the need for the python virtual environment not being set up

          I know he made a bunch of changes recently which require the venv…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            danningson @sdetweil
            last edited by

            @sdetweil Hi Sam - first, thank you for your time and expertise. I really do appreciate all the help. looks like you were right. I went back and ran the script again and noticed the environment additions. After running those I was able to run the encode.py program and it added several of the new pics i took. To further my troublshooting i added several classes as unknow. My thought was if the camera is seeing me but not recognizing me at least those moduels would show up and tell me the program was working correctly. Unfortunatly I got no reaction when looking into the camera either known or unknown. the camera is still wotking with the libcamera-still -o test.jpg so I am not sure why the program is failing to pic up anything. Again, thanks for your help

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @danningson
              last edited by

              @danningson is mm running under that venv?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                danningson @sdetweil
                last edited by

                @sdetweil I’m not sure. I typed in env and got back a whole bunch of stuff i don’t understand

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @danningson
                  last edited by

                  @danningson usually the terminal window prompt has the active python venv name prepended

                  (base) here on my system

                  (base) sam@sams:~/MagicMirror$ 
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  D 2 Replies Last reply Reply Quote 0
                  • D Offline
                    danningson @sdetweil
                    last edited by

                    @sdetweil Ah, this pi is only intended for the mirror so i simply named it mm
                    mm@raspberrypi:~/MagicMirror $

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      danningson @sdetweil
                      last edited by

                      @sdetweil I just ran the install script again and now i get this:
                      (python-facereco) mm@raspberrypi:~/MagicMirror $

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @danningson
                        last edited by

                        @danningson ok, and NOW does facereco work?

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        D 2 Replies Last reply Reply Quote 0
                        • D Offline
                          danningson @sdetweil
                          last edited by

                          @sdetweil sorry, I should have included that in my response. No sadley I get no recognition or even an unknown face. The items with classes do not show, which is correct but it is as if the cammera is not seeing anything but I know it works.

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            danningson @sdetweil
                            last edited by

                            @sdetweil I came up with the briliant ide a to reboot the pi and now the (python-facereco) is gone as well. and yes, still no reaction from the camera

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @danningson
                              last edited by

                              @danningson you need to add the venv setup to the ~/.bashrc

                              so it’s always set when a script is run

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              D 1 Reply Last reply Reply Quote 0
                              • D Offline
                                danningson @sdetweil
                                last edited by

                                @sdetweil It works!! Thank you for all your help! although i am back to nat having the (python-facereco) anymore it works and recgonizes both my wife and myself.
                                Thanks for your time and and expertise on this.

                                S 1 Reply Last reply Reply Quote 1
                                • S Do not disturb
                                  sdetweil @danningson
                                  last edited by

                                  @danningson awesome

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  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 / 1
                                  • 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