Skip to content

Strict coloring machine for line drawings.

License

Notifications You must be signed in to change notification settings

serick4126/starline

 
 

Repository files navigation

starline

Strict coloring machine for line drawings.

image

2024-05-28.174945.mp4

Installation

git clone https://github.com/mattyamonaca/starline.git
cd starline
conda create -n starline python=3.10
conda activate starline
conda install pytorch torchvision pytorch-cuda=12.1 -c pytorch -c nvidia
pip install -r requirements.txt

Usage

  • python app.py

  • Input the line drawing you wish to color (The background should be transparent).

  • Input a prompt describing the color you want to add.

  • 背景を透過した状態で線画を入力します

  • 付けたい色を説明するプロンプトを入力します

Precautions

  • Image size 1024 x 1024 is recommended.

  • Aliasing is a beta version.

  • Areas finely surrounded by line drawings cannot be colored.

  • 画像サイズは1024×1024を推奨します

  • エイリアス処理はβ版です。より線画に忠実であることを求める場合は2値線画を推奨します

  • 線画で細かく囲まれた部分は着色できません。着色できない部分は透過した状態で出力されます。

About

Strict coloring machine for line drawings.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%