cv2.imread之中有兩個參數,分別是cv2.imread(filename, flags=None,)。 ... as np import cv2 #以黑白圖像讀取 img = cv2.imread('image.png', 0).
確定! 回上一頁