I was trying to check on what data was actually being read in via cv2.imread() but whenever I do so I get a full grey screen. I should be getting a rainbow image instead.
def detect_pixels():
txt_parts = {}
path = r'C:\Users\Singh\Documents\jpgtotxt\rainbow.jpg'
BRG = cv2.imread(path)
cv2.imshow('BRG', BRG)
time.sleep(3)