GithubHelp home page GithubHelp logo

isabella232 / waifu2x-converter-cpp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from soimort/waifu2x-converter-cpp

0.0 0.0 0.0 31.27 MB

waifu2x(original : https://github.com/nagadomi/waifu2x) re-implementation in C++ using OpenCV [NO LONGER UPDATED]

License: Other

Python 1.00% Lua 3.26% C++ 76.70% Makefile 3.47% CMake 1.69% C 13.47% Shell 0.26% Batchfile 0.01% JavaScript 0.10% sed 0.03%

waifu2x-converter-cpp's Introduction

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

https://github.com/DeadSix27/waifu2x-converter-cpp/releases

waifu2x converter GUI

  • 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
  • Windows
  • Mac OS X?

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

Libraries

  • OpenCV(version 3.2)
  • Now requires openCV 3.2

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

See BUILDING.md for more information.

Usage

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

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

modifided by tanakamura

  • Added CUDA, OpenCL(AMD GPU), x86 FMA, x86 AVX Support (That is selected automatically at runtime)
  • OpenCL(AMD GPU) version achieves 40% of peak performance (291GFLOPS @ A10-7850K)
  • Added CMakeLists.txt
  • You can build it by cmake ($ cmake -D OPENCV_PREFIX=<OpenCV include/lib dir>)
  • DLL interface
  • You can use waifu2x as library. include w2xconv.h & link w2xc.lib.

modifided by max20091

  • Updated tclap, PicoJSON, Waifu2x model
  • Added Noise Reduction Level 3
  • Using nagadomi original model
  • Added Windows build guide

modifided by DeadSix27

  • Improved build guide BUILDING.md
  • Added support for Ubuntu 16.10 amd64
  • Added support for Visual Studio 2015 (VC14) amd64
  • Added option to override OpenCV Detection for when you're sure its there (OVERRIDE_OPENCV)
  • VC14: Now requires OpenCV3.2 (VC12 still requires OpenCV3.0, Linux now requires OpenCV3.2 as well (only tested Ubuntu 16.10))
  • VC14: Will not statically link OpenCV, you will need opencv_world320.dll in the w2x folder.
  • Added Cuda checks to prevent the cuda code mess, and get rid of the extra NoCuda branch of max20091 may or may not work properly, I have no nVidia GPU to test
  • TODO: Fix CL-binary file handling (Now fixed see: f963753)
  • TODO: Add proper UTF8/Unicode support
  • ^Keep an eye out on my fork for those: https://github.com/DeadSix27/waifu2x-converter-cpp

waifu2x-converter-cpp's People

Contributors

deadsix27 avatar holywu avatar iwag avatar jbeich avatar max20091 avatar professorjamesmoriarty avatar soimort avatar tanakamura avatar toyg avatar vitaliylag avatar wl-amigo avatar yukihoaa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.