GithubHelp home page GithubHelp logo

anannyap7 / ink_to_tint-manga_artisan Goto Github PK

View Code? Open in Web Editor NEW

This project forked from taritkandpal/ink_to_tint-manga_artisan

0.0 0.0 0.0 52 KB

Manga Colorization and Style Transfer

Python 100.00%
cgan dodging generative-adversarial-network image-processing pix2pix python3 pytorch stable-diffusion

ink_to_tint-manga_artisan's Introduction

Ink-To-Tint: Manga Artisan

Motivation

The manga industry often grapples with the intensive labor involved in the creation process, commonly resulting in overworked artists. The meticulous nature of manga drawing typically results in publications featuring black-and-white illustrations. This choice, while traditional, can diminish the reader’s engagement, particularly when an anime adaptation is not yet available. Moreover, while certain art styles are favored, it can be excessively demanding and redundant for artists to reinterpret a series into another style. The implementation of automation through conditional Generative Adversarial Networks (cGANs) for colorization and style transfer via Stable Diffusion model offers a solution. This innovation promises to alleviate the artists’ burden while simultaneously broadening the appeal to diverse audiences, potentially increasing readership and expanding the market. Our initiative aims to foster a greater appreciation of manga as an art form across a wider audience.

Image Preprocessing

While automatic colorization using cGANs has been successfully implemented in previous studies, these implementations often fall short in authentically replicating the actual manga dataset. Typically, textured and grayscale inputs were employed, resulting in idealistic outputs and an ease of achievement that does not accurately reflect authentic manga styles. To address this gap, our report demonstrates the conversion of a colored manga dataset to its sketched version using image processing techniques such as dodging and dilation.

image

The figure above demonstrates the use of dodging and dilation on grayscaled version of the colored input image to obtain the desired dataset.

Colorization Results

Model Used: Pix2Pix condition GAN with residual connections to retain the original input integrity (texts and edges)

The figure below illustrates a marked progression in the quality of colorization with each successive interval of 20 epochs for a total of 80 epochs. Notably, the phenomenon of color spillage observed in the initial stages diminishes over time, and the hues associated with the characters exhibit a dis- cernible deepening in intensity.

image

Furthermore, the application of our model to unseen data yields commendable results, as evidenced by the vivid and accurate colorization. This outcome is indicative of the model’s robust ability to generalize effectively to novel manga pages.

image

Style Transfer Results

The experimental phase of our study on style transfer was undertaken utilizing a constrained dataset over a finite duration. Preliminary outcomes, as depicted below, though somewhat irregular in nature, offer a glimpse of the potential advancements achievable in future endeavors. With an expanded dataset and enhanced fine-tuning pro- cesses, these initial results suggest promising directions for further refinement and development in the field of manga style transfer.

image

ink_to_tint-manga_artisan's People

Contributors

taritkandpal avatar anannyap7 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.