Giter Site home page Giter Site logo

tenpi / waifu2x-gui Goto Github PK

View Code? Open in Web Editor NEW
261.0 5.0 13.0 296.44 MB

An app that upscales anime-styled images, gifs, videos, and pdfs with waifu2x.

License: Other

TypeScript 82.43% HTML 0.31% Less 13.77% JavaScript 3.49%
waifu2x gui anime image-upscaling video-upscaling image gif-upscaling gif video pdf

waifu2x-gui's Introduction

Waifu2x GUI

This is a GUI app that can upscale anime-styled images, gifs, and videos using waifu2x, Real-ESRGAN, or Real-CUGAN. It aims to be simple to use, but you can access more advanced settings in the top bar.

Note: Upscaling videos and gifs will take a very long time without a high-end graphics card!

Features:

  • Upscale and/or denoise images (png, jpg, webp, etc.)
  • Upscale and/or denoise animated images (gif, animated webp)
  • Upscale and/or denoise videos (mp4, webm, ogv, etc.)
  • Upscale and/or denoise PDFs (pdf)
  • Apply effects such as speed or reverse (animated images/videos)
  • Customize settings (noise, scale, mode, framerate, etc.)
  • Upscale multiple images (or multiple frames of an animated image/video) concurrently
  • Change the upscaler (waifu2x, Real-ESRGAN, Real-CUGAN, or custom)

Warning: Upscaling too many images in parallel can cause your computer to freeze if it runs out of CPU/memory.

Waifu2x

Waifu2x only supports scale factors in multiples of 2 from 1/2/4 and noise level -1/0/1/2/3 (set to -1 for no denoise).

Real-ESRGAN

Real-ESRGAN only supports scale factors between 2-4, and all other options are ignored. By setting the scale factor to 4x, it will use the slower Anime4x model that gives better results, so it is recommended to upscale images at 4x when using Real-ESRGAN.

Real-CUGAN

Real-CUGAN only supports scale factors 1/2/3/4, and noise level -1/0/1/2/3 and only noise 0 and 3 for scale factors 3/4. This is probably the best performing upscaler out of the defaults.

Custom Models

You can add custom pytorch models to the "models" folder in the location the app is installed, same place ffmpeg folder is located. If the folder doesn't exist, create it. You need to install python in order to run them. If you still have trouble, try installing the dependencies:

pip3 install torch torchvision opencv-python Pillow numpy spandrel --compile --force-reinstall

Installation

To install, download the latest installer from the releases tab. Updates can be installed automatically.

Note: If you install it under C:/Program Files you might need to run it as administrator.

MacOS

On MacOS unsigned applications won't open, run this to remove the quarantine flag.

xattr -d com.apple.quarantine /Applications/Waifu2x\ GUI.app

Bugs and Requests

Open an issue on my GitHub repository. I appreciate any requests, but I can't guarantee that I will fulfill all of them.

Related/Credits

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.