Skip to main content

DMCA

Digital Millennium Copyright Act

In the event that we have added some substance that have a place with you or your association accidentally, We are upset for that and We apologize for that. In the event that you are legitimate proprietor of the substance utilized in our Website, Please mail us with your Name, Organization Name, Contact Details, Copyright encroaching URL and Copyright Proof (URL or Legal Document) at cosmictechieofficial@gmail.com.

I guarantee you that, I will expel the encroaching substance Within 48 Hours.

Popular posts from this blog

Image to Pencil Sketch using Python and OpenCV

In this post, we will go through a program to get a pencil sketch from an image using python and OpenCV.  Step 1:  To use OpenCV, import the library. Step 2: Read the Image. Step 3: Create a new image by converting the original image to grayscale. Step 4: Invert the grayscale image. We can invert images simply by subtracting from 255, as grayscale images are 8 bit images or have a maximum of 256 tones. Step 5: Blur the inverted image using GaussianBlur  method in OpenCV library and invert the blurred image.  Step 6: Divide the grayscale values of the image by the values of image received from step-5 ( Note: We inverted the grayscale image and we blurred this image and then again inverted it ). Diving an image from its smoothened form will highlight the edges and we get the image like Pencil Sketch. Steps Illustration: Code: Execution Output: