Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 345 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 345 Bytes

To convert an image to grayscale using Python, you can follow these steps:

Install the OpenCV library: pip install opencv-python

Explanation of code execution: 1.Read the image by file name and it's type (i.e png,jpg...) 2.Convert the image to grayscale 3.Save the image with another name and extension 4.destroy the code window opened