No description
Find a file
2016-11-15 19:46:23 +00:00
example_output.png added example image 2016-11-15 19:20:15 +00:00
pattern_pieces.py Update pattern_pieces.py 2016-11-15 19:46:23 +00:00
README.md Update README.md 2016-11-15 19:18:50 +00:00

pattern_pieces

Pattern Pieces art generation script written in Python that creates an image from all images in the input directory.
A random square of BLOCK_SIZE is take from each input image cyclically until the NO_OF_PIECES is reached.
Output Image is created by re-pasting each of pieces in a cyclical fashion.

Usage

Pattern Pieces Art Generator

optional arguments:
  -h, --help            show this help message and exit
  -b BLOCK_SIZE, --blocksize BLOCK_SIZE
                        Block Size
  -p NO_OF_PIECES, --pieces NO_OF_PIECES
                        Number of Pieces
  -i INPUT_DIR, --input INPUT_DIR
                        input directory