1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

DeepCreamPyを使ってみた

Posted at

概要

ざっくりいうと、画像を変換するプログラムです
指定した箇所を補完します

使い方

  1. 本体ダウンロード
    https://github.com/deeppomf/DeepCreamPy
    からclone
  2. モデルファイルのダウンロード
    \DeepCreamPy-master\models
    に入っている"download and unzip model here!"というリンク先のファイルを同じフォルダに保存します
  3. inputフォルダに画像を設置
    保存フォルダはdecensor_inputです
    png形式で保存しないと変換してくれません
    背景白、カラーのアニメ画像が最も変換しやすいようです
    特に苦手な物は、以下二点です
    ・背景が人物の色に近い
    ・スクリーントーン
  4. 画像を加工
    rgb(0,255,0)で変換したい部分を塗り潰します
    細かく指定したくなりますが、できるだけざっくり指定した方がうまくいきます
    直線的な形状にしましょう。複雑な形は失敗しやすいです。
    変換に要する時間はGPU(GTX1070)だと10秒かかりません。
    CPUはもう少し掛かりそうですね
  5. 画像を確認
    未来を感じる事ができると思います
1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?