Read the statement by Michael Teeuw here.
Using the Raspberry Pi Camera to see through the mirror
-
@dpenney Whether the PiCamera is directly behind the mirror, or looking through the mirror through the drilled hole does not matter. The images taken are equally bad
-
@johnnyboy Do you have any familiarity with webcams with built-in microphone that are small and compact? As to not make the mirror thicker than needs be.
-
I’m using the exact rpi camera, and it’s working flawlessly with facial-recognition module. also taking a picture or record video. Have you test the camera before attached to its place?
-
There are quite a lot of webcams out there with built in microphones… So best Google or have a look at styles/shapes/sizes on Amazon or Fleabay to get an idea of what suits. Im sure they are all more-or-less same megapixels? apart for the higher end ones that also record in HD, and has twin microphones… also ones with Facial recognition like the M$ Hello Face recognition which I think is windows 10 only??? so all depends on your budget, and what you want from it, also the size and casing incase you can/want to strip it down for a better fit?
-
Hi @Synthic,
i use since 2 weeks the mirror glass ordered at @Goldjunge_Chriz ad the result is fantastic. With my mirror before the video was very darken. i send you asap a picture of my videoframe.
-
@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?
-
@Synthic yes behind the mirror glass without any tweaks.
-
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.
-
@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
-
@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?
-
@dpenney That’s what bugs me:
- The PiCamera works great normally
- I can see through the mirror
- My Nexus 5 camera can see through the mirror
- The PiCamera can not. (it CAN, but it is waaaay too dark)
-
@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 -
This is where the camera is setup - try adding
camera.brightness = 90https://github.com/paviro/MMM-Facial-Recognition/blob/master/facerecognition/picam.py
Worth a shot :)
-
@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.
-
@dpenney This is my setup:

This photo is with normal camera:

This photo with PiCamera:

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

-
Yeeesh that is dark - although even the pic with the normal camera is really dark. Much less contrast than I was getting, perhaps you do have a bad camera as the quality definitely shouldn’t be that poor.
-
@Synthic
Hi Synthic, Please may I ask what module you used to display the PiCam feed in MagicMirror?
Regards -
@Synthic Hi, here my cam through my mirror on daytime and with lights and my setup. All pictures later…
This one cam through mirror with lights.





Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login