Tool that takes your photo and generates a pixelated color by number photo.
Made for a Christmas gift.
You need to have python installed on your computer. Also, modules Pillow and colorthief are required. To install them with pip, use
$ pip install --upgrade pip
$ pip install --upgrade Pillow
$ pip install colorthief
Download zip code and exctract to random folder. Into the same folder, add the template picture. Then in CMD, navigate to this folder and open program.py with python (when in folder, type python program.py). Follow instructions in CMD. Program will generate 3 pictures:
- result.png
- colored result.png (how result.png will look if you color it)
- repetitions.png (shows how much of each color is needed and which symbol is associated with it)
The parameters I used:
- number of rows = 60
- number of colors = 15
template picture:
result:
colored result:
repetitions: