Coder Social home page Coder Social logo

image-cartoonifier's Introduction

Image-cartoonifier

Created an Image cartoonifier using Python, Matplotlib and OpenCV

In this project I attempted creating a cartoonified version of an input image by overlaying an edge map created using several filters over a filtered version of the original image.

Stages of filtering:

First I treated the image using median and laplacian filter to reduce noise, define and detect the edges to create an edgemap

⦁ Input image:

ScreenShot_20210630035619

⦁ Grayscale version:

ScreenShot_20210630035725

⦁ Median Filter:

ScreenShot_20210630035808

⦁ Laplacian filter:

ScreenShot_20210630035840

⦁ Thresholding (Edge map) :

ScreenShot_20210630035910

⦁ Bilateral filter:

ScreenShot_20210630040007

⦁ Then i overlaid the output from the bilateral filter over the edge map (Final output):

ScreenShot_20210630040042

Output from some test images:

Input

ScreenShot_20210630040227

Output

ScreenShot_20210630040246

Input

ScreenShot_20210630040307

Output

ScreenShot_20210630040319

Input

ScreenShot_20210630040329

Output

ScreenShot_20210630040338

Input

ScreenShot_20210630040347

Output

ScreenShot_20210630040400

image-cartoonifier's People

Contributors

mohammedelgharawy avatar

Watchers

James Cloos 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.