OpenCV Starter Project - Pencil Sketch and Cartoon Paint




OpenCV Starter Project - Pencil Sketch and Cartoon Paint

Welcome to Image to Cartoon Sketch using OpenCV in Python !!!


In this Course we will see, one of the most widely used image processing applications which is, Non- Photo Realistic Effects. You will generally see such an effect in most commercial software like Photoshop etc. Here, in this course using an open-source library in OpenCV, we will create such an effect by coding in Python.

What will you learn?

· Non-Photo Realistic Effect in OpenCV

· Pencil Sketch

· K Means Clustering in OpenCV

· Cartoon Paint using Bilateral Filter.

· Ipython Widgets for Hyperparameter Tuning.


In this class, we will develop two projects.

Project -1: Pencil Sketch & Tuning using Widgets

For any given image we will convert that into a perfect pencil sketch in Python. To develop this, we will use the following filter.

1. Gaussian Blur

2. Division Image

3. Gamma Correction

Here you will learn the use of these filters and how to apply them to any image. We will also create widgets. Using widgets, we will tune the hyperparameters for the best-desired pencil sketch.

Project - 2: Photo to Cartoon Photo

For any given image we will convert that into a perfect pencil sketch in Python. Just like a pencil sketch, we will create using multiple filters. The cartoon image is an extension of the pencil sketch. Here for a pencil sketch, we will segment the portion and paint it with appropriate colors using k means clustering. Finally, we will apply a Bilateral filter to get desired cartoon image. The following flow we will use to create a cartoon images.

1. Edge Mask image (pencil sketch)

2. Image Segmentation using K means Clustering.

3. Bilateral Filter.

We will also create the widgets to tune the hyperparameter to get the desired result. This is the perfect project to start your journey towards image processing.

We will see you in the class on how to develop this from scratch.


Apply non photo realistic effect to the image like, pencil and cartoon in Python using, OpenCV, matplotlib, ipywidgets.

Url: View Details

What you will learn
  • Pencil Sketch Image
  • Image to Cartoon Image
  • Gaussian Blur, Median Blur

Rating: 4.2

Level: Beginner Level

Duration: 1 hour

Instructor: Data Science Anywhere


Courses By:   0-9  A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z 

About US

The display of third-party trademarks and trade names on this site does not necessarily indicate any affiliation or endorsement of hugecourses.com.


© 2021 hugecourses.com. All rights reserved.
View Sitemap