DEV Community

El Bruno for Microsoft Azure

Posted on • Originally published at elbruno.com on

#OpenCV – How to add a Pencil Sketch effect to an image 🖼️ using Python 🐍

Hi !

Super quick post today with a cool scenario to support my TikTok videos in Spanish (I know 😀):

How to add a pencil sketch effect to an image using python and opencv

Here is the output with an original photo from my office and a new image with the pencil sketch effect:

add pencil sketch effect to an image

Sample code:

Happy coding!

Greetings

El Bruno


OpenCV and Python

Top comments (0)