Skip to main content

Command Palette

Search for a command to run...

Computer Vision: Reading, Writing and showing the Image.

Updated
1 min read

First, we need to Read the image, write the image and show the image in OpenCV.

cv2.imread("") - command used for reading the image

cv2_imshow() - used to show the image

cv2.destroyAllWindows - used for clearing the windows.

We are using the simple example of lena image.

Now we need to write the image for that we are using the command cv2.imwrite command.

Thanks for Reading,

Moahammed Muqafamuddin.