Converting Image to Pencil Sketch using Python | Atom | OpenCV | Python

Опубликовано: 01 Январь 1970
на канале: Libertunez Studio
168
9

Convert Image to a Pencil Sketch using Python

Code available in GitHub:
GitHub link : https://github.com/LatchuBright1402/I...

This is going to be interesting. We will be writing the code step by step with the explanation.

We will use the OpenCV library for this project. Install it using pip install opencv-python command.

Step 1: Find an image that you want to convert to a pencil sketch.

Step 2: Read the image in RBG format and then convert it to a grayscale image. Now, the image is turned into a classic black and white photo.

Step 3: Invert the grayscale image also called the negative image, this will be our inverted grayscale image. Inversion is basically used to enhance details.

Step 4: Finally create the pencil sketch by mixing the grayscale image with the inverted blurry image. This is done by dividing the grayscale image by the inverted blurry image.

importFollow Latchu on 👇🏻
instagram :   / latchu_s_b_official  
twitter :   / latchu_s_b  
facebook :   / lakshmana.prakashsb.9  
linkedIn :   / lakshmanaprakash-s-b-6b6b62150  


Also Subscribe👇🏻
Libertunez Studio :    • Baby Don't Let Me Go Video song | Har...  

#opencv #python #atom #imageprocessing


На этой странице сайта вы можете посмотреть видео онлайн Converting Image to Pencil Sketch using Python | Atom | OpenCV | Python длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Libertunez Studio 01 Январь 1970, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 168 раз и оно понравилось 9 зрителям. Приятного просмотра!