• 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

Scheduled Pinned Locked Moved General Discussion
25 Posts 5 Posters 5.7k Views 4 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.
  • M Offline
    majik655 @sdetweil
    last edited by Jul 10, 2020, 3:00 PM

    @sdetweil said in Facial recognition:

    @majik655 things are constantly changing. I’ve only installed the MMM-face-reco-dnn on my Pi4

    it’s a lot of work

    Yeah iv’e been through the process and back with the very beginning of face recog I was able to get it done but that was a long time ago… it seems it has come a long way.

    I guess I get confused when it comes to the dataset… can I just put my own pictures from say my phone in there? Or do I have to somehow figure out how to take pictures and such with the camera on the pi?

    The links in the instructions say “OpenCV 4.1.2 quick installation (wthout compliation) for Raspbian Buster”
    Bu takes you to a page that is 4.3… for the opencv part is that the only part that is needed is this:
    https://github.com/cyysky/OpenCV-Raspberry-Pi-4-Package-for-Python

    Anyway made a backup of my mirror…now lets see if I can destroy it trying to get this working.
    Thank you for your replies!

    S 2 Replies Last reply Jul 10, 2020, 3:02 PM Reply Quote 0
    • S Away
      sdetweil @majik655
      last edited by Jul 10, 2020, 3:02 PM

      @majik655 I took pics w my phone

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 1
      • S Away
        sdetweil @majik655
        last edited by sdetweil Jul 10, 2020, 3:04 PM Jul 10, 2020, 3:04 PM

        @majik655 instructions written when opencv 4.1 was current, now 4.3. fun times

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        M 2 Replies Last reply Jul 10, 2020, 3:06 PM Reply Quote 1
        • M Offline
          majik655 @sdetweil
          last edited by Jul 10, 2020, 3:06 PM

          @sdetweil
          Ok thats what I was hoping for …we will see how far I get lol Thanks again (I might have another question for ya but I will try not to)
          Thanks

          1 Reply Last reply Reply Quote 0
          • M Offline
            majik655 @sdetweil
            last edited by Jul 10, 2020, 3:09 PM

            @sdetweil Crap see another question… how many pics did you load in the beginning from your phone?

            S 1 Reply Last reply Jul 10, 2020, 4:24 PM Reply Quote 0
            • S Away
              sdetweil @majik655
              last edited by Jul 10, 2020, 4:24 PM

              @majik655 I used 4 pics

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              M 2 Replies Last reply Jul 10, 2020, 4:28 PM Reply Quote 0
              • M Offline
                majik655 @sdetweil
                last edited by Jul 10, 2020, 4:28 PM

                @sdetweil said in Facial recognition:

                @majik655 I used 4 pics

                lol well I just uploaded 17 and im wondering if my PIR sensor or other module configs are stopping this …
                I havent figured out yet if the camera is even working good… I am using a usb cam so I have it set to 0 in the config…

                But I have a motion sensor, mmm-pages and google assistant and assistant2display which I wonder is causing any issues.

                The mirror boots up loads modules and then goes blank because I have all modules set to me (no default or everyone).

                I need to figure out how to view live camera… I wish there was a way for the module to test or report what it sees or doesnt see for that matter.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  majik655 @sdetweil
                  last edited by Jul 10, 2020, 5:06 PM

                  @sdetweil
                  I finally got it!
                  I commented out basically everything in my config except for the basics like clock and such…
                  Nothing was working …
                  Then I realized the lights on the camera were not turning on when the MM started…which means there was no way it was going to recognize anything if it wasnt even on lol

                  To get it to work I had to change in the module config

                  source: 0,
                  

                  to

                  source: '/dev/video0',
                  

                  Which by the info source: 0, SHOULD BE /dev/Video0

                  Not sure why 0 didnt work but it works now with /dev/Video0!!!

                  Thank you for listening!

                  S 1 Reply Last reply Jul 10, 2020, 5:19 PM Reply Quote 0
                  • S Away
                    sdetweil @majik655
                    last edited by Jul 10, 2020, 5:19 PM

                    @majik655 nice work!

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    M 1 Reply Last reply Jul 10, 2020, 5:40 PM Reply Quote 0
                    • M Offline
                      majik655 @sdetweil
                      last edited by Jul 10, 2020, 5:40 PM

                      @sdetweil
                      Yeah so one thing I have found is it is kind of worthless to have a motion sensor running that hides the modules after 2minutes of no motion…because if you block the sensor once it has closed… it looks like the camera cant turn it back on because the sensor has hidden everything.

                      I either turn off the motion sensor and rely on the camera all the time …
                      or
                      somehow have the motion detection turn on the camera recognition part…recognize then show correct modules.
                      or
                      have the recognition…trigger the motion sensor

                      so many decisions I dont know which to do lol

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        12/25
                        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