In this video on OpenCV Python Tutorial For Beginners, I am going to show How to Read, Write, Show Images in OpenCV. we will se how to use cv2.imread('elon.jpg', -1) to read and image, cv2.imshow('image', img) to show an image in a window,
cv2.waitKey(0) to wait for a key event, cv2.destroyAllWindows() to destroy all windows, cv2.imwrite('elon.jpg', img) to write images to file.