Computer Vision

Cartooning an Image using Open CV

Cartooning a digital image sounds a very interesting, fun and easy project to work on. So as to achieve an animation picture from a digital image, we only need some bilateral filter and edge detection mechanism. These bilateral filters will assist us with reducing the color or shading palette of the image, which is an important step for the animation look, and edge detection are used to get a perfect bold silhouette.

Read more..

Cartooning an Image using Open CV project Looking to build projects on Computer Vision?:

Computer Vision Kit will be shipped to you and you can learn and build using tutorials. You can start for free today!

1. Surveillance Robot

2. Sixth Sense Robot

3. 3 Computer Vision Projects (Combo Course)

4. Computer Vision - Text Scanner

5. Computer Vision Based Mouse

6. Computer Vision Based Smart Selfie

7. Computer Vision Training & Internship


Project Description

OpenCV-Python: OpenCV-Python is a library of Python used to determine computer vision problems. OpenCV-Python utilizes Numpy, which is an exceptionally improved and reliable library for numerical activities with a MATLAB-style structure.

We are going to utilize the OpenCV python library to convert an RGB color image into an animation image. Here RGB Color expresses a framework for speaking the colors to be utilized on a computer display.

Bilateral filter: A bilateral filter is utilized for smoothening images and decreasing commotion or noise while safeguarding edges. By using a Bilateral filter, we can diminish the color palette of the image.

Edge detection mechanism: It is a technique utilized in different fields like image processing and computer vision, especially in the regions of feature detection and extraction. It incorporates various kinds of scientific and mathematical techniques that expect to recognize focuses on a digital image at which the image brightness changes either officially or strongly and furthermore distinguishes a few discontinuities in the images.

Project Implementation

Essentially, we are going to utilize a series of image transformations and bilateral filters. Here is the step to change over an ordinary computerized picture to cartoonish pictures.


Latest projects on Computer Vision

Want to develop practical skills on Computer Vision? Checkout our latest projects and start learning for free


  1. The initial step of cartooning image is to apply the bilateral filter to decrease the shading or color palette of the image, which implies first we need to downscale the image and afterward apply the bilateral filter to get an animation flavor and again we upscale the image.
  1. The next step is to get a blurred image of the real image. And we just need the blurring of the limits without colors to interfere in this process. So, for this, we first convert the genuine picture to grayscale.
  1. The following stage is to apply the median blur so as to diminish image noise in the grayscale image.
  1. Next, we make an edge mask from the grayscale image utilizing an adaptive thresholding technique.
  1. In the last step, we have to recognize the edges in the image and afterward add this to the recently changed pictures to get cartoonish or sketch pen impact to the picture. After this step, we finally combine the final images obtained from the previous steps.
  1. Here we get our cartoonist image.

Software requirement:

Programming language: OpenCV- python

Operating System: Windows, ubuntu


How to build Computer Vision projects Did you know

Skyfi Labs helps students learn practical skills by building real-world projects.

You can enrol with friends and receive kits at your doorstep

You can learn from experts, build working projects, showcase skills to the world and grab the best jobs.
Get started today!


Kit required to develop Cartooning an Image using Open CV:
Technologies you will learn by working on Cartooning an Image using Open CV:
Cartooning an Image using Open CV
Skyfi Labs Last Updated: 2021-05-11





Join 250,000+ students from 36+ countries & develop practical skills by building projects

Get kits shipped in 24 hours. Build using online tutorials.

More Project Ideas on Computer-vision

Hybrid Median Filter for Noise Removal in Digital Images
Image Processing based fire detection
Library Management System using SQL and C++
Detection of Asthma Trigger using Zigbee
Image retrieval
Number Plate Detector
Sign Language Reader
Optical Character Recognition(OCR)
Face recognition gate
Surveillance Camera using Raspi Cam and Android App
Template matching using Computer vision
Motion detector using Computer vision
Streaming Video to a web-page using Open CV
Computer vision based rescue robot
Smart gesture control for mobile phone using machine learning
Image Processing based ball tracking robot
Emotion recognition using image processing
Computer vision based self-recharging robot
Disease Prediction using Image Processing
Forgery detection using Image Processing
Invisible Cloak using Open CV and Python
Currency Recognition System using Image Processing
Cartooning an Image using Open CV
Develop Sign Language Translator with Python
Develop an Audio Sign Language Translator Using ML
Image classifier for identifying cat vs dogs using CNN and python
Age Prediction using Image Processing
Color detection
Gender and Age Detection using OpenCV
Car model recognition using Image Processing
Checking driver behavior with Raspberry Pi
Dimension Estimation using Image Processing
Typing Robot
Detection of Underground broken pipes
Computer vision based Smart Selfie
Computer vision based text scanner
Cancer detection using image processing
Develop A Sixth Sense Robot With Arduino
Lane Detection using Machine Learning

Subscribe to receive more project ideas

Stay up-to-date and build projects on latest technologies