News for hackers. Stuff that matters.
Re:A Use for Smartphone Photos by mtodd on Saturday April 21, 2012 @11:39PM (#3873836)
Like the idea.

I often take a couple of shots of the same thing just to experiment; probably a symptom of growing up shooting digital. I guess you're just banking on randomness preventing dupes from showing too often or manually removing them.

Re:A Use for Smartphone Photos by psobot on Saturday April 21, 2012 @11:54PM (#3873869)
Dupes are definitely possible - though rare in my case. Not only am I randomizing which photos get thumbnailed, I also randomize their order on each page load. I do screen the photos before they get deployed anyways.
Re:A Use for Smartphone Photos by Estragon on Sunday April 22, 2012 @02:25AM (#3874170)
Blog doesn't scroll on my smartphone,so I couldn't read the post.(Standard browser on droid running android 2.2.3.)
Re:A Use for Smartphone Photos by nfriedly on Sunday April 22, 2012 @02:38AM (#3874187)
Not that its much of an excuse, but it does work well in Opera Mini on android.
Re:A Use for Smartphone Photos by Estragon on Sunday April 22, 2012 @05:12AM (#3874392)
Oops, didn't mean it as a callout, just hoped the bug report would be helpful. Probably should have emailed it.

Given the number of browsers you'd need to check, it's completely understandable for a lone developer to miss something like this. Though I do wish people would leave the standard scroll functionality well enough alone.

Re:A Use for Smartphone Photos by psobot on Sunday April 22, 2012 @12:08PM (#3875173)
My bad - I tried to leave scrolling alone, but somewhere in my spaghetti of media queries it got hijacked. Working on a fix. Thanks for the heads up!
Re:A Use for Smartphone Photos by akavi on Sunday April 22, 2012 @12:27AM (#3873960)
The cropping algorithm seems like a two-dimensional version of the one Reddit uses for its thumbnails.
Re:A Use for Smartphone Photos by psobot on Sunday April 22, 2012 @12:42AM (#3873992)
You're right - the original author of the algorithm based it on the Reddit algorithm. (Original gist: https://gist.github.com/a54cd41137b678935c91)
Re:A Use for Smartphone Photos by rogerbraun on Sunday April 22, 2012 @02:14PM (#3875574)
We did similar things with images in this Codebrawl: http://codebrawl.com/contests/content-aware-image-cropping-w...
Re:A Use for Smartphone Photos by kevinchen on Saturday April 21, 2012 @11:47PM (#3873852)
It might be interesting to see this algorithm implemented in a photo-organizing software. Just like we have auto-levels, we can also have auto-crop.
Re:A Use for Smartphone Photos by samstave on Sunday April 22, 2012 @11:50AM (#3875102)
I want auto top with auto album, auto upload and auto organize.

Take a pic, it crops it and uploads it into an album set which can be filtered/organized by time day week month year with a simple slider.

Re:A Use for Smartphone Photos by jawns on Sunday April 22, 2012 @06:35AM (#3874502)
Here's a similar tool that uses ImageMagick and PHP: http://jueseph.com/2010/06/opticrop-content-aware-cropping-w...
Re:A Use for Smartphone Photos by pilsetnieks on Sunday April 22, 2012 @08:04AM (#3874642)
I learned from a designer friend of mine a long time ago that image resizing to smaller sizes makes them blurry - if you'd just sharpen them a bit it makes a world of difference. It also isn't all that hard to do in Python.
Re:A Use for Smartphone Photos by sp332 on Sunday April 22, 2012 @10:12AM (#3874861)
Since he already uses "content-aware" entropy calculations to find a good thumbnail, I think it would be relevant to use a content-aware resize as well. http://www.imagemagick.org/Usage/resize/#liquid-rescale
Re:A Use for Smartphone Photos by tbh on Saturday April 21, 2012 @10:44PM (#3873739)
That's quite clever. Good work! Shame this didn't occur to me a couple of years ago when I needed it. :) Ah well.
Re:A Use for Smartphone Photos by anaphora on Sunday April 22, 2012 @12:33AM (#3873970)
hope someone ports this to RoR and includes an installation guide. would make for a very fine photo gallery.
Re:A Use for Smartphone Photos by psobot on Sunday April 22, 2012 @12:43AM (#3873999)
It's fairly slow as-is, taking something like 500ms to locate and render one thumbnail. It might not work the best in a Rails project, but could be used as a pre-processor in a Rake task of some sort.
Re:A Use for Smartphone Photos by ionforce on Sunday April 22, 2012 @12:27AM (#3873959)
How does it do with faces?
Re:A Use for Smartphone Photos by psobot on Sunday April 22, 2012 @12:40AM (#3873987)
Not the best - faces might not have the highest entropy in a photo. Existing photo managers (i.e.: iPhoto) already have advanced facial recognition built in, though.
Re:A Use for Smartphone Photos by kevinsd on Sunday April 22, 2012 @05:21AM (#3874401)
please change your font. it is hard to read in my chrome.