Skip to content

This is a program to cartoonize an image without using deep learning.

Notifications You must be signed in to change notification settings

aayushi221/CARTOONIZATION

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

CARTOONIZATION

Hi everyone!👋

This is a program to cartoonize an image without using complex procedures such as deep learning/ ML. We are going to use simple Open CV using python and numpy.

About this program

In order to achieve such basic cartoon effect, we don't really need a powerful rendring software. We can easily use bilateral filter and some edge detection.

How does it work?

  1. Apply bilateral filter to reduce the color palette of the image.
  2. Convert the original color image to grayscale
  3. Apply median blur to reduce image noise in the resultant grayscale image.
  4. Create an edge mask from the grayscale image using adaptive thresholding.
  5. Combine the color image from step 1 with the edge mask from step

Pro tip

Use an image with higher contrast to get better results. :)

Tech Stack 📂

About

This is a program to cartoonize an image without using deep learning.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages