Sketch is another artistict special effect present in Wand library in python. sketch() function generates a pencil sketched image in output.For best results, radius value should be larger than sigma.
wand.image.sketch( radius, sigma, angle)
# radius should always be greater than sigma(standard deviation)
Parameter Input Type Description radius numbers.Real Size of Gaussian apperture. sigma numbers.Real standard deviation of the Gaussian operator. angle numbers.Real direction of blur.
Example #2: To get the best result transform image to grayscale image
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course