DragonFly On-Line Manual Pages
waifu2x-converter-cpp(1) DragonFly General Commands Manual
SYNOPSIS
waifu2x-converter-cpp rescales images and removes noise using the power
of convolutional neural networks. It was originally made for and works
best on anime art, but it can be used on any type of drawing.
It does not work well with any image though. It behaves quite poorly
when faced with photographs or pixel art.
SUPPORTED PLATFORMS
Being based on OpenCV, this waifu2x-converter-cpp works on any
platform. However, you will have better results if you have a GPU,
especially an NVIDIA GPU.
OpenCL(AMD GPU) version achieves only 40% of peak performance
(291GFLOPS @ A10-7850K).
CPU only (Intel or AMD) is quite slow, but still works if you're
willing to wait.
EXAMPLE
waifu2x-converter-cpp -i maiwaifu.png --scale-ratio 2 -o maiwafu2x.png
Creates maiwaifu2x.png at 2x the canvas size of maiwaifu.png
USAGE
waifu2x-converter-cpp [--block_size <integer>] [--disable-gpu]
[--force-OpenCL] [-j <integer>] [--model_dir <string>] [--scale_ratio
<double>] [--noise_level <1|2>] [-m <noise|scale|noise_scale>] [-o
<string>] -i <string> [--version] [-h]
OPTIONS
--block_size <integer>
block size
--disable-gpu
disable GPU
--force-OpenCL
force to use OpenCL on Intel Platform
-j <integer>, --jobs <integer>
number of threads launching at the same time
--model_dir <string>
path to custom model directory (don't append last / )
--scale_ratio <double>
custom scale ratio
--noise_level <1|2>
noise reduction level
-m <noise|scale|noise_scale>, --mode <noise|scale|noise_scale>
image processing mode
-o <string>, --output_file <string>
path to output image file (you should input full path)
-i <string>, --input_file <string>
(required) path to input image file (you should input full
path)
--, --ignore_rest
Ignores the rest of the labeled arguments following this flag.
--version
Displays version information and exits.
-h, --help
Displays usage information and exits.
AUTHORS
This is not the original waifu2x, this is the waifu2x reimplementation
using OpenCV. However, its function is the same as the original
waifu2x, with the benefit of working on more hardware. For example, the
original waifu2x only works on NVIDIA GPUs, while this version works on
AMD GPUs or even just CPU with no GPU (albeit slowly).
The original waifu2x was written by nagadomi <nagadomi@nurs.or.jp>
This OpenCV fork was written by tanakamura <tanakmura@gmail.com>
version 1.0.0-400-g6dbdc24 23 Sep 2015 waifu2x-converter-cpp(1)