Simple script that takes in an image and reduces it down to a provided number of distinct colors, while keeping the image as close to the original as possible.
- Python 3.8
Run the following command:
python src/quant.py -i {ABS_PATH_TO_IMG} -c {NUM_DISTINCT_COLORS}
Once run a window will pop up with the quantized image. Press 0 to exit.
