Xinrui Wang Jinze Yu
The Cartoonizer project allows users to generate cartoonish representations of their high quality images.
After consulting a lot of cartoon artists and observing their cartoon painting behavior, this research project has been proposed by Xinrui Wang and Jinze Yu to separately identify three white-box representations from images:
To achieve the cartoonish results on input images as shown below, GAN (Generative Adversarial Network) framework is used to learn the extracted representations and to cartoonize images.
Code available below to implement the cartoonization of images using this research project.
As shown in the architecture image below, Images are decomposed into the surface representation, the structure representation, and the texture representations, and three independent modules are introduced to extract corresponding representations.
A GAN framework with a generator G and two discriminators Ds and Dt is proposed, where Ds aims to distinguish between surface representation extracted from model outputs and cartoons, and Dt is used to distinguish between texture representation extracted from outputs and cartoons.
Pre-trained VGG network is used to extract high-level features and to impose spatial constrain on global contents between extracted structure representations and outputs, and also between input photos and outputs. Weight for each component can be adjusted in the loss function, which allows users to control the output style and adapt the model to diverse use cases.
This video shows how the neural network was used to make animation cartoonish filters on top of a video of Tokyo City.
The Complete Research Paper is available here:
Cartoonize images using white box cartoonish representations
Want to try out this code? Implement it right away using this:
GitHub repo for Cartoonizing images
Fill out this Google Form and get a chance to be featured in this growing AI community
Q blocks invites you to try out its revolutionary peer to peer GPU computing technology with Free 20 GPU Hours.
Access limited to first 10 individuals only:
Copyright © Q Blocks - Decentralized Computing for Machine Learning