img = cv2.imread('/path_to_image/opencv-logo.png',0) # reads image 'opencv-logo.png' as grayscale. 7. plt.imshow(img, cmap='gray').
確定! 回上一頁