News for hackers. Stuff that matters.
Re:Show HN: An algorithm to automatically turn photos of foo... by gus_massa on Tuesday February 02, 2016 @10:08AM (#11019824)
I 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?

Re:Show HN: An algorithm to automatically turn photos of foo... by aaronrandall on Tuesday February 02, 2016 @11:21AM (#11020373)
That'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!

Re:Show HN: An algorithm to automatically turn photos of foo... by mbel on Tuesday February 02, 2016 @11:17AM (#11020342)
It 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/b982d587677b93...

[1] https://github.com/AaronRandall/Megabite/blob/master/Megabit...