SkillAgentSearch skills...

NnCartoonifier

A neural network which converts images into cartoons

Install / Use

/learn @vorzawk/NnCartoonifier
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

nnCartoonifier

The neural network takes real images as input and outputs their cartoonified versions. aishwarya mountain
Admittedly, these look less like cartoons and more like portraits from a famous artist :grinning:

Model Architecture

The model is a Convolutional neural network based on a model architecture proposed for Sketch Simplification. Both sketch simplification and cartoonification are similar problems where both the input and output are images. The architecture presented in the paper has been adapted here to produce visually pleasing cartoonified outputs.

Dataset and training

Unlike the usual scenario where an existing dataset is used for training the model, here the input-output pairs used for training were generated using a python program. The program takes real images as input and outputs their cartoonified versions as shown below.
train1 train2
The input-output pairs generated by the program were used to train the neural network. The goal was to have the neural network learn the cartoonifying functionality of the program.

The model does not replicate the program output perfectly, and the end result is a portrait-like rendering of the input image rather than a cartoonification.
dog
I personally think that the model output is way better than the program output :smiley:

View on GitHub
GitHub Stars10
CategoryEducation
Updated1y ago
Forks0

Languages

Jupyter Notebook

Security Score

65/100

Audited on Mar 28, 2025

No findings