• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 Module - Step by Step Guide

Scheduled Pinned Locked Moved Troubleshooting
28 Posts 14 Posters 29.9k Views 22 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
    sumrag @paulGu
    last edited by Feb 21, 2019, 10:54 PM

    @paulgu Hi I am having the same issue. Were you able to resolve it?

    1 Reply Last reply Reply Quote 0
    • I Offline
      Irfan ali
      last edited by Mar 8, 2019, 7:09 AM

      I also have same issue can anybody help me

      Whoops! There was an uncaught exception…
      TypeError: PythonShell is not a constructor
      at Class.python_start (/home/pi/MagicMirror/modules/MMM-Facial-Recognition/node_helper.js:11:21)
      at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-Facial-Recognition/node_helper.js:40:14)

      1 Reply Last reply Reply Quote 0
      • I Offline
        Irfan ali @MichiMauch
        last edited by Mar 31, 2019, 7:49 AM

        @MichiMauch Are You using Webcam ?

        A 1 Reply Last reply May 17, 2019, 3:28 AM Reply Quote 0
        • N Offline
          naktah
          last edited by Apr 15, 2019, 1:58 AM

          specify your user labels in the environment with

          export FACE_USERS=Alice,Bob,Casey,Doug

          im not sure what to do with this. do i have to write this in the terminal? because everytime i restart my pi, the facial recognition doesnt recognize my face

          S 1 Reply Last reply Apr 15, 2019, 2:03 AM Reply Quote 0
          • S Offline
            sdetweil @naktah
            last edited by Apr 15, 2019, 2:03 AM

            @naktah u need to put that in your logon profile

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            N 1 Reply Last reply Apr 15, 2019, 2:18 AM Reply Quote 0
            • N Offline
              naktah @sdetweil
              last edited by Apr 15, 2019, 2:18 AM

              @sdetweil im not sure how to do that. can you show me how? im pretty much new to this stuff and this issue has been bothering me for days now.

              1 Reply Last reply Reply Quote 0
              • S Offline
                Sneek
                last edited by May 2, 2019, 4:33 PM

                @naktah after writing the following command in the terminal:

                python tools.train.py
                

                you get some output with the users you have setup (remember the order). Assuming it gives you Alice,Bob,Casey,Doug, then you run this in the terminal:

                export FACE_USERS=Alice,Bob,Casey,Doug
                
                
                1 Reply Last reply Reply Quote 0
                • A Offline
                  andrewgamalkamel @Irfan ali
                  last edited by May 17, 2019, 3:28 AM

                  @Irfan-ali yes!

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    SdeGeata
                    last edited by Jun 19, 2019, 9:06 PM

                    Error on “python capture.py”

                    pi@raspberrypi:~/MagicMirror/modules/MMM-Facial-Recognition-Tools $ python capture.py
                    Traceback (most recent call last):
                      File "capture.py", line 18, in <module>
                        import lib.capture as capture
                      File "/home/pi/MagicMirror/modules/MMM-Facial-Recognition-Tools/lib/capture.py", line 21, in <module>
                        from . import config
                      File "/home/pi/MagicMirror/modules/MMM-Facial-Recognition-Tools/lib/config.py", line 15, in <module>
                        (CV_MAJOR_VER, CV_MINOR_VER, mv1, mv2) = cv2.__version__.split(".")
                    ValueError: need more than 3 values to unpack
                    
                    
                    A 1 Reply Last reply Mar 20, 2020, 2:09 PM Reply Quote 0
                    • A Offline
                      aniketdongare07 @SdeGeata
                      last edited by Mar 20, 2020, 2:09 PM

                      @SdeGeata Got the same error, did you resolve it?

                      S 1 Reply Last reply Mar 20, 2020, 2:35 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      • 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