Transform pictures to Chuck Close inspired mosaic art.
Branch: master
Clone or download
Latest commit 75f1589 Oct 28, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Update screenshot Oct 27, 2018
input sample input Mar 10, 2018
shapes moving cell and comp to shapes Sep 3, 2017
test analogous colors May 16, 2017
.gitignore remove examples Aug 20, 2017
README.md Update screenshot Oct 27, 2018
__init__.py Adding init and .gitignore Jan 4, 2017
colorpalette.py initial working Feb 15, 2017
gencolor.py analogous colors May 16, 2017
grid.py Minor cleanup Mar 10, 2018
requirements.txt requirements Aug 20, 2017
run.py formatting Aug 20, 2017
util.py Minor cleanup Mar 10, 2018

README.md

Mosaic Shapes

python run.py ./input/bryan.jpg -e 2000 -d -c 1; open /tmp/out.JPEG

(shapes4) guppy:shapes dean$ python run.py -h
usage: run.py [-h] [-d] [-c {0,1,2}] [-a] [-r WORKING_RES] [-e ENLARGE]
              [-m MULTI] [-p POOL] [-o OUT]
              N [N ...]

Mosaic photos

positional arguments:
  N                     Photo path
optional arguments:
  -h, --help            show this help message and exit
  -d, --diamond         Use diamond grid instead of squares
  -c {0,1,2}, --color {0,1,2}
                        Specify color values
  -a, --analogous       Use analogous color
  -r WORKING_RES, --working_res WORKING_RES
                        Resolution to sample from
  -e ENLARGE, --enlarge ENLARGE
                        Resolution to draw
  -m MULTI, --multi MULTI
  -p POOL, --pool POOL
  -o OUT, --out OUT