cv2.imread cv2.imread(fileName, flag) filename: The path to the image file. flag: The flag specifies the way how the image should be read, there are 3 options. - cv2.IMREAD_COLOR – It specifies to load a color image. Any transparency of image will be neglected, default. Alternatively, we can pass integer value 1. - cv2.IMREAD_GRAYSCALE – It specifies to load an image in grayscale mode. Alternati..