Cupscale: Enlarge photos without loss of quality using AI


Cupscale is a free, open source software for enlarging photos and videos at least 4X times, without loss of quality, using artificial intelligence.

esrgan cupscale

The Cupscale program uses ESRGAN (enhanced hyper-resolution imaging networks), a technique for upgrading images to 4x size without loss of quality and without the appearance of pixels. You can import JPG and PNG files and then export them in the same or different formats, in larger size.

It can use a dedicated GPU to achieve the size upgrade, but if you want, you can choose to use a CPU instead. It has built-in ready-made models, supports creating previews and changing AI models.

Installation
You can run Cupscale without restrictions. It is available in Windows, but you must first have the following utilities installed on your computer:

python 3 install

  • PyTorch: Based on the GPU configuration, you can copy it PyTorch installation command from here. Open a command prompt with administrator privileges and type the appropriate command to install PyTorch on Windows.
  • CV2: Install OpenCV for Python on Windows. After installing PyTorch, you just run the command pip3 install opencv-python from the command line or from a PowerShell.

When you have installed all the above kits download Cupscale here. Unzip the ZIP file, then run the EXE file and its window will open. It will automatically detect the GPU and its main window will be as shown below.

cupscale
Work with Cupscale
Right-click on the image area, and then insert a low-resolution image.

Select the output parameters from the left sidebar. Select a model and mode, then adjust the ESRGAN editing options.

Click the "Refresh Preview" button to start the upgrade process. Then wait for the editing to finish and when it is complete, you will see that upgraded image.

You can save it, you can use zoom in and out to control different areas in the upgraded image. And to save it to a computer, just use the Save option on the right sidebar.

If you do not have a GPU installed on your computer or the GPU is not supported, then you can switch to the CPU. Note, however, that processing via the CPU will take longer to upgrade an image. Make sure you have a good GPU, otherwise your system will be too slow when upgrading a video or set of images via the CPU. The quality either through GPU or CPU will not change. Only the processing time will be different.


Read them Technology News from all over the world, with the validity of iGuRu.gr

Follow us on Google News iGuRu.gr at Google news