First time here? Check out the FAQ!
answered 2017-09-11 00:21:04 -0600
I found an answer here link
b,g,r = cv2.split(img[x,y])
or
b,g,r,a=cv2.split(img[x,y])
Since there's a warning about using split here link
numpy array has been mentioned as a good alternative
if img[98,68][1]==255 :
0=Blue, 1=Green and 2=Red