Hacker News new | ask | show | jobs
by thomasahle 1891 days ago
I'm impressed it manages to preserve the frames of the man's glasses.

Did you do that manually? Or does the algorithm somehow detect lines like that?

1 comments

Thanks! The algorithm works iteratively, so essentially each iteration it makes small changes and then checks if these changes are optimal. (There are many more details described on the wiki [1])

The frames of the glasses were preserved because the algorithm "decided" that it was optimal to keep them with the limited number of points it has to work with.

[1] https://github.com/RH12503/Triangula/wiki/Explanation-of-the...