• 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 - customize your mirror for every user!

Scheduled Pinned Locked Moved Troubleshooting
215 Posts 55 Posters 425.4k Views 57 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.
  • P Offline
    plumcraft
    last edited by Jul 21, 2016, 7:45 PM

    I’ve tried to capture an image from my pi camera with :

    pi@pi:~ $ raspistill -o output.jpg

    the raspistill tool hang…

    The pi camera might be broken ? someone got the same issue ?

    Do you have any good usb webcam compatible with raspberry pi 3 and opencv ? I would like to use the MMM Face recognition module…

    Thanks

    1 Reply Last reply Reply Quote 0
    • P Offline
      plumcraft
      last edited by Jul 31, 2016, 5:53 PM

      After retrying couple of times to make it work, it looks like the issue was coming the raspbian distribution or python package issue.

      After reflashing my sd card with a fresh raspbian image, my camera works…

      1 Reply Last reply Reply Quote 1
      • B Offline
        bobbob601
        last edited by Sep 3, 2016, 3:36 PM

        Hi,

        First, thanks Paviro for the good work :) bless you + hug :p

        Second, how do it work once configured, lets say with two users ? Is it always monitoring if someone is going in front of the mirror or we need a trigger to say “eyh recognize me now” ? That may be a stupid question but I prefer to ask before ordering my camera :) The MM is in my appartment entrance, so will it try to recognize every sec, or only when something goes in front of the cam

        Third, I’d like to use a USB cam because the cable for the Pi cam is too short but I don’t know if I can order any type of usb cam. If it is an HD cam, will be it better or worse for the recognotion (mainly because it will take longer to process each image I guess).

        thanks

        1 Reply Last reply Reply Quote 0
        • P Offline
          paviro Admin
          last edited by Sep 4, 2016, 3:59 PM

          It checks every second or so but you can configure the interval.You can buy longer cables for the Pi cam :)

          We're all stories in the end. Just make it a good one, eh?

          – The Doctor

          S 1 Reply Last reply Sep 26, 2016, 3:02 PM Reply Quote 1
          • B Offline
            bobbob601
            last edited by Sep 5, 2016, 3:21 PM

            Thanks to you, I looked for it. It seems that most people go for this one, very cheap, so I share it if others people are interested

            I still hesitate between the pi cam and a USB cam with a greater image quality

            1 Reply Last reply Reply Quote 0
            • R Offline
              rajbadri
              last edited by Sep 15, 2016, 2:36 PM

              i am having a problem that the screen remains blank after i am logged in

              (1_1473950091065_2.jpg 0_1473950091063_1.jpg image url)

              Thanks

              R 1 Reply Last reply Sep 24, 2016, 5:44 PM Reply Quote 0
              • R Offline
                rvdgeer
                last edited by Sep 24, 2016, 2:40 PM

                Very nice module.
                However I keep ruinning into the same error when I try capture.py to convert them to pgm files:
                Could not detect single face!

                I’ve taken ‘selfies’ with different camera’s in different lighting conditions, but not even one is good enough to convert into a pgm file…
                Can you please give me some clues on what conditions my pictures have to meet?
                Am I doing something wrong?
                All help and advice appreciated!

                R 1 Reply Last reply Sep 25, 2016, 7:36 PM Reply Quote 0
                • R Offline
                  rvdgeer @rajbadri
                  last edited by Sep 24, 2016, 5:44 PM

                  @rajbadri Have you added the classes: (with a value) to all the other modules in the config.js? If you get a plain black screen without errors it might be that no modules were loaded.

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    rvdgeer @rvdgeer
                    last edited by rvdgeer Sep 25, 2016, 7:37 PM Sep 25, 2016, 7:36 PM

                    @rvdgeer OK, replying to my own post for future reference:

                    I got it working by doing the following:

                    • cropped the pictures to only show my face;
                    • copied the cropped pictures and transformed them to greyscale;
                    • copied the grey pictures and upped the contact;
                    • moved all pictures (originals and copies) to a direct sub folder of the facetrainer folder;
                    • started the capture.py, pressed 2, entered my name, entered the name of the sub folder (only the sub folder, not the entire path) and waited.

                    This way I got it to recognize about 10 of the pictures…
                    Not bad!

                    Getting it to recognize me is still not easy, but that because of the lighting conditions in my ManCave where I’m putting it together.

                    P 1 Reply Last reply Sep 27, 2016, 7:58 PM Reply Quote 0
                    • S Offline
                      shashank @paviro
                      last edited by Sep 26, 2016, 3:02 PM

                      @paviro Hi,

                      I am getting this error while running facerecognition.py0_1474901812661_upload-7d382f42-082d-4217-9aaa-2306d35ef583

                      and also need to know in //Facerecognition Test Tool Readme
                      In tools/facerecognition_tester/lib/config.py add add your training labels from tools/facetrainer under personen = [] ( what need to enter in this personen= [])

                      R 1 Reply Last reply Sep 26, 2016, 9:22 PM Reply Quote 0
                      • 1
                      • 2
                      • 5
                      • 6
                      • 7
                      • 8
                      • 9
                      • 21
                      • 22
                      • 7 / 22
                      • 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