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

Using the Raspberry Pi Camera to see through the mirror

Scheduled Pinned Locked Moved Troubleshooting
24 Posts 7 Posters 24.1k Views 7 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
    Synthic @slametps
    last edited by Mar 28, 2017, 6:57 PM

    @slametps Yeah, I know the camera works well normally. So your camera works by seeing through the mirror from the other side? Did you have to tweak any camera settings or did it just work?

    L 1 Reply Last reply Mar 28, 2017, 7:17 PM Reply Quote 0
    • L Offline
      lolobyte @Synthic
      last edited by Mar 28, 2017, 7:17 PM

      @Synthic yes behind the mirror glass without any tweaks.

      1 Reply Last reply Reply Quote 0
      • B Offline
        broberg Project Sponsor
        last edited by Mar 28, 2017, 7:26 PM

        Do consider that there is difference in properties between the types of two way mirrors out there,
        one type could work well with a camera lens while another type doesn’t work at all.

        for an example many two way coatings are made to filter out IR light.

        S 1 Reply Last reply Mar 28, 2017, 8:04 PM Reply Quote 0
        • S Offline
          Synthic @broberg
          last edited by Mar 28, 2017, 8:04 PM

          @broberg That is a valid point. How would one know what kind of two-way mirror I posess? Haven’t been able to find any “comprehensive overview” of two-way mirrors

          D 1 Reply Last reply Mar 28, 2017, 8:09 PM Reply Quote 0
          • D Offline
            dpenney @Synthic
            last edited by Mar 28, 2017, 8:09 PM

            @Synthic Infrared is blocked by cameras anyway so that wouldn’t make a difference. The only thing the camera cares about is visible light so if you are able to see through the mirror you are using then there is no reason that the camera shouldn’t be able to do the same thing regardless of what material the mirror is made from.

            I too have the basic PiCam located behind the glass and it works perfectly. Does your cam work without the glass in place?

            S 1 Reply Last reply Mar 28, 2017, 8:19 PM Reply Quote 0
            • S Offline
              Synthic @dpenney
              last edited by Mar 28, 2017, 8:19 PM

              @dpenney That’s what bugs me:

              1. The PiCamera works great normally
              2. I can see through the mirror
              3. My Nexus 5 camera can see through the mirror
              4. The PiCamera can not. (it CAN, but it is waaaay too dark)
              D B 2 Replies Last reply Mar 28, 2017, 8:26 PM Reply Quote 0
              • D Offline
                dpenney @Synthic
                last edited by Mar 28, 2017, 8:26 PM

                @Synthic That is frustrating…

                I think the facial recognition module uses python-picamera to talk to the camera, are you able to tweak the configs somewhere in order to up the brightness?
                https://www.raspberrypi.org/documentation/usage/camera/python/README.md

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dpenney
                  last edited by Mar 28, 2017, 8:29 PM

                  This is where the camera is setup - try adding
                  camera.brightness = 90

                  https://github.com/paviro/MMM-Facial-Recognition/blob/master/facerecognition/picam.py

                  Worth a shot :)

                  S 1 Reply Last reply Mar 28, 2017, 8:41 PM Reply Quote 0
                  • B Offline
                    broberg Project Sponsor @Synthic
                    last edited by Mar 28, 2017, 8:33 PM

                    @Synthic I can tell you that my nexus 5 camera does not like my glass at all, al tough, the light transmission on my mirror is really low.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      Synthic @dpenney
                      last edited by Mar 28, 2017, 8:41 PM

                      @dpenney This is my setup:
                      alt text

                      This photo is with normal camera:
                      alt text

                      This photo with PiCamera:
                      alt text

                      With brightness=90, I tried screwing around with most settings without result.
                      alt text

                      L 1 Reply Last reply Jun 8, 2019, 4:02 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        16/24
                        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