Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 618 Bytes

File metadata and controls

33 lines (22 loc) · 618 Bytes

Image-to-Sketch CLI

A basic cli script using opencv for generating sketch of an image! (Uses click for CLI)

(And I know the documentation is longer than the actual code 🤣🤣🤣)

python3 -m venv venv
source ./venv/bin/activate

pip3 install -r requirements.txt
python3 main.py --image <image_path> --output <output_path>

For help:

python3 main.py --help
  • You'll be prompted for <image_path> if not mentioned!
  • Output file defaults to sketch.jpg!

Demo

For Windows users:

You might have to install colorama for text colors.

pip3 install colorama