News for hackers. Stuff that matters.
Re:Show HN: My useless but fun laser eyes web app by kilian on Monday February 14, 2011 @05:07AM (#2216179)
Background here: http://kilianvalkhof.com/2011/web/laserey-es-draw-lasers-fro...

Basically, it's a fun little project for me to try out a whole bunch of new stuff, including the file API, the drag-and-drop-api, openCV and Canvas. It works best in Firefox, and otherwise in chrome (though performance on mac is abysmally slow)

Let me know what you think, and please set a laserified photo as your Facebook profile picture :)

Re:Show HN: My useless but fun laser eyes web app by kunley on Monday February 14, 2011 @08:05AM (#2216582)
Awesome!!

Guys you could implement a GET method with an argument being image to be retrieved so people could email just link to their relatives, bosses and employees, not having a burden of retrieving this pic first.

Stuff like bad link, wrong content type or picture too big could be simply rejected.

Re:Show HN: My useless but fun laser eyes web app by kilian on Monday February 14, 2011 @08:53AM (#2216729)
I like this idea, I'll see what I can do :)
Re:Show HN: My useless but fun laser eyes web app by nyellin on Monday February 14, 2011 @08:11AM (#2216593)
What was your experience with ep.io? Would you use them for a more serious web application?
Re:Show HN: My useless but fun laser eyes web app by kilian on Monday February 14, 2011 @08:32AM (#2216659)
It's obviously still beta, functionality is still missing and updating an app gives problems (it takes a while and your site is offline for a bit). The guys are super helpful though, and it's very stable and fast. So yes, I would recommend it!
Re:Show HN: My useless but fun laser eyes web app by waterlesscloud on Monday February 14, 2011 @07:38AM (#2216509)
Quick, add floating hearts to the laser beams for Valentine's Day! There's your one day virality boost.
Re:Show HN: My useless but fun laser eyes web app by nyellin on Monday February 14, 2011 @08:20AM (#2216622)
How are you doing eye detection?

Edit: I asked the same question on Twitter. Kilian response is below:

"Python-opencv and HAAR cascades, first I detect faces, then I detect eyes. :)"

(http://twitter.com/?status=@kilianvalkhof%20&in_reply_to...)

Re:Show HN: My useless but fun laser eyes web app by andrewnez on Monday February 14, 2011 @06:31AM (#2216356)
Using safari 5 it says "INSUFFICIENT TECHNOLOGY. USE ANOTHER BROWSER" but didn't tell me which browsers are supported, which was confusing, what tech is safari missing?
Re:Show HN: My useless but fun laser eyes web app by kilian on Monday February 14, 2011 @06:33AM (#2216364)
The drag and drop api and the filereader api (nightlies are supported). I'll update the message with supported browsers, and I'll be implementing an old-style file uploader soon to support Safari and Opera.
Re:Show HN: My useless but fun laser eyes web app by guynamedloren on Monday February 14, 2011 @05:59AM (#2216292)
Very, very cool! Here's the viral touch you're missing: a gallery, or at least photo sharing. When I hit the tweet button at the bottom, it should allow others to see the photo I just laser-eyesed (laserized, ha, get it?) and encourage to laser-eyes one of their own. Let's see it happen :)
Re:Show HN: My useless but fun laser eyes web app by kilian on Monday February 14, 2011 @06:02AM (#2216303)
I initially offloaded all the image saving to Facebook, but (private) photo sharing would be a good idea, yeah. I'll see what I can do, thanks for the kind words :)
Re:Show HN: My useless but fun laser eyes web app by GBKS on Monday February 14, 2011 @09:06AM (#2216775)
Sounds like you are hesitant to make a public photo gallery. I'd recommend building one though. From my experience with cornify.com, having a public gallery really activates people - way better social proof than just the Facebook/Twitter share numbers.

When somebody saves an image, I'd ask "Can we show this to other people?"

Re:Show HN: My useless but fun laser eyes web app by kilian on Tuesday February 15, 2011 @04:37AM (#2220699)
I'm indeed hesitant about it (never done it before) but thanks for the advice, I really appreciate it and will definitely take a shot at it.
Re:Show HN: My useless but fun laser eyes web app by kno on Monday February 14, 2011 @01:17PM (#2217839)
How about IE7 :(
Re:Show HN: My useless but fun laser eyes web app by GBKS on Monday February 14, 2011 @03:08PM (#2218396)
You mean something is not working on Cornify on IE7? Just tested and all seems good. Would be great if you could let me know what's not working. Thanks.
Re:Show HN: My useless but fun laser eyes web app by phatbyte on Monday February 14, 2011 @05:18AM (#2216213)
At first like I was like "what the..", but then I was "whoo hoo, my eyez haz lazer" :P
Re:Show HN: My useless but fun laser eyes web app by fookyong on Monday February 14, 2011 @05:47AM (#2216261)
this is great! mine is my new facebook profile photo :) I smell a viral hit...

updated: also, definitely make an iphone app for this!

Re:Show HN: My useless but fun laser eyes web app by kilian on Monday February 14, 2011 @06:08AM (#2216317)
I hope so! Thanks for promoting it on twitter by the way :)
Re:Show HN: My useless but fun laser eyes web app by jbpr on Monday February 14, 2011 @06:07AM (#2216312)
I love it. Could we have the ability to pick where the eyes are if the app doesn't find them automagically?
Re:Show HN: My useless but fun laser eyes web app by kilian on Monday February 14, 2011 @07:42AM (#2216517)
I'll implement this soon!
Re:Show HN: My useless but fun laser eyes web app by Vivtek on Monday February 14, 2011 @10:46AM (#2217138)
For some reason, it doesn't seem to like anything I give it (Chrome and Firefox both). I finally got to see it with the imgur pic posted below.
Re:Show HN: My useless but fun laser eyes web app by fezzl on Monday February 14, 2011 @06:32AM (#2216360)
I would suggest allowing different colors for the laser.
Re:Show HN: My useless but fun laser eyes web app by kilian on Monday February 14, 2011 @07:01AM (#2216435)
Going to implement that next, yeah :)
Re:Show HN: My useless but fun laser eyes web app by true_religion on Monday February 14, 2011 @02:43PM (#2218277)
Doesn't work on anyone with dark skin.... but then I didn't expect it to since all of the out of the box OpenCV algorithms have the same problem.
Re:Show HN: My useless but fun laser eyes web app by kilian on Monday February 14, 2011 @03:12PM (#2218418)
Aw :( Thats something I don't want. Do you happen to know how I can improve detection of faces with dark skin?
Re:Show HN: My useless but fun laser eyes web app by pbhjpbhj on Monday February 14, 2011 @05:09PM (#2218911)
Could you invert the image and try again or is it background contrast that's the problem? Maybe try looking at a single color channel?
Re:Show HN: My useless but fun laser eyes web app by nedwin on Monday February 14, 2011 @07:55AM (#2216553)
A friend just pointed me to this somewhat related project: http://www.lazertits.com/
Re:Show HN: My useless but fun laser eyes web app by antihero on Monday February 14, 2011 @09:01AM (#2216761)
Thank you sir, for creating this exciting new way to view my pornography collection.
Re:Show HN: My useless but fun laser eyes web app by tom_ilsinszki on Monday February 14, 2011 @06:04AM (#2216307)
My 2 cents...

I'd put the "Login with facebook to post pictures to Facebook!" box under or next to the picture.

Also keeping it hidden and making it appear after the laser has been placed, might also be a good idea.

Re:Show HN: My useless but fun laser eyes web app by boredguy8 on Monday February 14, 2011 @12:06PM (#2217509)
Doesn't work for me. Uploading a 124kb .jpg of someone looking at the camera with a fairly boring background. It starts "searching for laser mounting points", gets about 1/8th of the way down the image, and hangs.
Re:Show HN: My useless but fun laser eyes web app by JonLim on Monday February 14, 2011 @01:36PM (#2217942)
Same thing happened to me. I figured it was cause I'm Asian and it was being racist, but I guess not.

shakes fist

Re:Show HN: My useless but fun laser eyes web app by enjalot on Monday February 14, 2011 @01:10PM (#2217809)
I tried 3 pictures and it only seemed to scan the top 1/8th as well before it gives up.

Chromium on Ubuntu

Re:Show HN: My useless but fun laser eyes web app by kilian on Monday February 14, 2011 @12:49PM (#2217713)
What browser/os are you using?
Re:Show HN: My useless but fun laser eyes web app by alienreborn on Monday February 14, 2011 @06:01AM (#2216298)
Fun app, thanks! :) but for some reason when I tried to save the image, it crashed my chrome and the second time I am able to save it but still it slowed down chrome.
Re:Show HN: My useless but fun laser eyes web app by zalew on Monday February 14, 2011 @06:38AM (#2216383)
awesome! :D

I must say the same as I did on another project here today - it needs linking to the result. then it'll spread viral (I will share for sure :D)

Re:Show HN: My useless but fun laser eyes web app by nedwin on Monday February 14, 2011 @07:20AM (#2216473)
This is awesome. Also added it to my Facebook + Twitter profile.

Would be great to have nice some kind of easy file sharing.

Re:Show HN: My useless but fun laser eyes web app by nedwin on Monday February 14, 2011 @07:50AM (#2216538)
11 comments in 20 minutes across Facebook and Twitter. Pretty good given it's nearly midnight here.
Re:Show HN: My useless but fun laser eyes web app by lurchpop on Monday February 14, 2011 @06:02AM (#2216299)
haha cool! I love it.

Hey, i didn't notice the Facebook connect thing. You should center it above the pic.

Also, you could load the profile pic by default to save the user a step.

It would be cool to allow me to pick from a list of my friends and give'em laserey.es.

...and throw an ad on there, dude!!

Re:Show HN: My useless but fun laser eyes web app by kilian on Monday February 14, 2011 @06:04AM (#2216309)
No ads! Haha. Not in it for the money ;)

A list of friends would be cool, but it's hard to get them via the Facebook api (Just getting a full size facebook image is hard: http://kilianvalkhof.com/2011/javascript/full-size-profile-p... )

Re:Show HN: My useless but fun laser eyes web app by Vivtek on Monday February 14, 2011 @10:46AM (#2217142)
Post some ads, dude - in it for the money or not, you'll make us all cry otherwise.
Re:Show HN: My useless but fun laser eyes web app by Nack on Monday February 14, 2011 @09:36AM (#2216863)
Here's a great test image: http://i.imgur.com/biW6Z.jpg
Re:Show HN: My useless but fun laser eyes web app by mrphoebs on Monday February 14, 2011 @05:14AM (#2216198)
Cool, just tested with an image of superman.(redundant?)