mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-28 23:19:11 +00:00
updated
This commit is contained in:
parent
15780d5355
commit
3d2cbcc6e3
@ -22,4 +22,4 @@ class WAIFU2X:
|
|||||||
self.method = method
|
self.method = method
|
||||||
|
|
||||||
def upscale(self, folderin, folderout, width, height):
|
def upscale(self, folderin, folderout, width, height):
|
||||||
os.system("{} -p {} -I png -i {} -e png -o {} -w {} -h {}".format(self.waifu2x_path, self.method, folderin, folderout, width, height))
|
os.system("{} -p {} -I png -i {} -e png -o {} -w {} -h {} -n 3 -m noise_scale -y photo".format(self.waifu2x_path, self.method, folderin, folderout, width, height))
|
||||||
|
Loading…
Reference in New Issue
Block a user