Skip to content

ryanhe312/waifu2x-qt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

waifu2x-qt

此工具可让您通过平滑放大图像,尤其是对于动漫屏幕截图和插图。/This tool allows you to magnify your image with smoothing, especially for anime screenshots and illustrations.

[new!]现在已经支持多选。/Multiple choice is supported now!

  • 1.0.0 finish the basic function
  • 1.1.0 all in one file
  • 1.1.1 fix paths with spaces
  • 1.2.0 support Chinese
  • 1.2.1 remove log to avoid administrator right
  • 1.2.2 fix real-esrgan with ratio which is not 4
  • 1.3.0 add multiple choice

支持作者/ Buy Me a Coffee

你可以通过购买DLsite上的软件来支持开发。

https://www.dlsite.com/home/work/=/product_id/RJ390190.html

You can support the developer by purchasing the DLsite version.

https://www.dlsite.com/home/work/=/product_id/RJ390202.html

配置要求/Requirements

  • 操作系统/Operating System: Windows X64
  • 显卡/Graphics Card: 支持Vulkan/Vulkan Support

注意事項/Notice

(1)请不要使用系统路径作为输出路径。/Please don't use the system path as the output path.

(2)请务必检查您的显卡是否支持 Vulkan。 从以下 URL 检查是否支持 GPU。/Be sure to check your graphics card with Vulkan support. Check if GPU is supported from the following URL.

或者您可以使用这个工具检查是否支持Vulkan。/Or you can use this tool to check if Vulkan is supported.

https://github.com/skeeto/vulkan-test/releases/download/1.0.2/vulkan_test.exe

(3)如果您遇到崩溃或错误,请尝试升级您的 GPU 驱动程序。/If you encounter crash or error, try to upgrade your GPU driver.

运行/Manual

Screenshot_ZH

打开 Waifu2x_zh.exe 并按照说明进行操作。

(1) 在文件面板中设置输入路径和输出路径。 输入路径支持多选。

(2) 在配置面板中选择您喜欢的引擎和参数。 建议保持默认。只有SRCNN支持选择放大倍率和去噪强度。

(3) 单击操作面板中的生成并等待几分钟进行处理。

Screenshot_EN

Open Waifu2x_en.exe and follow the instructions.

(1) Set your input path and output path in Files Panel. The input path supports multiple selection.

(2) Select your preferred engine and parameters in Configs Panel. Staying default is recommended. Only SRCNN supports selection of magnification and denoising strength.

(3) Click Generate in Action Panel and wait for several minutes to process.

Develop

  1. Clone the repository

  2. Download waifu2x and real-esrgan package

wget https://github.com/nihui/waifu2x-ncnn-vulkan/releases/download/20210521/waifu2x-ncnn-vulkan-20210521-windows.zip
unzip waifu2x-ncnn-vulkan-20210521-windows.zip -d waifu2x
wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.3.0/realesrgan-ncnn-vulkan-20211212-windows.zip
unzip realesrgan-ncnn-vulkan-20211212-windows.zip -d realesrgan
  1. Prepare python environment
pip install PySide6

Build

  1. Prepare python environment
pip install PyInstaller
  1. Build package
pyinstaller --onefile --windowed --icon=logo.ico main.py  --add-data "realesrgan;realesrgan" --add-data "waifu2x;waifu2x" --add-data "logo.ico;." 

Privacy

  • We access your selected images to process.
  • We do not collect any of your informations.

Credit