You are on page 1of 15

CARTOONIFY

YOUR IMAGE

Submitted by – Aadhar Jain


BTech CS-AIML (5th sem)
Q-Id : 20030127
We aim to transform images into its cartoon. Yes, we
will CARTOONIFY the images. Thus, we will build
a python application that will transform an image
into its cartoon using OpenCV.
We aim to build an application which
looks like:
    How is an image stored?

Imread is a method in cv2 which is used to store images in the


form of numbers. This helps us to perform operations according
to our needs. The image is read as a numpy array, in which cell
values depict R, G, and B values of a pixel.
Step 1

Transforming an
image to grayscale
Step 2

Smoothening a
grayscale image
Step 3

Retrieving the
edges of an image
Step 4

Preparing a
Mask Image
Step 5

Giving a
Cartoon Effect
Step 6

Plotting all the


transitions
together
Making a window and adding a
CARTOONIFY button in it.

Final Making the save button

Steps
All the windows are prepared
in a container using the Tkinter
MODULE of Python.
As soon as the
image
transformation is
done. It gives an
option to the user to
save cartoonified
image.
The Final
Result :-
SUMMARY
We have successfully developed Image
Cartoonifier with OpenCV in Python.
THANK
YOU

You might also like