Live data from Hacker News

Show HN: WebcamSwiper - a JS library that watches for hand swipes in the air

github.com

31–38 of 38 posts

Re: Show HN: WebcamSwiper - a JS library that watches for hand swipes in the air

#31
post #2

Cool idea! Demo didn't work for me on latest version of Chrome and a brand new MacBook Air though, and gave it a pretty good shot. I'm sure you didn't put this up without testing that it works, just didn't work after about 3-5 minutes of trying everything for me.

Worked for me after a refresh. A little buggy, but very cool. Imagine putting this on audio/video playlists for a simple skip feature.

Like https://flutterapp.com/ did? :-)

Re: Show HN: WebcamSwiper - a JS library that watches for hand swipes in the air

#33
Funny. Recently I was shown a hardware implementation that recognizes gestures, for embedded applications (e.g. cars).

This is on the other end of the implementation spectrum, in a browser, written in js. Quite cool nevertheless, although again not working in my browser of choice, Firefox (right now, the Android Beta).

Re: Show HN: WebcamSwiper - a JS library that watches for hand swipes in the air

#34
post #2

Cool idea! Demo didn't work for me on latest version of Chrome and a brand new MacBook Air though, and gave it a pretty good shot. I'm sure you didn't put this up without testing that it works, just didn't work after about 3-5 minutes of trying everything for me.

REALLY glad to see this worked for some people, I was hoping it wasn't totally a bust!

Re: Show HN: WebcamSwiper - a JS library that watches for hand swipes in the air

#35
post #2

Cool idea! Demo didn't work for me on latest version of Chrome and a brand new MacBook Air though, and gave it a pretty good shot. I'm sure you didn't put this up without testing that it works, just didn't work after about 3-5 minutes of trying everything for me.

REALLY glad to see this worked for some people, I was hoping it wasn't totally a bust!

Re: Show HN: WebcamSwiper - a JS library that watches for hand swipes in the air

#37

Earlier quoted context omitted.

Well, it's opt-in. So unknowing access is (at least without further actions) not possible. getUserMedia: "Prompts the user for permission to use their Web cam or other video or audio input." [1] By the way: The example doesn't work for me either. [1] http://dev.w3.org/2011/webrtc/editor/getusermedia.html

Sure, but I am asking if this can be modded to gain unauth access to the webcam.

The 'allow getusermedia' policy is handled by the browser, not javascript.

It's possible that some day there will be a browser bug for bypassing it, but you can't just write javascript code that says "don't ask for permission".

Nowadays the majority of webcams also hard-wire their 'on' light, so the user would at least get an indication that the webcam is suddenly recording.

Post reply on HN