top | item 27929278

Show HN: Website changes design each time you blink

261 points| monolesan | 4 years ago |realless.glitch.me | reply

192 comments

order
[+] stavros|4 years ago|reply
I once figured that you don't need light in your house if your eyes are closed, and I hooked up blink detection to my smart bulbs:

https://www.youtube.com/watch?v=xzcdopwq7ok

It actually worked really well, I couldn't perceive the room being dark at all.

[+] Hendrikto|4 years ago|reply
How much electricity is conserved by turning off the light bulbs for 200ms every few seconds VS how much energy is expanded by running a webcam + CV program constantly? It’s probably less energy efficient overall.
[+] nnamtr|4 years ago|reply
- Is the lamp still on while blinking? - Is the sun still shining during a nap? - Is the fridge's light still on while it's closed? - Does God exist?

Some fundamental questions, but we'll never be able to find an answer.

[+] mirkules|4 years ago|reply
Amazing. It reminds me of the car company that built rain detection in their car and turned on your wipers so you don’t have to.

I don’t remember which manufacturer it was but their ad was hilarious “think of what you can do with that extra time you would have used to turn on your wipers”

[+] IgorPartola|4 years ago|reply
Be careful with this one. If you see a house/apartment where lights are repeatedly being turned on/off that’s generally considered a signal that they are in distress and you might get first responders dispatched to you curtesy of a neighbor who saw this and called 911.

Also I honestly can’t think of a worst way to try to save money, especially after you factor in the power it might take to do the facial recognition. There would be a good chance that you actually lose money unless you are in a hanger full of Na lights.

Edit: 5 bulbs in a room that each consume 10 watts (fairly generous), people blink up to 20k times a day, an average blink is 100 ms. So that’s 2000 seconds of blink time or just about 33 minutes. 33*5*10 is 28 Watt-hours saved per day or about 0.84 kWh per month. At the rate of $0.20 per kWh you just saved $0.16 a month.

But wait you have latency to detect the blink so let’s cut that figure by 15%. And since we don’t know how long a blink will last (some are shorter) you also need to reduce the off time by one standard deviation of a blink so to be safe let’s make the off period after detection last only 60 ms. So now we are at $0.096 per month. And now we also need to run multiple cameras and facial detection which has to run continuously. Unless you can do that under 28*0.6=16.8 Wh per day you are losing money.

[+] RootKitBeerCat|4 years ago|reply
This needs at least 1billion views: this is art and comedy at its highest form!
[+] adrianN|4 years ago|reply
This is the first application of smart bulbs that makes me want them in my house. Congratulations.
[+] joshmarlow|4 years ago|reply
Fun fact - when your eyes are performing a saccade (ie, moving around a scene) they discard a lot of detail in the visual input to avoid blurs ([0]).

If you could detect saccades and dim/turn off the lights, I wonder what the perceptual experience would be!

[0] - https://en.wikipedia.org/wiki/Saccade#Saccadic_masking

[+] BurningFrog|4 years ago|reply
Since this is HN, I have to ask how it works.

Assuming you didn't install sensors in your eyelids, it's probably something processing the feed of the camera?

[+] DonHopkins|4 years ago|reply
How did you even know that it worked??! ;)

Can you invert it so the light only turns on when your eyes are closed?

[+] DonHopkins|4 years ago|reply
You could also use computer vision to mute the speaker when you covered your ears, and mute the microphone when you covered your mouth! Zoom meetings would be so much easier.
[+] mooman219|4 years ago|reply
The average person blinks 28,800 times a day. 10% of your time awake is spent with your eyes closed [Source: Google I'm feeling lucky. YMMV]. Imagine saving 10% on your lighting bill. This is revolutionary. You really only need it to work for one person in a household as long as everyone gets on the same blinking schedule.
[+] perryizgr8|4 years ago|reply
I don't know how your bulbs respond so fast. My philips hue bulbs seem to always take half a second to react to anything.
[+] kuzee|4 years ago|reply
This is a hysterical application of technology, thanks for sharing. A small part of me worries that some cubicle company will add it as a feature to individual cubicles in offices. We already have aggressive proximity sensors controlling lights and the phone booths, so perhaps this is next!
[+] soheil|4 years ago|reply
Incredible idea. Can it be applied to compute heavy visual applications too? Like playing a game at 4k at 120hz, what if the game would stop rendering and the display would turn off for 100ms every time you blink but the game would proceed as normal?
[+] remirk|4 years ago|reply
> It actually worked really well, I couldn't perceive the room being dark at all.

From the video, it seems there is quite a bit of latency between your blink and the lights blink. But it's an interesting project nonetheless!

[+] ffitch|4 years ago|reply
Hahah, well, a couple of guys out there have hundreds of billions of dollars, and far fever ideas worth competing with this one. Good luck!
[+] nicbou|4 years ago|reply
That self-satisfied smile is the hallmark of a well-delivered dad joke.

How would it work if two people are in the same room?

[+] lupire|4 years ago|reply
Tell me you are always alone when at home without telling me you are always alone when at home.
[+] arkitaip|4 years ago|reply
LMAO this is fucking brilliant.
[+] high_byte|4 years ago|reply
that is the definition of hacking. so sick!
[+] user48a|4 years ago|reply
On one hand I wanted to try this but then I was not comfortable with giving some website access to my webcam. Maybe I am just old and paranoid... EDIT: I brought the age factor up because I am under the impression that people born after 2000 are so used to getting filmed and photographed everywhere that they don't have such reservations
[+] JackC|4 years ago|reply
> people born after 2000 are so used to getting filmed and photographed everywhere that they don't have such reservations

It's more complicated than not having reservations -- younger people share more online but are also more likely to take steps to protect their privacy:

https://www.vox.com/2016/11/2/13390458/young-millennials-ove...

You can find what you want in the data, but my personal read is everyone does what they have to do. Older people have the option of just opting out without losing access to their community (how much social capital are you losing by not checking out that link?), while younger people have to engage in order to be part of their community, so they get more exposure to what can go wrong and take more risks but also more steps to protect themselves.

If you're engaging with people of a different generation I'd strongly encourage taking this approach -- if I assume you're making smart choices about dealing with the social system you're in, rather than doing something dumb, what does that tell me about the situation you're facing and what kind of support you might need?

[+] depressedpanda|4 years ago|reply
I'm not exactly young, but I gave the site temporary access without thinking much about it; I know the tech and I'm confident my browser will revoke access as soon as I close the tab.

I realize now, that I did not consider what the site might do while it has access. Maybe a video or pictures of me blinking are uploaded to some shady server somewhere now.

[+] the_third_wave|4 years ago|reply
> EDIT: I brought the age factor up because I am under the impression that people born after 2000 are so used to getting filmed and photographed everywhere that they don't have such reservations

If my daughters are anything to go by you seem to be right. I'm trying to make sure that at least the home network and devices used on it leak as little personal data as possible - router-based content blocking (ads etc.), DNS proxy which blackholes unwanted domains, search through Searx, Youtube proxied through Invidious, Twitter proxied through Nitter, Reddit proxied through libreddit, Nextcloud for "cloudy" things, Exim4 for mail, Pixelfed for photo sharing, Peertube for video, Airsonic for audio/books, etc - but they really don't seem to care one bit whether they're being tracked and profiled by the world and its dog. They don't seem to realise there is no need to allow those companies to leech them for all their data nor do they seem to realise the potential negatives in allowing the leeches to parasitize them. At least they are not on TikTok (which I block at the router), Facebook (the site, one of them uses Instagram and as such still remains within Zuck's clutches) or Twitter.

[+] zepearl|4 years ago|reply
Same here (born in the 70') - I went as far as allowing temporary access by the page, but then concerning the browser itself (Opera on Android in my case) I had only the options to "Allow" or "Deny" access to the camera => I wanted to try this out, but in the end I just couldn't => had to decline :(
[+] tvirosi|4 years ago|reply
This is why I let so many cool eye tracking ideas left on the shelf. I can't imagine many people will be ok with using it - even though there's so many cool use cases - simply because they'll be paranoid. Not sure how to start to build all the cool futuristic apps for iris tracking now that it's a solved problem.
[+] jstanley|4 years ago|reply
Cool idea, but it seems to change just after I blink, so it is very easy to spot the changes. I guess my system has too much delay in capturing the images.

And if I keep my eyes closed longer, it seems to run through lots of different changes, and then do another change as soon as I open them. You can test this by only closing one eye - it seems to think you're blinking really rapidly.

I don't know exactly how it works, but it seems to act something like: "for each frame of video, if we can see an eye that is closed, change something on the page". I think it should change to "if we can see an eye that is closed and there wasn't a closed eye in the previous frame".

[+] mcherm|4 years ago|reply
I would suggest "if we can see two eyes that are closed and there wasn't a change made within the past 5 seconds".
[+] shaneprrlt|4 years ago|reply
Try winking at it. Hold one eye open and one eye closed and it will cycle through all the changes.
[+] Eighth|4 years ago|reply
If you like this, I recommend the game 'Before Your Eyes' where the game progresses each time you blink. Beware, it will take your emotions on a hell of a ride.
[+] progforlyfe|4 years ago|reply
HN hug of death already
[+] nazrulmum10|4 years ago|reply
Sometimes it is nice to collect postcards. It’s a nice way to collect artworks and to post them to a postcard gallery. It is important to collect postcards with artworks from different sources. If you collect artworks from different sources, then it can be a gallery of artwork.

You can collect postcards with the artwork from online applications. You can collect postcards with different artworks, but you have to choose your artworks from a certain source. This is a different approach. I am trying to collect artwork from different sources, such as different online applications. You can choose artworks from different sources. That’s why you have to take care of your artworks. If you collect artworks from one source, then you have to make the artworks you collect public.

[+] purplecats|4 years ago|reply
I want to use this or google's module to build an app (ideally node.js) that can track whether im looking at the screen or not and do something about it.

the use case is that I only really consume media (movies) etc when I'm eating so I can multitask. However I hate pausing and unpausing while grabbing my spoonfuls vs chewing and watching.

[+] donatj|4 years ago|reply
I had to take my glasses off to get it to work, and then I couldn't read it. Boo.
[+] stronglikedan|4 years ago|reply
Me too, but at least there's a lot of layout and color changes that don't require reading.
[+] anigbrowl|4 years ago|reply
Cool demo but I worry blink detection is going to get seriously abused by everyone from phishers to marketers to torturers. And no, the solution is not as simple as 'turn off your webcam' or 'wear shades'.
[+] jchw|4 years ago|reply
Interesting. Unfortunately, for some reason, for me it just cycles through all of the changes in quick succession. I guess it does not like my eyes.
[+] liang409|4 years ago|reply
How hard would it be for someone with no technical background to create something like this? What would a list of tools needed look like?
[+] utf_8x|4 years ago|reply
Doesn’t work in Firefox on iOS. It asks for camera access and says it’s running but nothing ever happens…
[+] tinus_hn|4 years ago|reply
The site is dead. Hope they didn’t miss the opportunity to reference Doctor Who’s weeping angels
[+] twox2|4 years ago|reply
This thing gets pretty confused if you close one eye and have the other eye open :)
[+] wldcordeiro|4 years ago|reply
The trick didn't work with my glasses on but it's a cool setup.