Qball's Weblog
EvO – Image vectorization using evolution
I promised to put this code online, so here it is. EvO. A small program that (with very crappy results) uses ‘genetic’ algorithm to vectorize images.
It is based on this blog post: http://rogeralsing.com/2008/12/07/genetic-programming-evolution-of-mona-lisa/
I never finished it to produce nice results like the above blog post, but I had fun time writing it.
It is written in vala. Code can be found on github: https://github.com/DaveDavenport/Evo
An example (waldo): (see full gallery here)
../evo --help Usage: evo [OPTION...] Evo Help Options: -?, --help Show help options Application Options: -i, --input Input file -j, --threads Number of CPU threads to run -p, --population Size of the popution (default 16) -n, --initial Initial file -r, --render Render file -w, --width Output width -h, --height Output height --output-png Output png instead of svg