k means for image processing using Nvidia's numba library to execute the algorithm on the GPU
Example use of this script on some pictures I took with my phone:
Do note that doing this to an image tends to massivly amplify compression artifacts (like those seen in the k=16 giraffe picture).