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