Skip to content
This repository has been archived by the owner on Dec 17, 2019. It is now read-only.

EnigmaHuang/waifu2x-converter-cpp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

waifu2x (converter only version)

This is a reimplementation of waifu2x (original) converter function, in C++, using OpenCV. This is also a reimplementation of waifu2x python version by Hector Martin. You can use this as command-line tool of image noise reduction or/and scaling.

Prebuilt binary-form release

Please see releases of this repository. There is only for-windows binary, now. Sorry.

works using waifu2x-converter

  • waifu2x_win_koroshell
    • waifu2x-converter GUI frontend that is easy to use, and so cute. You need only drag&drop to convert your image. (and also you can set converting mode, noise reduction level, scale ratio, etc..., on GUI)
    • Both waifu2x-converter x86 and x64 are included this package, and GUI see your windows architecture(x86|x64) and selects automatically which to use.
    • For windows only.

Dependencies

Platform

  • Ubuntu
  • Mac OS X?
  • Windows?

(This program probably can be built under MacOSX, because OpenCV and other libraries support OS X)

Libraries

This programs also depends on libraries shown below, but these are already included in this repository. CUDA Support in OpenCV is optional, since not required. (in version 1.0.0, CUDA Support is not used.)

How to build

for Linux

These are hints for building by WL-Amigo:

  • I recommend to install OpenCV from sources. (build instruction is found here)
  • include path : include/ (/path/to/opencv/installed/directory)/include
  • library path : (/path/to/opencv/installed/directory)/lib
    • if you have built and installed OpenCV from source, and have changed install directory(by using CMAKE_INSTALL_PREFIX), you may need to set environment variable LD_LIBRARY_PATH for your OpenCV installed directory.
  • libraries to link : opencv_core opencv_imgproc opencv_imgcodecs opencv_features2d
  • standard of C++ : c++11

I created a Makefile for this project, using OpenCV 3.1.0. The Makefile is in src/ directory.

Usage

Usage of this program can be seen by executing this with --help option.

(My native language is not English, then I'm sorry for my broken English.)

About

waifu2x(original : https://github.com/nagadomi/waifu2x) re-implementation in C++ using OpenCV

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 84.9%
  • Lua 7.5%
  • Makefile 5.3%
  • Python 2.3%