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

Microphone, camera integration, and noob questions ;)

Scheduled Pinned Locked Moved Hardware
5 Posts 2 Posters 1.1k Views 2 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.
  • W Offline
    wibimaster
    last edited by Dec 30, 2019, 9:48 AM

    Hi !

    I’m ready to try my first attempt for a magic mirror :D

    Got some noob questions :x

    • I have a ReSpeaker Mic array v2 (http://wiki.seeedstudio.com/ReSpeaker_Mic_Array_v2.0/), where should I place it ? Behind the screen ? How it can correctly listen to me ? :/
    • I want to add a camera (I think the standard Pi cam), should I place it behind the glass (colors/luminosity ?) or do I drill a little hole in the wooden outline to “let the sunshine in” ? ^^

    Objective :

    • MVA display (for good contrast and avoid light in the night) 24" or 27", wood structure, Mirropane 4mm glass

    And at least, no laptop screen exists beyond 18", so why a laptop screen + some electrical stuff are so lightweight and small, and on a regular PC monitor, there are so much electrical equipment ? -.-’

    Thanks for the pro !

    F 1 Reply Last reply Dec 30, 2019, 11:48 AM Reply Quote 0
    • F Offline
      Fozi Project Sponsor @wibimaster
      last edited by Dec 30, 2019, 11:48 AM

      @wibimaster said in Microphone, camera integration, and noob questions ;):

      MVA display

      Well, to answer your question specifically, it might be good to know what you want to achieve with the mic. If you want to control the mirror ang e.g. switch pages, turn display on/off, then it is sufficient to put an Echo Dot behind the mirror, connect it to the RPi as power supply and use the MMM-AlexaControl module. This is the way I went and I am totally happy with it.
      That is less expensive and totally hasselfree compared to installing a dedicated mic and installing and configureing a module that emulates an Echo device on the RPi. If you intend not to use Alexa services, e.g. Lucy, ten it is of course a different game.

      The PiCam should work behind the glass. But maybe you do some research regarding red blured images and IR-filtering or automatic IR-cutoff provided by the cam. I made some experiments with a PiCam (15 € knock-off from AliExpress with automatic IR-cutoff, great cam that no is going to be used with OctoPi) and facial recognition but did’t succeed. The resources needed are pushing the RPi to the limits and reliability was zero. Further I found no real user story to implement that into my MM at the end.

      The MVA panel combined with the Mirropane Chrome Spy is a good choice (also my combo), as it provides a pretty good contrast compared to TN panels.

      HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

      1 Reply Last reply Reply Quote 0
      • W Offline
        wibimaster
        last edited by Dec 30, 2019, 12:48 PM

        Thank you !

        I use Snips, not Alexa; that’s why I already have a ReSpeaker, but it’s like an Alexa device, circular and with directional microphones. Like Echo dot, it is intended to be used horizontally and not vertically… But if you said the results are good enough behind the mirror, I’m going with that :)

        Maybe I could take a bigger mirror and let a space at the bottom to have the mic (and its LED) stuck close at the mirror ^^

        For facial recognition, what hurts the Pi ? The PiCam itself (so an USB camera should be better ?) or the multiple call to photo / recognition / photo / recognition…?

        F 1 Reply Last reply Dec 30, 2019, 6:22 PM Reply Quote 0
        • F Offline
          Fozi Project Sponsor @wibimaster
          last edited by Dec 30, 2019, 6:22 PM

          For facial recognition, what hurts the Pi ? The PiCam itself (so an USB camera should be better ?) or the multiple call to photo / recognition / photo / recognition…?

          It iS not the cam that demands so much resources. It‘s the software and the algorithms that allocate RAM and CPU to accomplish recognition. It is of course amazing that technically a small RPi is able to do that and demonstrate the potential on HW and SW. But still, I sometimes ask myself, is it really beneficial and adds it so much value to the „customer“ to justify the effort and expense? I admit that this question shouldn’t be asked under us mirror builders ☺️ I‘d be happy to see how you accomplished that and what your experiences are, as I‘m eager to learn.

          HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

          W 1 Reply Last reply Jan 1, 2020, 4:24 PM Reply Quote 0
          • W Offline
            wibimaster @Fozi
            last edited by Jan 1, 2020, 4:24 PM

            @Fozi For real time application, yep ; with an acceptable delay, recognition could be done online ^^

            An offline example for good performance on RPI : https://medium.com/@aiotalabs/deep-neural-network-on-raspberry-pi-c287e06a3250

            Would be happy to test that :D

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              5/5
              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