Reproducer is an image reproduction project with genetic algorithm. It's extended and improved implementation (more accurate and faster reproduction for all colors) of ahmetdfgad/GARI project.
- Clone the repository.
$ cd reproducer && virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
- Specify an image path in the code (which is in main function).
- Specify width and height multiplier in main function if you want to resize picture or have faster iterations.
- Specify the iteration count, the default is
10m
. $ python3 reproducer.py
- You can find outputs in
points/
folder.
- If you lower your picture resolution, you'll have more accurate reproduced images. Also
reproducer
will work faster. - If you want to have faster reproduction and also same resolution, you can use upscalers like image-super-resolution.
- You can reproduce your friends' photos and let them use their reproduced photos as profile photo! That's funny, strongly recommended.
- Mostly, below 400x400 images are over 90% percentage being reproduced well in
5m
iterations.
Iterations: 0 | Iterations: 5k | Iterations: 10k | Iterations: 50k |
---|---|---|---|
Iterations: 100k | Iterations: 250k | Iterations: 500k | Iterations: 1m |