pycharmers.cli.cvPencilSketch module¶
-
pycharmers.cli.cvPencilSketch.
cvPencilSketch
(argv=['-M', 'html', '.', '_build'])[source]¶ Convert the image like a pencil drawing.
Convert to Gray Scale.
Blur (Using Median Blur
cv2.medianBlur
)Laplacian (
cv2.Laplacian
)Binarization.
Morphological Transformations.
- Parameters
path (str) – Path to image.
Note
When you run from the command line, execute as follows:
$ cv-pencil-sketch --path path/to/sample.png
Sample