mosaic-art-python

process of execution

requirements

  • python version
python -V
Python 3.7.4
  • pip install
    • pip install -r requirements.txt

get images from the Metropolitan Museum

  • The Metropolitan Museum of Art Collection API.

  • We have to run the script to get the sample images as below.

    • mkdir <download_path>
    • python get_metro_images.py <download_path> <query> <max_num>
  • We have to run the next script to generate the mosaic images as below.

    • python gen_mosaic_image.py <main_image_path> <download_path> <tile_width_size> <tile_height_size> <output_width_size> <output_height_size> <output_path>

how to get the similar images

Ref.