Tutorialspoint

April Learning Carnival is here, Use code FEST10 for an extra 10% off

OpenCV Starter Project - Pencil Sketch and Cartoon Paint

person icon Srikanth Guskra

4.6

OpenCV Starter Project - Pencil Sketch and Cartoon Paint

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

updated on icon Updated on Apr, 2024

language icon Language - English

person icon Srikanth Guskra

English [CC]

category icon Development,Software Development Tools

Lectures -12

Duration -46 mins

4.6

price-loader

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course Description

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.

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.

Goals

What will you learn in this course:

  • Pencil Sketch Image

  • Image to Cartoon Image

  • Gaussian Blur, Median Blur

  • Bilateral Filter

  • Edge Preserving Filter, Detail Enhance Filter

  • Image Processing with OpenCV

  • Ipython Widgets

Prerequisites

What are the prerequisites for this course?

  • Basic Python Knowledge

OpenCV Starter Project - Pencil Sketch and Cartoon Paint

Curriculum

Check out the detailed breakdown of what’s inside the course

Introduction
3 Lectures
  • play icon Introduction 02:56 02:56
  • play icon Edge Preserving Filter 09:06 09:06
  • play icon Detail Enhance Filter 04:34 04:34
Project -1 : Pencil Sketch
5 Lectures
Tutorialspoint
Project -2: Cartoon Sketch
4 Lectures
Tutorialspoint

Instructor Details

Srikanth Guskra

Srikanth Guskra

e


Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Feedbacks

R

Riccardo

e

Sorry, but this video is the same of previous one, "Gamma Correction". Maybe you have to check the url on your platform, which links to the same video, instead of the correct one, thank you.

I

Ibrahim kalil TOURE

e

Just great, thanks a lot.

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515