Final project for Computer Vision Spring 2021 @ Brown University by Usha Bhalla, Sierra Rowley, Cam Wenzel, and Ally Zhu
Read our paper here: https://www.overleaf.com/read/pdgpftwjbytq
Contains code for running k-means and recoloring, our main file
Contains code for all the recolor functions
Contains code for our own implementation of k-means
Contains code for connecting our program to the frontend gui
To run locally, within the code directory run: python image_segmentation.py -d <path to data image> -k <value of k> -o <path to store output>
To run the GUI, run: flask run