• 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.

MagicMirror With Face Recognition

Scheduled Pinned Locked Moved Show your Mirror
22 Posts 9 Posters 4.6k Views 9 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
    mchan
    last edited by mchan Jul 18, 2024, 6:24 PM Jun 27, 2024, 11:36 PM

    This is my first Magic Mirror project. Here’s a video of how it looks when it’s running:
    https://youtube.com/shorts/tneDVz6mku8

    It utilizes the following existing modules with slight modifications and styling

    Clock
    Used as is with some CSS styling
    Clock.jpg

    Weather
    Adjusted the layout and styling of the module and added the hourly forecast section
    Weather.jpg

    Calendar
    Adjusted the layout and styling of the module to highlight the first item in the calendar.
    Calendar.jpg

    MMM-Videoplayer
    Used this module to display a new ASL video each day from a library of videos stored locally. The playing of the video is controlled through the gesture sensor.
    Sign.jpg

    MMM-GroveGestures
    Uses the GroveGesture Sensor(PAJ7620u2) to register a swipe which activates the ASL sign of the day module. Currently this is the only swipe gesture being used.

    MMM-Face-Recognition-SMAI
    Uses a Camera Module 3 and Open CV to recognize faces and then sends an HDMI CEC command to turn the screen on or off.

    The face recognition was one of the most difficult parts because, while the module is fairly simply, it assumes that you’ve installed OpenCV and trained a face recognition model which took me a bit of research and few tries to figure out and get right. Overall I’m pretty happy with the outcome.

    Hardware
    (updated since I forgot to post it originally)

    • Raspberry Pi 4
    • Raspberry Pi Camera Module 3 (used for face recognition)
    • GroveGesture Sensor (Used for swipe commands)
    • I think the mirror was originally from IKEA. I swapped out the mirror with a piece of MirrorView glass
    S 1 Reply Last reply Jun 29, 2024, 11:29 AM Reply Quote 11
    • S Away
      sdetweil @mchan
      last edited by Jun 29, 2024, 11:29 AM

      @mchan Do you use reco-SMAI to provide different modules to different users like reco-dnn?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Jun 29, 2024, 5:24 PM Reply Quote 0
      • M Offline
        mchan @sdetweil
        last edited by Jun 29, 2024, 5:24 PM

        @sdetweil Not currently. Right now it is just used to turn the screen on when it detects a recognized user and then turn the screen off when no recognized users are present. It can definitely be used to display different modules per user but I’ve not had the time to put additional modules in place.

        S 1 Reply Last reply Jun 29, 2024, 6:44 PM Reply Quote 1
        • S Away
          sdetweil @mchan
          last edited by Jun 29, 2024, 6:44 PM

          @mchan cool.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          O 1 Reply Last reply Jun 30, 2024, 6:44 AM Reply Quote 0
          • M Offline
            mariosgouros
            last edited by Jun 30, 2024, 4:53 AM

            Really great and unique idea!

            1 Reply Last reply Reply Quote 0
            • O Offline
              OliWer @sdetweil
              last edited by Jun 30, 2024, 6:44 AM

              This looks pretty cool. Nice work with the styling.
              Can you let me know which hardware you are using? Like the sensors and where is MM running on?

              1 Reply Last reply Reply Quote 0
              • S Offline
                Snille Module Developer
                last edited by Jun 30, 2024, 9:03 AM

                Nicely done!
                What computer hardware are you using? RPi5?

                If you cant find it, make it and share it!
                Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

                M 1 Reply Last reply Jun 30, 2024, 3:34 PM Reply Quote 0
                • M Offline
                  mchan @Snille
                  last edited by Jun 30, 2024, 3:34 PM

                  @Snille @OliWer Here is the hardware for the project:

                  • Raspberry Pi 4
                  • Raspberry Pi Camera Module 3 (used for face recognition)
                  • GroveGesture Sensor (Used for swipe commands)
                  • I think the mirror was originally from IKEA. I swapped out the mirror with a piece of MirrorView glass
                  M 1 Reply Last reply Sep 16, 2024, 5:16 PM Reply Quote 3
                  • M Offline
                    monark @mchan
                    last edited by Sep 16, 2024, 5:16 PM

                    @mchan hi man, is awesome mirror.
                    Can you explain how you did it with opencv?
                    i get to the point of installing that and then i stop and it messes up the system and i have to do it all over again every time. i use an rpi4 and now i have a v3 camera, before i had a v2 camera.
                    thank you for answer me

                    S 1 Reply Last reply Sep 16, 2024, 7:43 PM Reply Quote 0
                    • C Offline
                      cyberphox
                      last edited by Sep 16, 2024, 7:25 PM

                      Get a GitHub and share that config! Wow!

                      Full time Dad, DJ and entertainer and lover of technology.

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