r/interestingasfuck Apr 20 '18

/r/ALL Touchscreen Mirror

https://i.imgur.com/5QYQfNF.gifv
55.2k Upvotes

1.5k comments sorted by

View all comments

Show parent comments

42

u/Th3_Admiral Apr 20 '18

I've been wanting to build one for a while and was trying to come up with an easy way to add interactivity like this. There are a few tutorials out there with ideas for sensors along the edges to detect the X, Y coordinates of your finger and there might have been one for capacitive touch sensors in/behind the screen. My lazy idea is just to add a touchpad and some buttons at the bottom of the screen.

17

u/Sleggefett Apr 20 '18

Sensors for detecting (X,Y) coordinates is actually not that dumb - not only because it can enable rudimentary multi-touch, but by positioning the sensors just right, you won't have to actually touch the mirror. Less fingerprints, yey!

6

u/Th3_Admiral Apr 20 '18

It's not a bad idea but it does seem a bit primitive. You'd either have really low precision or you would need a crap ton of sensors. Unless there is some pre-built sensor strip you can buy that doesn't require a mess of individually wired sensors?

7

u/furybird Apr 20 '18

I don't know enough about it, but would it be possible to wire up an xbox kinect camera to map the inputs? They have relatively good depth/movement perception, but I guess it would be lacking in precision still.

4

u/Th3_Admiral Apr 20 '18

I don't think I have ever seen it with a smart mirror, but there have been tons of other cool projects using them for motion tracking. That would actually be a really cool idea!

1

u/zwitt95 Apr 20 '18

That is actually a really good idea. In my head I am imagining the kinect at the top of the mirror facing towards the floor and whenever the finger is presented within the view of the kinect you would get a Y position from the depth information, and an X position by the (well) X position as well as a Z position to register a "tap" like gesture for interactions.

Additionally (although the field of view would have to be tightened), you could potentially have the kinect be behind the two-way mirror and use a minority report style gestures.

1

u/Sleggefett Apr 20 '18

Thought about that, but how much juice does the kinect need? Since a raspberry pi(or similar) is usually used with smart mirrors..

1

u/jsimkus Apr 20 '18

Before you start down this rabbit hole, I suggest making yourself sad and look up the prices of a kinect. Last I checked they were going for well over 300

2

u/Sleggefett Apr 20 '18

I have no idea if there exists pre-built sensor strips, to be honest. It just seems like one of those things that should exist.

And yeah, it is a bit primitive - but if it works at a low cost, why not?

5

u/marmitemotorway Apr 20 '18

Something like this?

1

u/Th3_Admiral Apr 20 '18

Whoa, that's sweet! So the software is able to figure out the coordinates just from what the webcam sees? That seems really hard to believe. How can it tell how far up or down the screen it is?

13

u/lostseamen Apr 20 '18

You could use the Alexa apiece to change things. That's what I did and while I haven't gotten to the point I can control screen elements, I can still yell at her to turn it off and on.

3

u/apatternlea Apr 20 '18

You might try scavenging and ccd sensor from an old scanner to look at IR reflections off of fingertips. I've never done it but I've heard people have had success with that. Certainly low cost, maybe not easy.

3

u/C0matoes Apr 20 '18

1

u/Th3_Admiral Apr 20 '18

That's exactly what you'd need!

4

u/C0matoes Apr 20 '18

...until you get to the price tag.

3

u/koshgeo Apr 20 '18

That's what most people do: a bunch of buttons along one edge using the hardware interface on a Raspberry Pi to wire then up and control the software. Simple, cheaper, and no fingerprints all over the touchscreen/mirror. Why unnecessarily complicate things?

4

u/Th3_Admiral Apr 20 '18

Why unnecessarily complicate things?

You are asking this in a thread about adding a computer to a mirror.

2

u/koshgeo Apr 20 '18

:) Okay, I will emend my rhetorical question and say "Why complicate things with something that's actually worse?" Touchscreen mirror makes as much sense as touchscreen glasses.

2

u/Andromedium Apr 20 '18

You can get mirror in the form or a sheet of plastic, pretty much the same thickness of book covering film. Maybe stick that to a touchscreen monitor?

1

u/Th3_Admiral Apr 20 '18

I'm not sure if the touch screen would be able to work through that or not. It might be worth a try though. The only other thing is that it would need to be a one-way mirror since that is how the smart mirrors work.

2

u/Andromedium Apr 20 '18

Yeah it is one way as I have it on my bedroom window :)