Coder Social home page Coder Social logo

starline's Introduction

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値線画を推奨します

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

starline's People

Contributors

mattyamonaca avatar koyumeishi 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.