designtips / QualityScaler

QualityScaler 6.0 - image/video deeplearning upscaler with any GPU [Pytorch]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool




QualityScaler - image/video deeplearning upscaling for any GPU


Citations. ❤

https://80.lv/articles/80-level-digest-great-ai-powered-tools-for-upscaling-images/

https://timesavervfx.com/ai-upscale/

No Watermarks ✨

https://jangystudio.itch.io/qualityscaler

Credits.

BSRGAN - https://github.com/cszn/BSRGAN | https://arxiv.org/abs/2103.14006

How is made. 🛠

QualityScaler is completely written in Python, from backend to frontend. External packages are:

  • AI -> Pytorch-directml
  • GUI -> Tkinter / Tkdnd / Sv_ttk
  • Image/video -> OpenCV / Moviepy
  • Packaging -> Pyinstaller
  • Miscellaneous -> Pywin32 / Win32mica / Image_slicer

Installation. 👨‍💻

Prerequisites:

Visual C++: https://www.techpowerup.com/download/visual-c-redistributable-runtime-package-all-in-one/

DirectX runtime: https://www.microsoft.com/en-us/download/details.aspx?id=8109

Installation:

  1. download the QualityScaler release .zip
  2. unzip using 7zip or similar
  3. execute QualityScaler.exe in the directory

Requirements. 🤓

  • Windows 11 / Windows 10
  • RAM >= 8Gb
  • Directx12 compatible GPU:
    • any AMD >= Radeon HD 7000 series
    • any Intel HD Integrated >= 4th-gen core
    • any NVIDIA >= GTX 600 series
  • CPU [works without GPU, but is very slow]

My testing PC.

  • Windows 10 ReviOS
  • CPU Ryzen 5600G
  • RAM 16Gb
  • GPU Nvidia 1660
  • STORAGE 1 Sata 120Gb SSD, 1 NVME 500Gb SSD

Features.

  • Easy to use GUI
  • Image/list of images upscale
  • Video upscale
  • Drag&drop files [image/multiple images/video]
  • Automatic image tiling and merging to avoid gpu VRAM limitation
  • Resize image/video before upscaling
  • Cpu and Gpu backend
  • Compatible images - png, jpeg, bmp, webp, tif
  • Compatible video - mp4, wemb, gif, mkv, flv, avi, mov, qt

Next steps. 🤫

  • Switch to Pytorch-directml to support all Directx12 compatible gpu (AMD, Intel, Nvidia)
  • New GUI with Windows 11 style
  • Optimizing image/frame resize and frames extraction
  • Include audio for upscaled video
  • Update libraries
    • Python 3.10 (expecting ~10% more performance)
    • Python 3.11 (expecting ~30% more performance)

Known bugs.

  • Windows10 - the app starts with white colored navbar instead of dark
  • Upscaling multiple images doesn't free GPU Vram, so the it is very likely that the process will fail when the gpu memory fills up
  • Filenames with non-latin symbols (for example kangy, cyrillic etc.) not supported - [Temp solution] rename files like "image" or "video"
  • When running QualityScaler as Administrator, drag&drop is not working
  • Some user reported that QualityScaler does not work correctly, returning the message 'Errore while upscaling'

Some Example.

test

Bsrgan x4

Bsrgan x4 (2)

Bsrgan x4 (3)

Bsrgan x4

About

QualityScaler 6.0 - image/video deeplearning upscaler with any GPU [Pytorch]

License:MIT License


Languages

Language:Python 100.0%