Skip to content

Djdefrag/QualityScaler

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
October 25, 2022 09:10
June 10, 2023 10:28
April 3, 2022 16:42
June 10, 2023 10:28
June 10, 2023 10:31
May 13, 2023 08:26



QualityScaler - image/video AI upscaler app (BSRGAN)


What is QualityScaler?

Qualityscaler is a Windows app that uses BSRGAN Artificial Intelligence to enhance, enlarge and reduce noise in photographs and videos.

Other AI projects.πŸ€“

Citations. ❀

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

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

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 -> torch / torch-directml
  • GUI -> customtkinter / win32mica
  • Image/video -> openCV / moviepy
  • Packaging -> pyinstaller / upx

Requirements. πŸ€“

  • Windows 11 / Windows 10
  • RAM >= 8Gb
  • Any Directx12 compatible GPU with >= 4GB VRAM

Features.

  • Easy to use GUI
  • Images and Videos upscale
  • Automatic image tiling and merging to avoid gpu VRAM limitation
  • Resize image/video before upscaling
  • Multiple Gpu support
  • Compatible images - png, jpeg, bmp, webp, tif
  • Compatible video - mp4, wemb, gif, mkv, flv, avi, mov, qt

Next steps. 🀫

  • 1.X versions
    • Switch to Pytorch-directml to support all Directx12 compatible gpu (AMD, Intel, Nvidia)
    • New GUI with Windows 11 style
    • Include audio for upscaled video
    • Optimizing video frame resize and extraction speed
    • Multi GPU support (for pc with double GPU, integrated + dedicated)
    • Python 3.10 (expecting ~10% more performance)
  • 2.X versions (now under development)
    • New, completely redesigned graphical interface based on @customtkinter
    • Upscaling images and videos at once (currently it is possible to upscale images or single video)
    • Upscale multiple videos at once
    • Python 3.11 (expecting ~30% more performance)
    • Torch/torch-directml 2.0 (expecting ~20% more performance)

Some Example.

Videos

original

BSRGANx4.mp4

Images

test

ORIGINAL

Bsrgan x4

Bsrgan x4 (2)

Bsrgan x4 (3)

Bsrgan x4