Skip to content

Latest commit

 

History

History
 
 

Image 2 Pencil Sketch

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Description:

Here is Python Script which converts an image to sketch.

opencv2: OpenCV is a library of programming functions mainly aimed at real-time computer vision.

  • pip install opencv-python
  • import cv2
  • use .cv2color function to convert image color
  • use .GaussianBlur function to make the image smooth and remove blur effect
  • use .imwrite function and save image as specified name

Sample Input:

Sample Output:

For any queries please contact?