I’m loading in a color image in Python OpenCV and plotting the same. However, the image I get has it’s colors all mixed up.
Here is the code:
import numpy as np
from numpy import array, arange, uint8
from matplotlib import pyplot as plt
img = cv2.imread(‘lena_caption.png’, cv2.IMREAD_COLOR)
bw_img = cv2.cvtColor(img, cv2.COLOR_BGR2G….