Coders Packet

Pencil sketch live filter using OpenCV in Python

By Sanjay R

In this project, I have used Python OpenCV to create a pencil sketch filter that applies to our live webcam feed.

In this project, I have used Python-OpenCV a computer vision library to apply a filter that changes our live webcam feed into a pencil sketch and it works in real-time. 

This program takes in our live webcam feed and reads the feed every millisecond and applies the filter onto the image with some handy features presented by OpenCV-Library. And then we are going to display the resulting video by looping the images every millisecond.

This is a live webcam feed.

Output image

Download Complete Code

Comments

No comments yet