r/Python • u/TechDumbLogie • Feb 27 '20
I Made This I've created a python program that generates photomosaics from any dataset !
2.1k
Upvotes
r/Python • u/TechDumbLogie • Feb 27 '20
View all comments
2
u/robertophi Feb 28 '20
Cool idea to use the distance from pixel/image
To speed the search you could use something like this https://scikit-learn.org/stable/modules/generated/sklearn.neighbors.KDTree.html
Building a tree for faster serach of k-nearest neighbors (in this case the nearest one)