Skip to content

RealESRScaler - image/video AI upscaler app (Real-ESRGAN)

License

Notifications You must be signed in to change notification settings

jaycalixto/RealESRScaler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation




RealESRScaler - image/video AI upscaler app (Real-ESRGAN)


What is RealESRScaler?

RealESRScaler is a Windows app that uses Real-ESRGAN artificial intelligence to enhance, enlarge and reduce noise in photographs and videos.

Other AI projects.🤓

https://github.com/Djdefrag/QualityScaler / QualityScaler - image/video AI upscaler app (BSRGAN)

Credits.

Real-ESRGAN - https://github.com/xinntao/Real-ESRGAN

How is made. 🛠

RealESRScaler 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 / split_image

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

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
  • Multiple 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
  • Include audio for upscaled video
  • Optimizing image/frame resize and video frames extraction speed
  • Update libraries
    • Python 3.10 (expecting ~10% more performance)
    • Python 3.11 (expecting ~30% more performance)
    • pytorch-directml

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 ReSR.Scaler as Administrator, drag&drop is not working

Some Examples.

Videos

boku-no-hero-my-hero-academia

RealESRGAN_plus_x4.mp4
RealESR_generalv3_x4.mp4

Images

teaser

test

test2

test3

test4

test5

a

About

RealESRScaler - image/video AI upscaler app (Real-ESRGAN)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 100.0%