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-FacialRecognition Training tool

    Scheduled Pinned Locked Moved Troubleshooting
    10 Posts 7 Posters 6.2k Views 7 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.
    • A Offline
      apm1007
      last edited by

      got the same problem…

      1 Reply Last reply Reply Quote 0
      • G Offline
        gismo2006
        last edited by

        Hey,
        I hopüe I understand your problem and maybe I can help you. I use this modul since about one year. At first I had many problems but now it works perfect.

        What I do: I use the trainer on my pi. Because of my experince whit an other modul, i rember its better not to use other sources (like your laptop…)

        I use a usb cam not the pi cam. Because of that the traine wouldn´t work whit option one (take pictures from your webcam) So I have to choose option to (use jpg pictures)

        for this i use fswebcam whit the option --no-Banner. So i take about 50 pictures of myself. Then I copied all pictures in one Folder, Pictures for example. Choose in the trainer option 2 use your own jpg pictures and paste the path to your folder. I think now or before you choose your path the trainer ask you for a name. Lets work it… After this you have a new folder in your folder facetrainer. now you can start the train.py and everthing should Ok.

        Greets gismo

        1 Reply Last reply Reply Quote 0
        • R Offline
          reaper81
          last edited by

          Hello everyone,

          i also have a problem withe Facial Recognition Tool. When i start “python capture.py” i get this error.

          pi@raspberrypi:~/MagicMirror/modules/MMM-Facial-Recognition-Tools $ sudo python capture.py
          Traceback (most recent call last):
          File “capture.py”, line 18, in
          import lib.capture as capture
          File “/home/pi/MagicMirror/modules/MMM-Facial-Recognition-Tools/lib/capture.py”, line 12, in
          from builtins import input
          ImportError: No module named builtins

          I deleted and cloned the module twice. The installation of the OpenCV dependencies where successfull. The installation of the python dependencies (“pip install -r requirements.txt”) failed, because there where no requirements.txt.

          I hope you can help me. Thanks.

          N 1 Reply Last reply Reply Quote 0
          • R Offline
            reaper81
            last edited by

            OK, I found a sollution by my self. The Problem was realy the python dependency. It seems in the missing “requirements.txt” where the python future package listed so I installed it by my self with

            sudo pip install future --upgrade

            I hope paviro fix the missing file in his project, because I like it very much.

            1 Reply Last reply Reply Quote 1
            • N Offline
              nuckinfutz @reaper81
              last edited by nuckinfutz

              @reaper81 Same problem. Thanks a million for the fix!!! @paviro

              1 Reply Last reply Reply Quote 0
              • K Offline
                kengberg
                last edited by

                This is aweome - I needed that fix as well - one step closer, thanx!

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