python 圖片去水印

import cv2 import numpy as np path = "test2.jpg" img = cv2.imread(path) height, width, depth = img.shape[0:3] # 圖片二值化處理,把[240, 240, 240]~[255, 255, 255]之外的顏色變成0 thresh = cv2.inRange(img, np.array([245
相關文章
相關標籤/搜索