cv2 opening an image in grayscale code example Example: save an image in python as grayscale cv2 cv2.imwrite('data/dst/lena_opencv_red.jpg', im)