5 ms·
A Use for Smartphone Photos
- tbh 14y agoThat's quite clever. Good work! Shame this didn't occur to me a couple of years ago when I needed it. :) Ah well.
- mtodd 14y agoLike 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.
- psobot 14y agoDupes 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.
- kevinchen 14y agoIt 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.
- samstave 14y agoI 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.
- ionforce 14y agoHow does it do with faces?
- psobot 14y agoNot 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.
- akavi 14y agoThe cropping algorithm seems like a two-dimensional version of the one Reddit uses for its thumbnails.
- psobot 14y agoYou're right - the original author of the algorithm based it on the Reddit algorithm. (Original gist: https://gist.github.com/a54cd41137b678935c91 https://gist.github.com/a54cd41137b678935c91)
- anaphora 14y agohope someone ports this to RoR and includes an installation guide. would make for a very fine photo gallery.
- psobot 14y agoIt'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.
- Estragon 14y agoBlog doesn't scroll on my smartphone,so I couldn't read the post.(Standard browser on droid running android 2.2.3.)
- nfriedly 14y agoNot that its much of an excuse, but it does work well in Opera Mini on android.
- Estragon 14y agoOops, 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.
- psobot 14y agoMy 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!
- kevinsd 14y agoplease change your font. it is hard to read in my chrome.
- jawns 14y agoHere's a similar tool that uses ImageMagick and PHP: http://jueseph.com/2010/06/opticrop-content-aware-cropping-with-php-and-imagemagick/ http://jueseph.com/2010/06/opticrop-content-aware-cropping-w...
- pilsetnieks 14y agoI 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.
- sp332 14y agoSince 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 http://www.imagemagick.org/Usage/resize/#liquid-rescale
- rogerbraun 14y agoWe did similar things with images in this Codebrawl: http://codebrawl.com/contests/content-aware-image-cropping-with-chunkypng http://codebrawl.com/contests/content-aware-image-cropping-w...