
How to convert an image to a sketch using Python and the OpenCV (cv2) module! Transform any picture!
This video covers everything you need to learn how to use the OpenCV (computer visuals) python module, also identified as cv2.
We start by covering using pip to install the module, followed by importing cv2. Then we show how to load in the image, create a window of both varied and fixed window size, and then display our image in the window.
Then we start transforming our photo, first to grayscale, then to a negative/inverted copy, then we blur it and invert it back, and finally use the divide tool to scale the photo giving it the final 'sketched' effect!
There are tons of useful tools inside of OpenCV so if you want to see more projects like this just let me know about it in the comments below! If you found this fun, useful or cool please leave a like on the video and subscribe to the channel!
Thank you so much for the support and good luck with your code!!
