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