Lovely Real-ESRGAN GUI Wrapper

Overview

Real-ESRGAN-GUI


Real-ESRGAN の NCNN (Vulkan) 実装である、realesrgan-ncnn-vulkan という CLI ツールのかんたんな GUI ラッパーです。

Flutter on Desktop を使って突貫で合計5~6時間くらいで作りました。
かんたんにきれいな UI で作れる Flutter 最高!

インストール

Windows

Windows 10 以降の 64bit OS にのみ対応しています。Windows 8 以前と、32bit OS は対応していません。

GPU には realesrgan-ncnn-vulkan 同様に、Intel Graphics・NVIDIA GPU・AMD GPU が利用できます。

Releases ページから、最新の Real-ESRGAN-GUI をダウンロードします。
Real-ESRGAN-GUI-(バージョン)-windows.zip をダウンロードしてください。

ダウンロードが終わったら Real-ESRGAN-GUI-(バージョン)-windows.zip を適当なフォルダに解凍し、中の Real-ESRGAN-GUI.exe をダブルクリックします。
適宜ショートカットをデスクトップに作成してみても良いでしょう。

macOS

Intel Mac と Apple Silicon (M1, M1 Pro, M2 ...etc) の両方に対応しています。
Intel Mac よりも、Apple Silicon 搭載 Mac の方が画像の生成が速い印象です (Intel Mac でも最上級グレードの機種ならまた違うのかも)。

Releases ページから、最新の Real-ESRGAN-GUI をダウンロードします。
Real-ESRGAN-GUI-(バージョン)-macos.zip をダウンロードしてください。

ダウンロードが終わったら Real-ESRGAN-GUI-(バージョン)-macos.zip を解凍し、中の Real-ESRGAN-GUI.app をアプリケーションフォルダに移動します。
その後、Real-ESRGAN-GUI.app をダブルクリックしてください。

使い方

たぶん説明するまでもないと思いますが…。

利用モデルは realesr-animevideov3 が一番高速で、精度も高いです(おすすめ)。
realesrgan-x4plus-anime よりもエッジ(解像感)は控えめですが、元の画像のディティールを比較的保ったままきれいにノイズが消え、自然な仕上がりになります。

realesrgan-x4plus-anime は、realesr-animevideov3 での出来栄えに満足できなかったときに試してみると良さそうです。
より解像感のある仕上がりになりますが、その分 realesr-animevideov3 よりも細かい塗りなどのディティールが失われがちに見えます(とはいえ、比較しなければ違いがわからないレベルだとは思います)。

realesrgan-x4plus は、いろいろな画像に使えるモデルです。ただ、Intel UHD Graphics 620 の環境だと結構重めです(数分掛かった…)。
なお、同じ画像、同じ realesrgan-x4plus を使った場合でも、NVIDIA GPU が搭載されている環境では数秒で拡大画像の生成が完了しました。
汎用的なモデルなので実写にもアニメにも使えますが、アニメの場合は realesrgan-x4plus-anime の方がよりアニメらしい画になる印象です。

トラブルシューティング

「MSVCP140.dll が見つからないため、コードの実行を継続できません」というエラーが表示されて起動できない

Visual C++ 再頒布可能パッケージ 2015-2022 のインストールが必要です。
vc_redist.x64.exe をダウンロード後、ダウンロードした vc_redist.x64.exe をダブルクリックしてインストールしてください。

インストール後にもう一度 Real-ESRGAN-GUI.exe をダブルクリックすると、ちゃんと起動できるはずです。

拡大率を [2倍の解像度に拡大] [3倍の解像度に拡大] に設定すると、生成された画像が壊滅する

おそらくバックエンドで利用している realesrgan-ncnn-vulkan のバグ or 仕様です。こちらではどうしようもありません…。
なお、ちゃんと2倍の解像度に拡大できることもあります。フル HD などの元々解像度が高い画像を Real-ESRGAN に掛けると起こりやすい印象です。

元々4倍に拡大することを前提に開発されているようなので、うまくいかないときは [4倍の解像度に拡大] に設定してから、適宜画像編集ソフトなどでリサイズしてみてください。

「画像の拡大に失敗しました」というエラーで画像の拡大ができない

原因は様々ななので一概にはいえませんが、まず保存先のファイルパスが誤っている(フォルダが存在しない、パス指定が不正、など)可能性があると思います。

また、GPU のドライバーのバージョンが古くなっていると、画像を生成できなかったり、生成したとしても真っ黒の画像しか生成されないなどの問題が生じることがあるようです。
一度 GPU のドライバーを最新バージョンのものに更新してみることをおすすめします。

License

MIT License

You might also like...

Socket library for creating real-time multiplayer games. Based on TCP, with the ability to send messages over UDP (planned).

Game socket The library was published in early access and is not stable, as it is being developed in parallel with other solutions. English is not a n

Aug 10, 2022

The prime objective of this app is to store the real time information of the user using firebase cloud firestore and also can delete, remove and update the customer information

crud_firestore A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started i

Mar 15, 2022

Real-time object detection in Flutter using camera and tflite plugin

Real-time object detection in Flutter using camera and tflite plugin

For details: https://medium.com/@shaqian629/real-time-object-detection-in-flutter-b31c7ff9ef96 flutter_realtime_detection Real-time object detection i

Oct 12, 2022

Sibyl App written with Dart/Flutter. (My first experience in writing a real android app in flutter).

sibyl_app A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if thi

Feb 17, 2022

mypro immobilier app created to manage our real estate agency, we can store products, contacts and transactions..

mypro_immobilier A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

Dec 11, 2021

Bitcoin Ticker App which will fetch you the real time Bitcoin exchange values written in Dart & Flutter

Bitcoin Ticker App which will fetch you the real time Bitcoin exchange values written in Dart & Flutter

About This project is written completely in Dart & Flutter. The app will basically provide you the real time value of three major cryptocurrencies nam

Dec 21, 2021

Access links between your devices in real time!

Access links between your devices in real time!

Lineker Description Lineker allows you to manage links between your desktop and smartphone in real time, saving and deleting at any time. Create filte

Aug 5, 2022

A Free And Beautiful Real Estate Flutter Ui Kit

A Free And Beautiful Real Estate Flutter Ui Kit

🔥 🔥 Real Estate Flutter UI Kit 🔥 🔥 💫 ⭐️ ⭐️ 👨‍💻 Free Flutter UI Kits based

Jul 2, 2022

A simple flutter application from an Udemy course to exchange the following currencies: real, dollar and euro using HG Brasil API.

cambiador Conversor de moedas como Dollar, Euro e Real. Getting Started This project is a starting point for a Flutter application. A few resources to

Mar 17, 2022
Comments
  • Multilingual support (en-US)

    Multilingual support (en-US)

    Added localization with easy_localization.

    image

    And some small fixes.

    easy_localization を使って多言語対応をしました。

    assets/translations に翻訳ファイルを追加し、main.dart で以下の部分を変更することで対応言語を増やすことができます。

      // アプリを起動
      runApp(
        // ローカライゼーション
        EasyLocalization(
            supportedLocales: const [Locale('en', 'US'), Locale('ja', 'JP')],
            path: 'assets/translations',
            fallbackLocale: const Locale('en', 'US'),
            child: const RealESRGanGUIApp()),
      );
    

    英語は翻訳機にかけながらそれっぽくしただけなので、もしかしたら文法が間違っている部分があるかもしれないです。

    他の変更点

    • 渓谷の出ていた部分があったため出ないように修正
    • lint ルールでシングルクウォートを使うように設定
    • 実行ログでスクロールできるように変更

    私は Flutter はまだ不慣れなので良くない部分があったら修正していただけると幸いです。

    opened by p1atdev 5
  • フォルダの画像を一括変換した際に凄まじく遅い

    フォルダの画像を一括変換した際に凄まじく遅い

    例として私の環境でフォルダを指定し、100ファイル処理した場合に約100秒かかります。 realcugan-ncnn-vulkan.exeをコマンドプロンプトで実行し、同じフォルダを処理すると10秒程度で完了します。

    上記2つについては完全に一致するかは分かりませんが引数などは同じと思われる条件でやっています。

    また、利用モデルなどが起動のたびにデフォルトに戻ってしまうため、設定が保存できればなお便利かと思っています。

    opened by rodigh 2
  • Occasionally Real-CUGAN generates corrupted images

    Occasionally Real-CUGAN generates corrupted images

    Issue description

    Real-CUGANに特定の画像を与えると、崩壊した画像が生成されます。

    Real-ESRGAN-GUI ver1.2.0にて確認。 Real-CUGAN / models-pro / ノイズを除去しない / 2倍の解像度に拡大。 保存形式 jpegおよびpngの両方にて症状が発生。

    What's the expected result?

    正常に拡大された画像が出力される。

    What's the actual result?

    ネガポジ反転したような、奇妙に粗い画像が出力される。

    Additional details / screenshot

    入力画像のSHA1 Hash

    • 34710118121fd17aefc0ea8b2cae116ab89a5cdd
    • 0cea93272c094de3473969c80f59cd3ff9c2a9ec
    opened by yife 1
Owner
tsukumi
apprentice webprogrammer
tsukumi
App-flutter-real-estate - Real Estate App Built With Flutter

Real Estate App - Flutter Preview video: https://youtu.be/11u0KeymAAs My Twitter

Sangvaleap Vanny 136 Dec 7, 2022
A GUI package manager and package installer for Windows Subsystem for Android (WSA)

wsa_pacman A GUI package manager and package installer for Windows Subsystem for Android (WSA). Currently provides a double-click GUI installer for .a

null 2.6k Jan 1, 2023
A GUI for the Neutrino neural singing synthesizer

Muon A GUI for the Neutrino neural singing synthesizer, written in Flutter (and uses synaps!). Eyecandy / screenshots Eye-burning Light mode Dark mode

swadical 35 Dec 17, 2022
Cowin smart print - A GUI based CoWIN Certificate to Smart Card Converter

CoWIN Smart Print A GUI based CoWIN Certificate to Smart Card Converter. Feature

Shreyam Maity 2 Mar 9, 2022
A dart library to get and set backgrounds on multiple GUI linux platforms

A Dart library for linux platforms to get and set backgrounds, which supports multiple desktop environments and window managers Features Can automatic

Hemish 4 Mar 26, 2022
Open source Flutter-based GUI application that enables you to interact with Amphitheatre

Amphitheatre Desktop Amphitheatre Desktop is an open source Flutter-based application that enables you to interact with Amphitheatre using a GUI inste

Amphitheatre 17 Dec 16, 2022
A GUI package manager and package installer for Windows Subsystem for Android (WSA)

wsa_pacman A GUI package manager and package installer for Windows Subsystem for Android (WSA). Currently provides a double-click GUI installer for .a

null 3 Nov 14, 2022
🔒 Desktop GUI to generate file checksum (SHA and MD5).

Note currently this app is only available for Windows and Linux. File Checksum File checksum is an old technique to verify the integrity of a file. An

Alex Rintt 6 Jan 3, 2023
A set of real world timelines to showcase the use of timeline_tile package, built with Flutter.

beatiful_timelines Beautiful timelines built with Flutter and timeline_tile. Current examples: Timeline Showcase Football Timeline Activity Timeline S

null 233 Dec 21, 2022
A simple detailed flutter widget that looks almost the same as the real instagram mention widget.

Instagram Mention Widgets 'small details do matter' ❤️ This package provides simple and almost the same UI details that the real Instagram mention wid

AbdulMuaz Aqeel 20 Oct 10, 2022