LoginSignup
6
7

More than 5 years have passed since last update.

waifu2x-converter-cppのdocker image作ってるとこ

Last updated at Posted at 2015-05-31

http://waifu2x.udp.jp/index.ja.html
様のHPを使うのも良いと思います。

khws4v1/waifu2x-converter-cpp をビルドしました。

使い方

docker run --rm -it -v `pwd`:/srv tukiyo3/waifu2x -- -i /srv/hoge.png

Dockerfile

FROM ubuntu:vivid

RUN set -eux &&\
    apt-get update &&\
    apt-get install -y build-essential wget git &&\
    apt-get install -y cmake &&\
    apt-get clean

RUN set -eux &&\
    git clone https://github.com/khws4v1/waifu2x-converter-cpp.git /opt/waifu2x-converter-cpp.git &&\
    (cd /opt/waifu2x-converter-cpp.git && ./build.sh)

WORKDIR /opt/waifu2x-converter-cpp.git
# usage: waifu2x -i hoge.png
ENTRYPOINT /opt/waifu2x-converter-cpp.git/waifu2x-converter-cpp $@

special thanks

オリジナル版

pythonに移植された方

cppに移植された方

ubuntu用ビルドスクリプト作成された方

windows版

6
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
7