pyBegin / projects / image-sketcher
📷

Image Sketcher

An OpenCV demo that captures live webcam frames and renders them as a pencil-sketch effect using grayscale conversion, Gaussian blur, and Canny edg…

21 lines🖥 Desktop only

Image Sketcher

An OpenCV demo that captures live webcam frames and renders them as a pencil-sketch effect using grayscale conversion, Gaussian blur, and Canny edge detection.

Example

  1. Run python main.py with a webcam connected.
  2. A window titled "Output" opens showing your live webcam feed rendered as a pencil-sketch effect (grayscale edges on a white background).
  3. Press Enter to close the window and stop the program.

How to run on localhost

pip install opencv-python numpy
python main.py

Dependencies