BGR zu RGB OpenCV
img = cv2.cvtColor(img, cv2.COLOR_RGB2BGR)
Smoggy Scarab
img = cv2.cvtColor(img, cv2.COLOR_RGB2BGR)
im_rgb = cv2.cvtColor(im_cv, cv2.COLOR_BGR2RGB)
import cv2
img = cv2.cvtColor(cv2.imread("img.jpg"), cv2.COLOR_BGR2RGB) # Converts to RGB
import cv2
#read image
img = cv2.imread('D:/image-1.png')
#print its shape
print('Image Dimensions :', img.shape)