Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 803 Bytes

File metadata and controls

38 lines (26 loc) · 803 Bytes

Python Module Tutorial

Step 1

Organise images into a single directory eg images/

For example, the following files:

Screenshot 1 Screenshot 2

Step 2

from waifu2x import run

input_img_path = "foreground.png"
output_img_path = "foreground_actual.png"
run(input_img_path,output_img_path)

Step 3

Output can be found in output_images/

For example, the following files:

Screenshot 1 Screenshot 2