Python CV2 konwertuje obraz na binarny

(thresh, im_bw) = cv2.threshold(im_gray, 128, 255, cv2.THRESH_BINARY | cv2.THRESH_OTSU)
Jittery Jellyfish