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 13.2k 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.
    • 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
                • B Offline
                  Buncie
                  last edited by

                  Well school ends at 2:15 so we’ll have to pick this up on Monday

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

                    I’m back. Where did we leave off?

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