This fork displays imagemagick crop argument to easily crop the rendered image to the face detected only.
It also displays these value during rendering.
Useful if you want to crop the rendered image to get only the "face" part as detected by ccv.
- Output size : 1000
- File name is 617x617+158+57.png
- imagemagick -crop 617x617+158+57 617x617+158+57.png face.png
- face.png contains face as seen highlighted under "fittest generation", at full resolution
I first generated the 30 faces you can see below : (already "face-cropped" here)
Then I overlayed them to generate a less cubist face :
- generate images
- crop them to get only the "facial" part of generated images (imagemagick)
- resize all of them to size of the smallest one (imagemagick)
- overlay them (imagemagick)
- generate random polygons
- feed them into a face detector
- mutate to increase recognition confidence
difficult stuff (the cv lib) by liuliu
idea via roger alsing's evolution of mona lisa, and greg borenstein's machine pareidolia
- try out a demo
- currently tested only in chrome (v 21)
- hangs firefox in some cases, on some OSes
- "autosave images" only works in chrome (uses a@download attribute)
- large output sizes result in corrupt images (data:// URLs too long?)
- probably a bunch of other bugs in there
- have patience - let it churn away for a few hours and see what you get
- annealing simulation from russellmcc


