Coder Social home page Coder Social logo

pandinosaurus / colorization Goto Github PK

View Code? Open in Web Editor NEW

This project forked from seriallain3170/adeleine

0.0 1.0 0.0 79.41 MB

Automatic line art colorization using various types of hint or without hint

License: Other

Python 92.54% HTML 4.47% JavaScript 2.11% CSS 0.88%

colorization's Introduction

adeleine

Update

  • 03/20/2023: Change repository's name from Colorization to adeleine

Overview

This repository is about the deep-learing based automatic line art colorization with or without hints. There are mainly three types of hints.

  • Atari: Colorization with hints that include some lines in desired color (ex. PaintsChainer)
  • Tag: Colorization with tags (ex. Tag2Pix)
  • Reference: Colorization with reference images (ex. style2paints V1)

Line extraction method

There are many kinds of line extraction methods, such as XDoG or SketchKeras. If we train the model with only single type of the line art, trained model tends to overfit and cannot colorize other types of line art properly (ref Tag2Pix). Therefore, three types of line art are mainly used.

  • XDoG: Line extraction using two Gaussian distributions difference to standard deviations
  • SketchKeras: Line extraction using UNet. Lines obtained by SketchKeras are like pencil drawings.
  • Sketch Simplification: Line extraction using Fully-Convolutional Networks. Lines obtained by Sketch Simplification are like digital drawings.

An example obtained by these line extraction methods is as follows.

Moreover, I usually add two types of data augmenation to line arts to avoid overfitting.

  • Randomly morphology transformation to take various thicks of lines
  • Randomly RGB values of lines to incorporate various depths of lines

Experiments without hints

Methods

  • pix2pix
  • pix2pixHD
  • bicyclegan

Results

Method Result
pix2pix & pix2pixHD
bicyclegan

Experiment with atari

Methods

  • userhint
  • userhint v2
  • whitebox
  • spade

Results

Method Result
userhint here
userhint v2
whitebox
spade

Experiment with reference

Methods

  • adain
  • scft
  • video

Results

Method Result
adain here
scft
video

GUI application

LICENSE

MIT License on only Adeleine. The license is not effective on other implementations.

References

colorization's People

Contributors

seriallain3170 avatar

Watchers

James Cloos 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.