SkillAgentSearch skills...

Adeleine

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

Install / Use

/learn @SerialLain3170/Adeleine
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

  • [x] pix2pix
  • [x] pix2pixHD
  • [X] bicyclegan

Results

| Method | Result | | ---- | ---- | | pix2pix & pix2pixHD | | | bicyclegan | |

Experiment with atari

Methods

  • [x] userhint
  • [x] userhint v2
  • [x] whitebox
  • [x] spade

Results

| Method | Result | | ---- | ---- | | userhint | here | | userhint v2 | | | whitebox | | | spade | |

Experiment with reference

Methods

  • [x] adain
  • [x] scft
  • [x] 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

View on GitHub
GitHub Stars368
CategoryEducation
Updated1mo ago
Forks43

Languages

Python

Security Score

85/100

Audited on Feb 21, 2026

No findings