5 ms·
Show HN: An algorithm to automatically turn photos of food into faces
- megalodon 11y agoFun project, excellent article! Your figures made the algorithms incredibly easy to grasp.
- aaronrandall 11y agoThanks, glad you enjoyed it :)
- gedsic 11y agoAre there other example images? I don't have access to an iOS device right now.
- kazinator 11y agoPictures of food -> faces. Actual food -> feces.
- wallzz 11y agoAm I the only person who read it as "feces"!!!
- jnsaff2 11y agoNope.
- saspiesas 11y agoThis is a fantastic example of an interesting academic task, and very well explained. Thanks for sharing!
- aaronrandall 11y agoAwesome, glad you enjoyed it :)
- junke 11y agoUgh, millennials. http://buttersafe.com/2016/02/02/a-new-generation-of-art/ http://buttersafe.com/2016/02/02/a-new-generation-of-art/
- throwthroughtho 11y agoGreat article, well explained and illustrated. The name is funnier than the app though. It literally translates to "giant dick" in French.
- dewarrn1 11y agoNot bad, but not quite Arcimbaldo [0]. https://en.m.wikipedia.org/wiki/Giuseppe_Arcimboldo#/media/File%3AGiuseppe_Arcimboldo_-_Rudolf_II_of_Habsburg_as_Vertumnus_-_Google_Art_Project.jpg https://en.m.wikipedia.org/wiki/Giuseppe_Arcimboldo#/media/F...
- bayonetz 11y agoWhoa. That's pretty rad! Why don't more people know about this guy? Considering he predates the surrealists by literally hundreds of years, you'd think he would get more press. This stuff would be right at home in an issue of Juxtapoz magazine.
- dewarrn1 11y agoStriking, isn't it? I ran across his work when taking cog psych/cog neuro courses. Arcimbaldo's paintings provide a great demonstration of face perception and — one could argue — face-seeking that our brains perform with no conscious effort.
- plethora 11y agoJust to say, he's quite well known amongst artists and art historians, though I don't recall learning about him in my Western art history course. Along similar lines, but more well known is Hieronymus Bosch http://lmgtfy.com/?q=hieronymus+bosch http://lmgtfy.com/?q=hieronymus+bosch.
- thebouv 11y agoThink of how revolutionary this is for people who incessantly take photos of their food and post to Instagram. We need a "food->face" filter stat. If not for the poster, then one I can apply to any of my friends' photos they post. Or maybe I need better friends. Or eat more photogenic food myself.
- andretti1977 11y agoGreat! This article is a perfect example of excellent documentation for source code. It would be great if any project had such a good documentation.
- gus_massa 11y agoI don't understand how the part of the plate that was covered with food is reconstructed. Does this assume that the plate has an uniform color and round symmetry? Does this work with plates that have circular color stripes?
- mbel 11y agoIt discards original plate and puts everything on image of an empty plate [0][1]. The effect is surely a bit more impressive when the plates match :) [0] https://github.com/AaronRandall/Megabite/blob/b982d587677b9339dbb280ba20c900f3fdd0e1f6/Megabite/ImageProcessor/ImageProcessor.mm#L168 https://github.com/AaronRandall/Megabite/blob/b982d587677b93... [1] https://github.com/AaronRandall/Megabite/blob/master/Megabite/Assets.xcassets/EmptyPlate.imageset/EmptyPlate.png https://github.com/AaronRandall/Megabite/blob/master/Megabit...
- aaronrandall 11y agoThat's a great question! My original plan that once I had extracted all the items from the plate, the app would then detect the average colour of the remaining regions and "fill" the gaps - that wouldn't work well with plates that have different patterns, but would probably be good enough for plates of a single colour. Due to time constraints (and ultimately solving the majority of the problems I had originally aimed to with this project), the app replaces the cropped circular region with a plain white plate (a separate image contained in the app) before placing the extracted items. Maybe I'll go for the more advanced implementation if/when I spend more time on this project!
- huehehue 11y agoThis seems like a great example of a technically/algorithmically challenging problem that the layman would not appreciate, more so if this could be refined and applied to a wider set of images. An elevator pitch for this, if you will, would likely not impress most non-technical people because, on it's face, what's so hard about rearranging foods into faces?
- RIMR 11y agoThere are tons of tasks that are easy for a human to perform, but challenging for a computer to perform. Deepdream certainly seems to impress the layman.
- Houshalter 11y agoWe truly live in the future.
- jfries 11y agoGreat! It's also a nice reminder that it's possible to do automatic image manipulation with tools other than neural networks.
- dhj 11y agoI'm just happy that I got to see a rotational transform of bacon today.
- jackmaney 11y agoNitpick: The area should be in units of pixels^2. Other than that, this is awesome.
- overcast 11y agoBacon to Kevin Bacon?