Live data from Hacker News

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

github.com

21–30 of 38 posts

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

#23
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.

I took evanc's pull request (http://github.com/iambrandonn/WebcamSwiper/pull/3) and hosted it here for a quick demo: http://sumukh.me/labs/webcamswipe/

edit: It looks like the OP merged it back at the submitted url.

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

#25
The demo was awesome! The only thing is that after i swipe left with my right hand, I move my hand back to the normal position which appears to the camera to be a swipe to the right. Maybe it could detect front of hand/back of hand to be able to ignore one? That aside, it was pretty cool!

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

#26
post #16

Earlier quoted context omitted.

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

Possibly if someone managed to include it on a page you had already given permission. I don't know if how you'd sent it somewhere with the same origin policy in place.

>Possibly if someone managed to include it on a page you had already given permission.

nope, the "use webcam" permission is per "getUserMedia" call, so 2 getUserMedia calls = 2 allowbar popups.

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

#27
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.

Demo worked for me on Chrome 22 / Lenovo w510 / Win 7.

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

#29

??? Why the hell iPad (2 - iOS 6) doesn't support getUserMedia()?! It's ridiculous. Or is there another way of getting "FaceTime" camera feed with Safari?

Apple intentionally cripples their browser here and there to nudge developers toward creating actual apps that are served through the App Store and to discourage them from making things that can load through the browser.

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

#30

The demo was awesome! The only thing is that after i swipe left with my right hand, I move my hand back to the normal position which appears to the camera to be a swipe to the right. Maybe it could detect front of hand/back of hand to be able to ignore one? That aside, it was pretty cool!

This happened for me as well.
Post reply on HN