This is the script to convert form keyword to mosaic image.
- you input the keyword and the image.
- this script finds some images from google-images with the keyword.
- this script thinks the combination about 10,000 images.
- this script makes a mosaic image looks like your input image, using by 10,000 images about keyword.
- you can get the mosaic image.
$ cd [this script directory]
$ bundle install --path vendor/bundle --binstubs bundle_bin
$ cp [target file] [this script directory]/assets/targets/ # use .jpg file
$ vim main.rb # rewrite keywords for search
$ bundle exec ruby main.rb
WIP...
WIP...
- please git commit after
bundle exec "rubocop --auto-gen-config"
andbundle exec "rubocop --auto-correct"