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 6.3k 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.
    • S Offline
      sdetweil @majik655
      last edited by

      @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 Reply Quote 0
      • M Offline
        majik655 @sdetweil
        last edited by

        @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

          @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 Reply Quote 0
          • S Offline
            sdetweil @majik655
            last edited by

            @majik655 nice work!

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              majik655 @sdetweil
              last edited by

              @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
              • A Offline
                Alphons
                last edited by

                I wonder how long it takes to encode 5 pics with a rpi4? Encode.py is running for 3 hours now and i hope ther will bee a “Oke ready” thingy.

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Alphons
                  last edited by

                  @Alphons should take like 30 seconds

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    Alphons @sdetweil
                    last edited by

                    @sdetweil and no “ready” after serializing encodings… message?

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Alphons
                      last edited by

                      @Alphons I don’t remember. I think the encode script just ended when is was done

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      A 1 Reply Last reply Reply Quote 0
                      • A Offline
                        Alphons @sdetweil
                        last edited by Alphons

                        @sdetweil oke, then i did something wrong. Started the encode.py, it sorted the pics en encodes them…for 4 hours now :)

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