



You can see the original image and output image after each image processing step.
First is the original image we gave as input, second one is the image after BGR to Gray Conversion, third is the image after smoothening and last is the desired cartoonified image.
Now you can start playing around with the codes to create your own cartoony image. This is the magic of OpenCV which let us to cartoonify the image. Besides adjusting the value in parameters that we used above, you can also add another function from OpenCV to give special effects to your photos.