Implementation of Poisson Image Editing in Python. Dependencies include numpy and scipy for conjugate gradients, scikit-image for file-reading and matplotlib for visualization.
-
Open the directory in a unix-terminal with bash and create a virtual environment. For fish users, add
activate.fishwhen sourcing.python3 -m venv venv source venv/bin/activate # On macOS/Linux .\venv\Scripts\activate # On Windows
-
Check for dependencies by running
pip install -r requirements.txt
-
Execute the script
python3 main.py
Keep in mind that you have to close every plot manually if you run from the command line. If that sounds tedious, use an IDE with matplotlib support ;)