In today’s era, we are surrounded by different types of photo manipulating  filters in our mobile phones, apps…etc. But do you know how they do these images manipulations……? In the backend, they are using  computer vision techniques. Computer vision has a wide variety of applications not only to reduce the human effort but also used for entertainment apps. Many photo editing apps like  FaceApp, Instagram filters…etc are using computer vision techniques.

In this article, we will try to convert a normal photo into a pencil sketch using computer vision in a  python programming language. In this article, we will show how to convert an image into its corresponding pencil sketch in a few steps.

Step-1: Importing required libraries
from google.colab.patches import cv2_imshow

import cv2

If you are implementing this program in Google Colab, you need to import cv2_imshow from google.colab.patches

#image processing #python

Converting Image Into A Pencil Sketch in Python
75.10 GEEK