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-Facial-Recognition

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    31 Posts 2 Posters 15.6k 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 Offline
      sdetweil @Buncie
      last edited by sdetweil

      @Buncie sorry, I don’t know anything about the module. Maybe another user or the author will come by and be able to help.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • B Offline
        Buncie
        last edited by

        Here is the example_module too.
        0_1571939894892_e87da1f0-d4b5-47a0-a408-02a8f8b229ef-image.png
        https://photos.google.com/share/AF1QipNGBelqXy6FuDK2WKQjyrvIxPsl0zeMPi5hwGZorQXEywzcP2d-MuxoLl4vwS5XCA?key=VGR6VGsxWEV6M1owTEI0Rlh6QVVQWkl0TXlkRVFn

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Buncie
          last edited by

          @Buncie there is no example module. He was just suggesting that using classes u could make a module show or hide

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • B Offline
            Buncie
            last edited by

            So I should delete the example and everything should be fixed?

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Buncie
              last edited by

              @Buncie again, I do not know. First time looking at it. On my phone so hard to read the code

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • B Offline
                Buncie
                last edited by

                Even after the reboot, it still shows a black screen. I did crtl-shift-i and it’s showing no error messages. Have any ideas?

                1 Reply Last reply Reply Quote 0
                • B Offline
                  Buncie
                  last edited by

                  I need to leave my classroom, I shall hope to resume this chat tomorrow.

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    Buncie
                    last edited by

                    I’m back, I’m still getting the same error, did anyone figure it out what I did wrong?

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Buncie
                      last edited by

                      @Buncie can u show output of

                      pm2 logs --lines=100
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        Buncie
                        last edited by

                        How would I do that?

                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          sdetweil @Buncie
                          last edited by

                          @Buncie via ssh or on screen do the command in a command prompt

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            Buncie
                            last edited by

                            0_1572021569613_2fdb0391-b380-42fb-be8a-a18d49f3cc88-image.png
                            https://photos.google.com/share/AF1QipPm5it4o56ZmhXqukbDCag27So1yV4DE65QoD-QLzXXuWVkAHkMnFgzTQj5pJruHw?key=REVKY2wtM0VVNXRLZHZ1cUE0Z3NFRVBwcXFfd3ZB![0_1572021578247_cc5f68ac-5b9f-4b16-ac72-063229019bdb-image.png](/assets/uploads/files/1572021578595-cc5f68ac-5b9f-4b16-ac72-063229019bdb-image.png)
                            https://photos.google.com/share/AF1QipPm5it4o56ZmhXqukbDCag27So1yV4DE65QoD-QLzXXuWVkAHkMnFgzTQj5pJruHw?key=REVKY2wtM0VVNXRLZHZ1cUE0Z3NFRVBwcXFfd3ZB![0_1572021594291_0a64d8b7-5427-4bea-a6e8-82c121e379a9-image.png](/assets/uploads/files/1572021594519-0a64d8b7-5427-4bea-a6e8-82c121e379a9-image.png)
                            https://photos.google.com/share/AF1QipPm5it4o56ZmhXqukbDCag27So1yV4DE65QoD-QLzXXuWVkAHkMnFgzTQj5pJruHw?key=REVKY2wtM0VVNXRLZHZ1cUE0Z3NFRVBwcXFfd3ZB![0_1572021616048_23915c52-6290-4fb6-a7b1-a61237d964fa-image.png](/assets/uploads/files/1572021616246-23915c52-6290-4fb6-a7b1-a61237d964fa-image.png)
                            https://photos.google.com/share/AF1QipPm5it4o56ZmhXqukbDCag27So1yV4DE65QoD-QLzXXuWVkAHkMnFgzTQj5pJruHw?key=REVKY2wtM0VVNXRLZHZ1cUE0Z3NFRVBwcXFfd3ZBhttps://lh3.googleusercontent.com/vCzy2ZpJRncIL7OYPO94k3diYIZqaKa-Ak_6s_ZPQwwR3PD9t8FRXx7x44Q8AT8BkMxfNTrUnKDTKolVIEChxq29GqXntRs6ZeO_wWmnSEb90VLeq9-8nSOh8KPcmEUZoq3OALYEDEwcrDJi47wxmaJ0H-C2mcBgR3cLex-vwgVybFIPwxoqz1s4hGgGQvch7XE3-iVI-1daRcgP3wv5Y3M6Hz-VzPY4OxQAEdBy7sfjc4xEdi_C9_nvSEf1hMTE8u1d7rq8Q2H0gcsa_JQ-zz93yyPU6FS_7AxT9AJeBLG_5-kwdGEOUPRFspR_cUo5UBWjFvmiC_JnFJrnxeLvXZc67CVKR5Nw9UGyFEgsWkYlj1qjDzXyIsDyqTVZkXspgQvJouHDMpyyWXn7gmHeIxb191LKsVCN8l2UUR0Pny35NdxIOeIl-f-4_xPhF8fQOaXZEs0tvohqhSmBnbDuUxZCeSl7kns31mniSVB9UT_F7t4qjbY4z53DdIgPCA0WkhHfBniCt-heh9rKmRFzOKku_7lGuvFwYo10olYg8NUYaRj7dqe28txqPNekvAveIk7VoutrZQnaZ0gps683-8bPKMhIgil2CD-Th91WOeaDYNYCxBUZjY4q3MwrJAj1k2OfkrMc-kvqmU-SQ_7OP0qMnFQwOyyM9__MiNjyhq8AYXY7dN0KtBcIVN1Am0wnefgubUG1Chalbq9FH3oLIzqWmIfXKyaxR_psaa-v62N4uZzF=w1602-h2136-no

                            S 1 Reply Last reply Reply Quote 0
                            • B Offline
                              Buncie
                              last edited by

                              0_1572021783444_IMG_20191025_123820066.jpg
                              The last image had an error so I fixed it.

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                sdetweil @Buncie
                                last edited by

                                @Buncie so, MMM-NOAA3 has some config missing (for providers I would guess)

                                looks like voicecontrol module config isn’t completed, or snowboy needs an electron-rebuild. (snowboy is a challenge many times)

                                and Facial-rec is having a problem with its python code… maybe wrong python version…

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  Buncie
                                  last edited by

                                  I deleted the voice control stuff so we can ignore that. Tell me more about the python error. What should I do to fix it? I have python 3 on the pi.

                                  S 1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sdetweil @Buncie
                                    last edited by

                                    @Buncie no idea, just says PythonShell is not a constructor

                                    the facial rec docs says

                                    Dependencies
                                    python-shell (installed via npm install)
                                    

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      Buncie
                                      last edited by

                                      So is it saying I didn’t install python, but I followed the tutorial right.

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        sdetweil @Buncie
                                        last edited by

                                        @Buncie i don’t know… i have never used or seen the module before… so I don’t know what it does in detail.

                                        see this issue…
                                        https://github.com/extrabacon/python-shell/issues/154

                                        and then edit the node_helper and fix that line

                                        const PythonShell = require('python-shell');
                                        

                                        to

                                        const {PythonShell} = require('python-shell');
                                        

                                        i found this thru google on the error

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        1 Reply Last reply Reply Quote 0
                                        • B Offline
                                          Buncie
                                          last edited by

                                          @sdetweil said in MMM-Facial-Recognition:

                                          https://github.com/extrabacon/python-shell/issues/154

                                          Got a new error so we’re making progress.
                                          0_1572022974867_b7cd3bf2-8e4a-4222-9313-28886fe4ec44-image.png
                                          https://photos.google.com/share/AF1QipMXNBfIbAeJpyElneCaRNxIdtg8E6c7Kwr-ekTya_xspBxZibOp5yXnPE-ChEmNqg?key=aGcwY19mSjR3eWc2aFU0VFh3eVJZU21pdHVqcW9B
                                          0_1572022986006_af2ee3be-a91d-44f6-8b35-8fded82dbc15-image.png
                                          https://photos.google.com/share/AF1QipMXNBfIbAeJpyElneCaRNxIdtg8E6c7Kwr-ekTya_xspBxZibOp5yXnPE-ChEmNqg?key=aGcwY19mSjR3eWc2aFU0VFh3eVJZU21pdHVqcW9B

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            sdetweil @Buncie
                                            last edited by

                                            @Buncie still need to fix weather and see the rest of the page at the link i posted about cv2…

                                            the ‘unexpected token’ problem is the code was expected data and didn’t get it. (and didn’t handle the error correctly)…

                                            this IS a volunteer project, nothing is ‘finished’ if things we use keep changing

                                            I will be away for a few hours

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