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