... 圖片的numpy陣列,Opencv 的格式為Height x Width x Chanel。通道順序為BGR。cv2.waitKey(0)表案件後0秒執行 import cv2 image = cv2.imread('D:\pics\lena.jpg')
確定! 回上一頁