Skip to content

A python code that uses the OpenCV and Numpy library to convert an image to a pencil sketch. Matrix division and gradient calculation is used to form the final pencil sketch image.

License

Notifications You must be signed in to change notification settings

roboticsbytk/PencilSketchMethod

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PencilSketchMethod

A python code that uses the OpenCV and Numpy library to convert an image to a pencil sketch. Matrix division and gradient calculation is used to form the final pencil sketch image.

Jupyter Notebook

Launch the Jupyter Notebook and run this Pencil_Sketchmethod.ipynb file

Running your own images

Add the images in the same file path as your notebook file. Change the file variable's text.

file='images\cat.jpg'

About

A python code that uses the OpenCV and Numpy library to convert an image to a pencil sketch. Matrix division and gradient calculation is used to form the final pencil sketch image.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%