I wrote a small flask app that receives an image and using Kmeans, reduce the quality before returning it. Unfortunately I am struggling to process the image that I just rec