There are two ways: one is to use OpenCV function cv2.threshold(), ... lena. You can binarize an image with cv2.threshold() . OpenCV: ...
確定! 回上一頁