convert to rgb cv2 code example Example: cv2 convert to rgb im_rgb = cv2.cvtColor(im_cv, cv2.COLOR_BGR2RGB)