Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
A Use for Smartphone Photos (petersobot.com)
92 points by psobot on April 22, 2012 | hide | past | favorite | 20 comments


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.


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.


Blog doesn't scroll on my smartphone,so I couldn't read the post.(Standard browser on droid running android 2.2.3.)


Not that its much of an excuse, but it does work well in Opera Mini on android.


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.


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!


The cropping algorithm seems like a two-dimensional version of the one Reddit uses for its thumbnails.


You're right - the original author of the algorithm based it on the Reddit algorithm. (Original gist: https://gist.github.com/a54cd41137b678935c91)


We did similar things with images in this Codebrawl: http://codebrawl.com/contests/content-aware-image-cropping-w...


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.


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.


Here's a similar tool that uses ImageMagick and PHP: http://jueseph.com/2010/06/opticrop-content-aware-cropping-w...


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.


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


That's quite clever. Good work! Shame this didn't occur to me a couple of years ago when I needed it. :) Ah well.


hope someone ports this to RoR and includes an installation guide. would make for a very fine photo gallery.


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.


How does it do with faces?


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.


please change your font. it is hard to read in my chrome.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: