Skip to content

Files

Latest commit

 

History

History

ImageToSketch

Converting Images to Sketch

Menu driven script- takes either the path of the image from the user or captures the image using webcam as per the user preference. The image is then converted to sketch and output can be found in the sketches folder.

Modules used

  • os
  • opencv
  • datetime

How to run this Python Script?

  1. pip install opencv-python
  2. pip install os
  3. pip install datetime
  4. Change the path in the script according to your system.
  5. run the python script
  6. Enter the number according to your preference
  7. Enter the path or the filename as asked.
  8. For the final product go to /sketches//(final).png

Images

  • Hulk sketch
  • Hulk folder