Using optimization algorithms for reconstructing an image from a set of basic shapes.
Currently supported algorithms: Genetic Algorithm Currently supported shapes: Circle, Triangle
Tested on Ubuntu 18.10 & python 3.7.3
virtualenv -p `which python3` venv
source venv/bin/activate
pip install -r requirements.txt
pytest
pip install -U .
reconstruct --help
reconstruct GeneticAlgo --help
reconstruct --image ./data/monaliza.jpg --shape Triangle GeneticAlgo --max-generations 10000 --number-of-shapes 50