Created using Numpy and OpenCV, this program can be used to recreate a selected photo (The target) with other images. Was developed using Python 3.5.2.
-
Open your terminal, ensure you have Python 3 installed on your computer
-
Download the repo and checkout to the directory of the project
-
Create a virtual environment to isolate the python packages you will be installing
-
Activate the virtual environment and install the packages using the requirements.txt
source <name of virtualenv>/bin/activate
pip install requirements.txt
- Run the program
python photoBit.py <path to target image> <path to images to use as tiles>