Here is my code,
import cv2
q = cv2.imread(‘mm.PNG’); (R,G,B) = cv2.split(q);
I am sure it is right this time.