/Pencil-Sketch

Converts regular RGB images into Pencil-sketch.

Primary LanguagePython

Pencil - Sketch (Black & White)

An image is basically an array of numbers to Python. A basic program that uses computer vision techniques to convert any RGB image to a Black & White pencil sketch.

Steps:

  1. Reading the Image.
  2. Converting the image to greyscale.
  3. Obtaining a negative of the Image.
  4. Applying the Gaussian blur.
  5. Blending the grayscale image with the blurred negative.
  6. Obtaining the desired output Image.

Example:

Original Image:

Greyscale Image:

Negative Blur Image:

Pencil Sketch: