Welcome On Coding Brain
In this video we are going to create Cartoonify an Image with OpenCV in Python
Before staring with the tutorial we need to know what is Computer Vision. Computer Vision as you know (or even if you don’t) is a very powerful tool with immense possibilities. So, when I set up to prepare a comic of one of my friend’s college life, I soon realized that I needed something that would reduce my efforts of actually painting it but will retain the quality and I came up with the following solution.
library
pip install opencv-python
pip install numpy
Step
Basically, we are going to use a series of filters and image conversions.
1.First we downscale the image and then apply bilateral filter to get a cartoon flavor. Then again we upscale the image.
2.Next step is getting a blurred version of the original image. Now, we don’t want the colors to interfere in this process. We only want the blurring of the boundaries. For this, we first convert the image to gray – scale and then we apply the media blur filter.
3.Next step is to identify the edges in the image and then add this to the previously modified images to get a sketch pen effect. For this first we are using adaptive threshold. You can experiment with other types of threshold techniques also. Because Computer Vision is all about experimenting.
In step 5, we compile the final images obtained from the previous steps.
Subscribe if You Like This Video
Problem Solved in Video:-
Cartoonify an Image with OpenCV in Python
image to cartoon
convert images to painting image or sketch image
Sketch image using python
cartoon effect on images using opencv in python
Paint image using python
how to create a cartoon effect - opencv with python
Cartoonify photos using python
normal photo to cartoon image
cartoon photo
Create Cartoon In Python
Python Project in Hindi cartoon image using python and opencv
#python #machinelearning #opencv #cv2 #computerscience #computervision #numpy #pythontutorial #basicpython #cv
#codingbrain #CodingBrain
#CartoonEffectonImageusingOpenCV