pyBegin / projects / sketchifyme
🖼️

SketchifyMe

Seamlessly convert your images into pencil-sketch renditions, facilitating the effortless creation of your sketches.

28 lines🖥 Desktop only

SketchifyMe

Seamlessly convert your images into pencil-sketch renditions, facilitating the effortless creation of your sketches.

Example

  1. Open image_to_sketch.py and set image = "photo.jpg" (replace with your image path).
  2. Run python image_to_sketch.py.
  3. A window titled "Pencil Sketch" opens displaying the grayscale pencil-sketch version of the image.
  4. Press any key to close the window.
  5. The sketch is saved as sketch_ofphoto.jpg in the same directory and Saved the Sketch! is printed.

How to run on localhost

pip install opencv-python numpy
python image_to_sketch.py

Dependencies

opencv-python (cv2), numpy