Konwertuj obraz na szarość opencv
img_gray_mode = cv2.imread(path, cv2.IMREAD_GRAYSCALE)
Creepy Cormorant
img_gray_mode = cv2.imread(path, cv2.IMREAD_GRAYSCALE)
cv::Mat img
cv::cvtColor(img, img, CV_BGR2GRAY);