waifuExtension
The waifu2x on Mac.
Usage
- Enlarge videos or images with machine learning on Mac.
- Interpolate frames for videos.
Install
Files and source code could be found in releases.
Note: If mac says the app was damaged / unknown developer, please go to System Preferences > Security & Privacy > General
, and click Open Anyway
. Show Details.
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.
Other models are:
- dain-ncnn-vulkan
- realsr-ncnn-vulkan
- cain-ncnn-vulkan
- realcugan-ncnn-vulkan
- Real-ESRGAN
- rife-ncnn-vulkan
Note
The waifu2x model of this app was based on the work of waifu2x-ios. Nearly all the files in the folder "waifu2x-mac" were created by him. Nevertheless, modifications were done to improve speed.
The other models are simply executable file releases from their authors.
Speed
When processing a standard 1080p image (1920 × 1080) using Waifu2x, MacBook Pro with the M1 Max chip took only 0.7 seconds.
Interface
This app was written with SwiftUI.
Preview
Denoise Level
You can compare results from different model by choosing Compare > Compare Denoise Levels. Example:
Credits
- waifu2x-ios for nearly all the algorithms used to enlarge images.
- waifu2x-caffe for all the models.
- stack overflow for all the solutions.
- dain-ncnn-vulkan for dain-ncnn-vulkan.
- realsr-ncnn-vulkan for realsr-ncnn-vulkan.
- cain-ncnn-vulkan for cain-ncnn-vulkan.
- realcugan-ncnn-vulkan for realcugan-ncnn-vulkan.
- Real-ESRGAN for Real-ESRGAN.
- rife-ncnn-vulkan for rife-ncnn-vulkan.