Open eravallirao opened 5 years ago
there is no difference in reading the image(cv2.imread). the only difference is that the color channels are flipped(from BGR to RGB) using [:, :, ::-1]. cv2 by default reads images in BGR order, so the image is explicitly converted to RGB above after cv2.imread.
Oh, thank you for that @mailcorahul
im = cv2.imread(im_fn)[:, :, ::-1] Can someone explain the difference between the normal imread function to the above one ?