GithubHelp home page GithubHelp logo

vorzawk / nncartoonifier Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 0.0 27.68 MB

A neural network which converts images into cartoons

Python 0.02% Jupyter Notebook 99.98%
deep-learning deep-neural-networks convolutional-neural-networks cartoonify

nncartoonifier's Introduction

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 ๐Ÿ˜€

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 ๐Ÿ˜ƒ

nncartoonifier's People

Contributors

vorzawk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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