使用开源人工智能 Upscayl 放大你的老照片
照片 AI
![](/data/attachment/album/202305/03/085229uwawt7dbbilw2272.png)



> 
> Upscayl 是一个自由开源的程序，它使用开源人工智能来提升低分辨率的图像。
> 
> 
> 


自从我小时候使用了我父亲的柯达 620 相机以来，我就一直对摄影很感兴趣。我用它来拍摄我们附近的动植物。出于对摄影的热爱，我在高中时购买了一台 Instamatic 相机，并最终在 1990 年代后期购买了一台刚刚进入市场的数码相机。早期的数码相机便于携带，能够快速捕捉图像并轻松地在互联网上共享图像。但它们在质量和复杂性上不如最好的胶片摄影。当然，从那时起，数码相机有了很大的改进。但我这么多年的数码照片看起来有点小，嗯，是在现代设备上看起来比较*小*。


直到最近，我用于提升数字图像的首选工具一直都是 [GIMP](https://opensource.com/tags/gimp)。几年前，我尝试使用 GIMP 放大我父亲在 1940 年代中期拍摄的“小”图。不过虽然放大了，但照片缺乏我想要的细节、深度和清晰度。


自从我知道了 [Upscayl](https://github.com/upscayl/upscayl)，这一切都发生了变化。这是一个自由开源的程序，它使用了 <ruby> <a href="https://opensource.com/article/22/10/defining-open-source-ai">  开源人工智能 </a> <rt>  open source artificial intelligence </rt></ruby> 来升级低分辨率图像，


### Upscayl


Upscayl 适用于 Linux、Windows 和 macOS。


无论你的系统使用 RPM 还是 DEB 包，在 Linux 上安装都很容易，它的网站也包含一个通用的 Linux [AppImage](https://appimage.github.io/Upscayl/)。


对于 macOS 和 Windows，你可以从项目的网站下载安装程序。Upscayl 使用 [AGPL](https://github.com/upscayl/upscayl/blob/main/LICENSE) 许可证发布。


### 开始使用 Upscayl


安装后，你可以用它放大图像了。GUI 软件非常易于使用。该软件使你的旧图像看起来像昨天拍摄的，图像分辨率远远超过原件。此外，你可以批量缩放整个文件夹和图像相册，并一次对它们进行提升。


![The left panel of Upscayl provides clear guidance on the 4 steps required to upscale an image.](/data/attachment/album/202305/03/085304phrrpinhllqinenu.jpg)


启动软件并单击 “<ruby> 选择图像 <rt>  Select Image </rt></ruby>” 按钮。找到要放大的图像或图像文件夹。


加载图像后，选择要尝试的放大类型。默认值为 Real-ESRGAN，这是一个很好的起点。有六个选项可供选择，包括数字艺术的选择：


* 使用 [Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN) 放大普通照片
* 使用 [remacri](https://upscale.wiki/wiki/Model_Database) 放大普通照片
* 使用 [ultramix balanced](https://upscale.wiki/wiki/Model_Database) 放大普通照片
* 使用 [ultrasharp](https://upscale.wiki/wiki/Model_Database) 放大普通照片
* 数字艺术
* 锐化图像


接下来，选择要保存放大图像的输出目录。


最后，单击 “Upscayl” 按钮开始放大过程。转换速度取决于你的 GPU 和你选择的图像输出方式。


这是一张测试图像，左侧是低分辨率图像，右侧是 Upscayl 版本：


![An image processed by Upscayl.](/data/attachment/album/202305/03/085311z8b115xb811bp28b.jpg)


### 是时候为你的图像尝试 Upscayl 了


Upscayl 是我最喜欢的放大应用之一。它确实在很大程度上取决于你的 GPU，因此它可能无法在旧计算机或显卡特别弱的计算机上运行。但是尝试一下也没有坏处。所以下载并尝试一下。我想你会对结果印象深刻。


*（题图：MJ/4ccffdf1-f17a-49ab-81a8-ce20c63d0da1）*




---


via: <https://opensource.com/article/23/4/edit-photos-open-source-ai>


作者：[Don Watkins](https://opensource.com/users/don-watkins) 选题：[lkxed](https://github.com/lkxed/) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
I've been interested in photography ever since I co-opted my father's Kodak 620 camera as a young boy. I used it to take pictures of the flora and fauna of our neighborhood. My love of photography led me to an Instamatic camera in high school, and eventually to digital cameras as they entered the marketplace in the late 1990s. Early digital cameras provided portability and the ability to quickly capture and easily share images on the internet. But they lacked the quality and complexity of the best of film photography. Of course digital cameras have improved a lot since then. But I have years of digital photographs that just look a little, well, *little* on modern devices.

Until recently, my go-to tool for upscaling digital images has been [GIMP](https://opensource.com/tags/gimp). A couple of years ago, I tried to use GIMP to upscale a thumbnail image of my father that was taken in the mid-1940s. It worked, but the photo lacked the detail, depth, and clarity that I wanted.

That's all changed since I learned about [Upscayl](https://github.com/upscayl/upscayl), a free and open source program that uses [open source artificial intelligence](https://opensource.com/article/22/10/defining-open-source-ai) to upscale low-resolution images.

## Upscayl

Upscayl works on Linux, Windows, and macOS.

It's easy to install on Linux whether your system uses RPM or DEB packages, and its website contains a universal Linux [AppImage](https://appimage.github.io/Upscayl/) too.

For macOS and Windows, you can download installers from the project's website. Upscayl is released with an [AGPL](https://github.com/upscayl/upscayl/blob/main/LICENSE) license.

## Get started with Upscayl

Once installed, you can begin upscaling your images. The GUI software is very easy to use. The software makes your old images look like they were taken yesterday with image resolutions that far exceed the originals. In addition, you can batch scale entire folders and photo albums of images and upscale them all at once.

![The left panel of Upscayl provides clear guidance on the 4 steps required to upscale an image.](https://opensource.com/sites/default/files/2023-03/upscayl-panel.webp)

(Don Watkins, CC BY-SA 4.0)


Launch the software and click the **Select Image** button. Find the image or folder of images you want to upscale.

Once the image is loaded, select the type of upscaling you want to try. The default is Real-ESRGAN, and that's a good place to start. There are six options to choose from, including a selection for digital art.

- General photo with
[Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN) - General photo with
[remacri](https://upscale.wiki/wiki/Model_Database) - General photo with
[ultramix balanced](https://upscale.wiki/wiki/Model_Database) - General photo with
[ultrasharp](https://upscale.wiki/wiki/Model_Database) - Digital Art
- Sharpen Image

Next, select the output directory where you want your upscaled images to be saved.

And finally, click the **Upscayl** button to begin the upscaling process. The speed of conversion depends on your GPU and the image output choice you make.

Here's a test image, with the low-resolution image on the left and the Upscayl version on the right:

![An image processed by Upscayl.](https://opensource.com/sites/default/files/2023-03/jurica-koletic-7YVZYZeITc8-unsplash.webp)

(Derived from [Jurica Koletić](https://unsplash.com/@juricakoletic?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText), [Unsplash License](https://unsplash.com/s/photos/portrait?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText))

## Time to try Upscayl for your images

Upscayl is one of my favorite upscaling applications. It does depend heavily on your GPU, so it may not work on an old computer or one with an especially weak graphics card. But there's no harm in giving it a try. So download it and try it. I think you'll be impressed with the results.

## Comments are closed.