Hacker News new | ask | show | jobs
by gus_massa 3790 days ago
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?

2 comments

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!

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...