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