- python version
python -V
Python 3.7.4
- pip install
pip install -r requirements.txt
-
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>
- scipy.spatial.cKDTree
- We use the library from scipy in the gen_mosaic_image.py script.