This is an implementation of the Comicolorization : Semi-automatic Manga Colorization.
With this repository, you can
- run sample codes
- train colorization task
- use as colorization library
We prepare two sample codes, sample_painting.py
and sample_detecting_panels.py
.
sample_painting.py
is example of colorization the manga page.sample_detecting_panels.py
is example of detection auto panel rectangle.
First of all, install the requirements.
pip install -r requirements.txt
In addition, you must install OpenCV-Python.
python sample/sample_painting.py
# Help
# python sample/sample_painting.py --help
git submodule init
git submodule update
cd manga-frame-extraction/MangaFrameExtraction
cmake ./
make
Please read manga-frame-extraction's README.md for details.
cd ../../
python sample/sample_detecting_panels.py
# Help
# python sample/sample_detecting_panels.py --help
Following images are from Manga109 dataset.