waifuExtension: The waifu2x on Mac

Overview

waifuExtension

The waifu2x on Mac.

The new version is capable of taking advantages of CPU, GPU, and ANE.

Usage

  • Enlarge videos or images with machine learning on Mac.
  • Interpolate frames for videos.

Install

Files and source code could be found in releases.

Privacy

This app works completely offline and requires no internet connection. Nothing is collected or stored, expect for:

  • Your settings stored in its containter.
  • Temp images in during comparison. (These files will be deleted when the windows is closed.)
  • Temp images during processing in its container, the existance would only last for three lines of code, after which it is deleted.
  • Output files and logs (if you turn on "enable log" or "enable dev" in preference) in its output path.

If the app crashes, please choose not to share crash log with Apple.

Models

The models where obtained from waifu2x-caffe, and translated to coreML via coremltools.

Note

This app was based on the work of waifu2x-ios. Nearly all the files in the folder "waifu2x-mac" were created by him. However, modifications were done to improve speed.

The files inside the folder of dain-ncnn-vulkan-20210210-macos can be downloaded here.

Speed

When processing a standard 1080p image (1920 × 1080), MacBook Pro with the M1 Max chip took only 0.7 seconds.

Interface

This app was written with SwiftUI. Screen Shot 2021-12-12 at 2 53 54 PM

Preview

Screen Shot 2021-11-29 at 2 44 41 PM

Denoise Level

You can compare results from different model by choosing Compare > Compare Models. Example: Screen Shot 2021-11-29 at 5 58 27 PM

Credits

Comments
  • 5.0beta2 is not working properly on M1 Max Macbook Pro

    5.0beta2 is not working properly on M1 Max Macbook Pro

    Describe the bug Everything is normal from importing the model to processing, but after processing, there is no result that should be output in the output folder. The same problem also exists in the previous version.

    To Reproduce

    • Image Model - Real ESRGAN model

    Attachments Kapture 2022-07-05 at 11 55 08

    Additional context Since other models are rarely used at ordinary times, whether other models also have the same problem has not been tested.

    A little suggestion Although the built-in model will cause the application size to be too large, I hope the release page has a full version of all built-in models and a lightweight version without built-in models, two versions to choose. I personally think that compared with not using this application well, the application size may be not the most important problem to me.

    opened by blacklein 11
  • Various crashes

    Various crashes

    I have no idea why they happened and don't have the time to reproduce as they occur 1~3 hours into an operation. By the way, is there a way to recover/resume a session? waifuextension crash.zip

    opened by sclsj 10
  • Ver 4.1.3 App is not functioning properly after Real-ESRGAN model update

    Ver 4.1.3 App is not functioning properly after Real-ESRGAN model update

    Macbook Pro M1 Max

    Describe the bug 000 444 555 The Real-ESRGAN model has been loaded successfully, the Model Manager status is displayed as true, but the application fails to run, and none of images to be processed.

    To Reproduce I used the model linked below. https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesrgan-ncnn-vulkan-20220424-macos.zip

    However, if I change back to the old version of the model in the link below, the application will work properly. https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.3.0/realesrgan-ncnn-vulkan-20211212-macos.zip

    Suggestion 666 The 'Time Remaining' and 'ETA' have never been accurate, sometimes cause crash, and the progress bar blow ‘ETA' has never accurately expressed the actual processing progress. It is recommended to remove these items. 222 When the portable binary of the Real-ESRGAN model runs, the completion percentage will be displayed. I would suggest to display this percentage,or the progress bar (or other chart) created by these percentages in the app.

    Looking forward to the next update of the app. Thank you.

    opened by blacklein 9
  • Allow option to store intermediate files in memory

    Allow option to store intermediate files in memory

    A video that takes around 1 hour in waifu2x MAS to upsample (720p→1440p) is estimated to take 6-10 hours in waifuExtension. I guess one reason is that temp files are written to disk and read when needed. I have m1 max with 64 GB RAM, and the program say that it will need around 30 GB of disk space, so theoretically waifuExtension can just put all temp files in RAM and I suppose that will increase the speed. Is this practical to implement as an option?

    opened by sclsj 8
  • Missing Support Framework

    Missing Support Framework

    Describe the bug When running the Xcode project, it says: ~/waifuExtension/waifuExtension.xcodeproj Missing package product 'Support'

    Where could I find the Support framework or library?

    opened by StevenSK-king 6
  • [Reminder] Don't use MIT license for a complete app

    [Reminder] Don't use MIT license for a complete app

    I'm the author of waifu2x-mac. I worked on this project back in 2017 but stopped later. Guess why? I also used MIT license and someone took my code and published the app almost as-is on the Mac App Store and charged for $3 (archived page). I'm not gonna to work on a project and let some random person make free money out of it.

    If you are building a full app and publish under MIT license, it's almost guaranteed that someone will do the same and publish your app to MAS without even modifying the UI, then charge a premium. And it can be even worse: they can add much more features to the app and do not contribute a single line of code back to your project.

    If you are not going to publish this app to MAS by yourself, please use GPL license.

    In any case, if you don't feel like working for some random person for free and let them take all the income, please avoid MIT license.

    opened by imxieyi 3
  • "done" button disappeared

    Describe the bug Please give a description of what the bug is. image

    To Reproduce Please provide the information about:

    • Image Model
    • Frame Interpolation Model (if used)
    • Video or Image

    Attachments If you find providing attachments useful, please provide the images/videos you wished to enlarge and the bug report.

    Additional context Add any other context about the problem here. System: macOS 13.0 (22A380)

    opened by RekiDunois 2
  • No output with any method other than waifu2x on latest (beta) release

    No output with any method other than waifu2x on latest (beta) release

    Describe the bug No output. Only a file Icon? is generated then deleted. Libraries seems properly linked as folder sizes are given. Waifu2x is okay anyway.

    To Reproduce

    • Real-ESRGAN,Real-SR,Real-CUGAN, latest releases just downloaded fresh.
    • Frame Interpolation Model (if used) Not used
    • any picture Choose a pic, choose an algo other than waifu2x, and watch the output folder.

    Additional context MacOS 12.4, arm64 Macbook, 5.0b1, 4.1.3

    chmod library executives to 777 won't help toggling Parallel and TTA won't help

    opened by A2Sumie 2
  • Added models don't show up available list

    Added models don't show up available list

    Hi there,

    I have tried the models included by default in the App and it worked without problem. I then decided to add the 3 other models listed in preferences: I downloaded the releases containing the excecutables and added them into the App in /Content/Ressources.

    The models were marked as imported I guess since the check mark showed ✓. However, when upscaling an image, only the 4 default ones are shown and I don't see the 3 new ones (CAIN, DAIN, RIFE).

    opened by NicolasSompairac 1
  • Miss support files

    Miss support files

    Describe the bug The project depend on relative path "../../Swift/testRoom/testRoom/Source/Support" and XCode reports "Build input files cannot be found", should those files be upload please 😁

    To Reproduce image

    opened by milawoai 1
Releases(v5.0)
Owner
Vaida
Vaida
Simple CLI utility to save off an image from every webcam hooked into a mac

macOSCameraCapture Simple CLI utility to save off an image from every webcam connected to the macOS machine. This utility is meant for research and te

Cody Thomas 12 Jan 26, 2022
TRex 🦖 TRex makes OCR easy and accessible on a Mac

TRex ?? TRex makes OCR easy and accessible on a Mac. But what is OCR anyway? Imagine you have a PDF file or a Web page where you can't select the text

Ameba Labs 700 Dec 23, 2022
Convert HEIC images to JPEG format on the Mac

heic2jpeg Convert HEIC images to JPEG format on the Mac A basic tool to convert Apple's obnoxious HEIC format images (as the default photo format for

Fazal Majid 2 Mar 1, 2022
A complete Mac App: drag an image file to the top section and the bottom section will show you the text of any QRCodes in the image.

QRDecode A complete Mac App: drag an image file to the top section and the bottom section will show you the text of any QRCodes in the image. QRDecode

David Phillip Oster 2 Oct 28, 2022
A simple auto clicker for your Mac.

MaClicker MaClicker is a simple auto clicker for your Mac. It was built with swift and requires macOS 10.12 Sierra or higher. It is possible to achiev

WorldOfBasti 3 Jun 29, 2022
TinyPNG4Mac - a client of TinyPNG for Mac

TinyPNG4Mac This is a client of TinyPNG for Mac, with which you can compress pngs without open browser and manually download images, all you need to d

kyleduo 3.2k Dec 31, 2022
iOS Core ML implementation of waifu2x

waifu2x on iOS Introduction This is a Core ML implementation of waifu2x. The target of this project is to run waifu2x models right on iOS devices even

Yi Xie 469 Jan 8, 2023
Will Powell 1.2k Dec 29, 2022
XIV-on-Mac - Wine Wrapper, Setup tool and launcher for FFXIV on mac

XIV on Mac Wine Wrapper, Setup tool and alternative launcher for FFXIV on MacOS.

null 210 Dec 26, 2022
Mac-asksec - Test Mac Permissions from the Terminal

asksec A simple CLI to test permissions from any macOS terminal app. Building ru

Christian Zangl 1 Jan 18, 2022
👨‍💻Watch the latest and greatest conference videos on your Mac

Conferences.digital is the best way to watch the latest and greatest videos from your favourite developer conferences for free on your Mac. Either sea

Timon Blask 768 Jan 4, 2023
SwiftyStoreKit is a lightweight In App Purchases framework for iOS, tvOS, watchOS, macOS, and Mac Catalyst ⛺

SwiftyStoreKit is a lightweight In App Purchases framework for iOS, tvOS, watchOS, macOS, and Mac Catalyst. Features Super easy-to-use block-based API

Andrea Bizzotto 6.1k Jan 7, 2023
An iOS / Mac view controller for chess boards

FDChessboardView Features High resolution graphics Customizable themes and game graphics Supports all single board chess variants: suicide, losers, at

William Entriken 75 Jul 16, 2022
SwiftSoup: Pure Swift HTML Parser, with best of DOM, CSS, and jquery (Supports Linux, iOS, Mac, tvOS, watchOS)

SwiftSoup is a pure Swift library, cross-platform (macOS, iOS, tvOS, watchOS and Linux!), for working with real-world HTML. It provides a very conveni

Nabil Chatbi 3.7k Jan 6, 2023
SwiftWebSocket - Conforming WebSocket (RFC 6455) client library for iOS and Mac OSX.

SwiftWebSocket Conforming WebSocket (RFC 6455) client library for iOS and Mac OSX. SwiftWebSocket passes all 521 of the Autobahn's fuzzing tests, incl

Josh Baker 1.5k Jan 5, 2023
CCCryptor (AES encryption) wrappers for iOS and Mac in Swift. -- For ObjC, see RNCryptor/RNCryptor-objc

RNCryptor Cross-language AES Encryptor/Decryptor data format. The primary targets are Swift and Objective-C, but implementations are available in C, C

null 3.3k Dec 30, 2022
Automatically set your keyboard's backlight based on your Mac's ambient light sensor.

QMK Ambient Backlight Automatically set your keyboard's backlight based on your Mac's ambient light sensor. Compatibility macOS Big Sur or later, a Ma

Karl Shea 29 Aug 6, 2022
A Mac command-line tool that generates kick-ass Jamf Pro reports.

KMART - Kick-Ass Mac Admin Reporting Tool A command-line utility generating kick-ass Jamf Pro reports: Features Reporting on the following Jamf Pro ob

Nindi Gill 86 Dec 15, 2022
Monitor for displaying process traffic on Mac Status bar

ITraffic-monitor-for-mac Monitor for displaying process traffic on Mac Status bar MacOS version required The macOS version should >= 10.15, since the

foam 455 Dec 29, 2022
Demonstrates hosting SwiftUI in a UISplitViewController to gain the sidebar style in Mac Catalyst

Really trivial example showing how to wrap SwiftUI in a UISplitViewController, so that you can use the correct sidebar background style when building for macOS.

Steven Troughton-Smith 68 Oct 26, 2022