print(img.shape) #顯示該numpy的陣列大小(長,寬,圖片的chnnel) cv2.imshow('My Image', ... cv2.destroyWindow('My Image') # 關閉'My Image' 視窗 ...
確定! 回上一頁