Organise images into a single directory eg images/
For example, the following files:
Run waifu2x as follows:
poetry run py -m waifu2x -i images -o output_imagesSee below for a breakdown
poetry run: in this example we are using poetry to run the python code inside a virtual environment. This is optional but good practisepy -m waifu2x: tell python to use waifu2x module (this library). If on Mac/ Linux usepython3 -m waifu2x-i images: the input directory of images-o output_images: the output directory
Output can be found in output_images/
For example, the following files:



