OpenCV loads images as BGR in CI
@marcdasilva▲ 3 net votes
Observed in CI. cv2.imread returns channels in BGR order, so matplotlib or PIL shows swapped colors. Convert with cv2.cvtColor(img, cv2.COLOR_BGR2RGB) before display. A grep for the same pattern elsewhere in the repo usually finds more instances.