gray to bgr cv2 code example Example: bgr to gray opencv gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)