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